[csw-devel] SF.net SVN: gar:[11835] csw/mgar/gar/v2/lib/python/package_checks.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Dec 8 00:45:34 CET 2010
Revision: 11835
http://gar.svn.sourceforge.net/gar/?rev=11835&view=rev
Author: wahwah
Date: 2010-12-07 23:45:34 +0000 (Tue, 07 Dec 2010)
Log Message:
-----------
checkpkg: A message for an init file class check
Added a message and a GAR line suggestion for the
init-file-missing-cswinitsmf-class error tag.
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-07 23:30:13 UTC (rev 11834)
+++ csw/mgar/gar/v2/lib/python/package_checks.py 2010-12-07 23:45:34 UTC (rev 11835)
@@ -256,6 +256,12 @@
error_mgr.ReportError(
"init-file-missing-cswinitsmf-class",
"%s class=%s" % (entry["path"], entry["class"]))
+ messenger.Message(
+ "The init file %s in the package has the %s class, while it "
+ "should have the cswinitsmf class, which takes advantage of "
+ "the SMF integration automation from cswclassutils."
+ % (entry["path"], entry["class"]))
+ messenger.SuggestGarLine("INITSMF = %s" % entry["path"])
# This is not an error, in fact, putting files into
# /opt/csw/etc/init.d breaks packages.
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