jhbuild r1870 - in trunk: . jhbuild jhbuild/commands jhbuild/modtypes



Author: fpeters
Date: Mon Jan 21 13:38:56 2008
New Revision: 1870
URL: http://svn.gnome.org/viewvc/jhbuild?rev=1870&view=rev

Log:
* jhbuild/commands/info.py, jhbuild/modtypes/__init__.py,
jhbuild/moduleset.py: display moduleset name in info command.



Modified:
   trunk/ChangeLog
   trunk/jhbuild/commands/info.py
   trunk/jhbuild/modtypes/__init__.py
   trunk/jhbuild/moduleset.py

Modified: trunk/jhbuild/commands/info.py
==============================================================================
--- trunk/jhbuild/commands/info.py	(original)
+++ trunk/jhbuild/commands/info.py	Mon Jan 21 13:38:56 2008
@@ -59,6 +59,7 @@
         installdate = packagedb.installdate(module.name, module.get_revision() or '')
 
         print 'Name:', module.name
+        print 'Module Set:', module.moduleset_name
         print 'Type:', module.type
 
         if installdate is not None:

Modified: trunk/jhbuild/modtypes/__init__.py
==============================================================================
--- trunk/jhbuild/modtypes/__init__.py	(original)
+++ trunk/jhbuild/modtypes/__init__.py	Mon Jan 21 13:38:56 2008
@@ -123,6 +123,7 @@
         self.after = after
         self.suggests = suggests
         self.tags = []
+        self.moduleset_name = None
 
     def __repr__(self):
         return "<%s '%s'>" % (self.__class__.__name__, self.name)

Modified: trunk/jhbuild/moduleset.py
==============================================================================
--- trunk/jhbuild/moduleset.py	(original)
+++ trunk/jhbuild/moduleset.py	Mon Jan 21 13:38:56 2008
@@ -322,6 +322,7 @@
                     repositories, default_repo)
             if moduleset_name:
                 module.tags.append(moduleset_name)
+            module.moduleset_name = moduleset_name
             moduleset.add(module)
 
     return moduleset



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]