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

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Tue Mar 27 00:27:26 CEST 2012


Revision: 17570
          http://gar.svn.sourceforge.net/gar/?rev=17570&view=rev
Author:   wahwah
Date:     2012-03-26 22:27:26 +0000 (Mon, 26 Mar 2012)
Log Message:
-----------
integrate-catalogs: Display version transitions

When tagging version changes, specify the exact version transition.

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

Modified: csw/mgar/gar/v2/lib/python/integrate_catalogs.py
===================================================================
--- csw/mgar/gar/v2/lib/python/integrate_catalogs.py	2012-03-26 22:26:58 UTC (rev 17569)
+++ csw/mgar/gar/v2/lib/python/integrate_catalogs.py	2012-03-26 22:27:26 UTC (rev 17570)
@@ -82,8 +82,11 @@
 upgrade_#
 #end if
 $catalogname#
- # $diffs_by_catalogname[$catalogname]["updated_pkgs"][0][2]["type"]
+ # $diffs_by_catalogname[$catalogname]["updated_pkgs"][0][2]["type"] #
+#if $diffs_by_catalogname[$catalogname]["updated_pkgs"][0][2]["type"] == 'version'
+$diffs_by_catalogname[$catalogname]["updated_pkgs"][0][2]["from"]["version"] to $diffs_by_catalogname[$catalogname]["updated_pkgs"][0][2]["to"]["version"]
 #end if
+#end if
 #end for
 """
 

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