[csw-devel] SF.net SVN: gar:[11412] csw/mgar/gar/v2/lib/python/package.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Oct 26 11:32:48 CEST 2010


Revision: 11412
          http://gar.svn.sourceforge.net/gar/?rev=11412&view=rev
Author:   wahwah
Date:     2010-10-26 09:32:48 +0000 (Tue, 26 Oct 2010)

Log Message:
-----------
mGAR v2: patchpkg, first version that actually does anything, but still has no user interface.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/package.py

Modified: csw/mgar/gar/v2/lib/python/package.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package.py	2010-10-26 09:32:22 UTC (rev 11411)
+++ csw/mgar/gar/v2/lib/python/package.py	2010-10-26 09:32:48 UTC (rev 11412)
@@ -657,4 +657,6 @@
     self.dir_pkg.ToSrv4(target_dir, new_filename)
     # - Update the pkgmap file, setting the checksums
     # - Transform it back to the srv4 form
-    # - gzip it.
+    target_dir, old_path = os.path.split(self.pkg_path)
+    logging.debug("Transforming into %s", new_filename)
+    self.dir_pkg.ToSrv4(target_dir, new_filename)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list