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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Mon Dec 6 16:38:47 CET 2010


Revision: 11813
          http://gar.svn.sourceforge.net/gar/?rev=11813&view=rev
Author:   dmichelsen
Date:     2010-12-06 15:38:47 +0000 (Mon, 06 Dec 2010)

Log Message:
-----------
mGAR v2: Only license needs to be in the package docdir, not the docs themselves

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

Modified: csw/mgar/gar/v2/lib/python/package_checks.py
===================================================================
--- csw/mgar/gar/v2/lib/python/package_checks.py	2010-12-06 15:26:19 UTC (rev 11812)
+++ csw/mgar/gar/v2/lib/python/package_checks.py	2010-12-06 15:38:47 UTC (rev 11813)
@@ -1196,7 +1196,7 @@
 
 def CheckDocDir(pkg_data, error_mgr, logger, messenger):
   pkgname = pkg_data["basic_stats"]["pkgname"]
-  docpath_re = re.compile(r"/opt/csw/share/doc/(?P<docname>[^/]+)/.*")
+  docpath_re = re.compile(r"/opt/csw/share/doc/(?P<docname>[^/]+)/license")
   for pkgmap_entry in pkg_data["pkgmap"]:
     if "path" not in pkgmap_entry: continue
     if not pkgmap_entry["path"]: continue


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