[csw-devel] SF.net SVN: gar:[13091] csw/mgar/gar/v2/lib/python/csw_upload_pkg.py
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Tue Jan 25 09:54:23 CET 2011
Revision: 13091
http://gar.svn.sourceforge.net/gar/?rev=13091&view=rev
Author: wahwah
Date: 2011-01-25 08:54:23 +0000 (Tue, 25 Jan 2011)
Log Message:
-----------
csw-upload-pkg: Add more usage information
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 2011-01-24 17:29:04 UTC (rev 13090)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py 2011-01-25 08:54:23 UTC (rev 13091)
@@ -21,8 +21,21 @@
BASE_URL = "http://buildfarm.opencsw.org/releases/"
USAGE = """%prog [ options ] <pkg1> [ <pkg2> [ ... ] ]
-Uploads a set of packages to the unstable catalog in opencsw-future."""
+Uploads a set of packages to the unstable catalog in opencsw-future.
+- When an ARCH=all package is sent, it's added to both sparc and i386 catalogs
+- When a SunOS5.x package is sent, it's added to catalogs SunOS5.x,
+ SunOS5.(x+1), up to SunOS5.11.
+- If a package update is sent, the tool uses catalogname to identify the
+ package it's supposed to replace
+
+The --remove option affects the same catalogs as the regular use, except that
+it removes assignments of a given package to catalogs, instead of adding them.
+
+For more information, see:
+http://wiki.opencsw.org/automated-release-process#toc0
+"""
+
class Error(Exception):
pass
@@ -257,7 +270,8 @@
default=False, action="store_true")
parser.add_option("--remove",
dest="remove",
- default=False, action="store_true")
+ default=False, action="store_true",
+ help="Remove packages from catalogs instead of adding them")
options, args = parser.parse_args()
if options.debug:
logging.basicConfig(level=logging.DEBUG)
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