[csw-devel] SF.net SVN: gar:[15993] csw/mgar/gar/v2/lib/python/package_checks.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Oct 26 00:33:22 CEST 2011
Revision: 15993
http://gar.svn.sourceforge.net/gar/?rev=15993&view=rev
Author: wahwah
Date: 2011-10-25 22:33:22 +0000 (Tue, 25 Oct 2011)
Log Message:
-----------
checkpkg: Add a helpful message to wrong-docdir
http://sourceforge.net/apps/trac/gar/ticket/59
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 2011-10-25 21:28:39 UTC (rev 15992)
+++ csw/mgar/gar/v2/lib/python/package_checks.py 2011-10-25 22:33:22 UTC (rev 15993)
@@ -1222,6 +1222,10 @@
m = docpath_re.match(pkgmap_entry["path"])
if m:
if m.groupdict()["docname"] != pkg_data["basic_stats"]["catalogname"]:
+ msg = ("The package contains a docdir which doesn't match its "
+ "catalog name. To fix, repeat the merge state (mgar remerge "
+ "repackage).")
+ error_mgr.Message(msg)
error_mgr.ReportError(
"wrong-docdir",
"expected=/opt/csw/shared/doc/%s/... "
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