SF.net SVN: gar:[22266] csw/mgar/gar/v2/lib/python/csw_upload_pkg.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Sun Oct 20 22:20:37 CEST 2013
Revision: 22266
http://gar.svn.sourceforge.net/gar/?rev=22266&view=rev
Author: wahwah
Date: 2013-10-20 20:20:36 +0000 (Sun, 20 Oct 2013)
Log Message:
-----------
csw-upload-pkg: Add a comment about matching pkgs
Modified Paths:
--------------
csw/mgar/gar/v2/lib/python/csw_upload_pkg.py
Modified: csw/mgar/gar/v2/lib/python/csw_upload_pkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/csw_upload_pkg.py 2013-10-20 17:46:47 UTC (rev 22265)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py 2013-10-20 20:20:36 UTC (rev 22266)
@@ -164,6 +164,10 @@
osrel = file_metadata['osrel']
arch = file_metadata['arch']
metadata_by_md5[md5_sum] = file_metadata
+ # TODO(unassigned): The problem is that the assignment can (should) also
+ # depend on other packages in the same batch. This function shouldn't
+ # really take a single package as an argument, but a group of packages.
+ # Or it should not return ready assignments, but weights instead.
catalogs = self._MatchSrv4ToCatalogs(
filename, self.catrel, arch, osrel, md5_sum)
for unused_catrel, cat_arch, cat_osrel in catalogs:
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