[Uludag-commits] r11950 - trunk/pisi/scripts

svn-uludag at uludag.org.tr svn-uludag at uludag.org.tr
12 Oca 2007 Cum 03:06:17 EET


Author: caglar
Date: Fri Jan 12 03:06:17 2007
New Revision: 11950

Modified:
   trunk/pisi/scripts/repo-diff.py
Log:
yeni api'yi kullan, tag ile fark alma

Modified: trunk/pisi/scripts/repo-diff.py
=================================================================
--- trunk/pisi/scripts/repo-diff.py	(original)
+++ trunk/pisi/scripts/repo-diff.py	Fri Jan 12 03:06:17 2007
@@ -29,7 +29,7 @@
     sources = {}
     for pspec in pspecList:
         specFile = SpecFile(join_path(pspec, "pspec.xml"))
-        sources[specFile.source.name] = (specFile.source.version, specFile.source.release)
+        sources[specFile.source.name] = (specFile.getSourceVersion(), specFile.getSourceRelease())
     return sources
 
 def listIntersection(firstRepo, secondRepo):
@@ -63,22 +63,9 @@
     except IndexError:
         postfix = ""
 
-    tag = getVersion(findPspec(join_path(svnRoot, "tags/pardus-1.0/", postfix)))
-    stable = getVersion(findPspec(join_path(svnRoot,"stable/pardus-1/", postfix)))
+    stable = getVersion(findPspec(join_path(svnRoot,"2007/", postfix)))
     devel = getVersion(findPspec(join_path(svnRoot, "devel/", postfix)))
 
-    print "Tag --> Stable"
-    listIntersection(tag, stable)
-    print
-
-    print "Tag has, Stable hasn't"
-    listComplement(tag, stable)
-    print
-
-    print "Stable has, Tag hasn't"
-    listComplement(stable, tag)
-    print
-
     print "Stable --> Devel"
     listIntersection(stable, devel)
     print


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi