[yum-cvs] yum-utils reposync.py,1.2,1.3

Seth Vidal skvidal at linux.duke.edu
Tue Mar 7 07:14:46 UTC 2006


Update of /home/groups/yum/cvs/yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv28869

Modified Files:
	reposync.py 
Log Message:

reposync todo modification


Index: reposync.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/reposync.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- reposync.py	28 Feb 2006 19:18:07 -0000	1.2
+++ reposync.py	7 Mar 2006 07:14:44 -0000	1.3
@@ -16,13 +16,18 @@
 
 # sync all or the newest packages from a repo to the local path
 # TODO:
-#     have it copy over the metadata + groups files into the path, too
 #     have it print out list of changes
 #     make it work with mirrorlists (silly, really)
-#     man page
-#     more useful docs
+#     man page/more useful docs
 #     deal nicely with a package changing but not changing names (ie: replacement)
 
+# criteria
+# if a package is not the same and smaller then reget it
+# if a package is not the same and larger, delete it and get it again
+# always replace metadata files if they're not the same.
+
+
+
 import os
 import sys
 from optparse import OptionParser




More information about the Yum-cvs-commits mailing list