[csw-maintainers] submitpkg in cswutils-1.14.5
Maciej (Matchek) Blizinski
maciej at opencsw.org
Mon Oct 19 01:57:59 CEST 2009
I wrote a utility to automate the step of submitting a package to the
release maintainer. It takes a comma-separated list of package names,
copies the packages from the testing directory to newpkgs and formats
an e-mail with the list of package files.
Usage: submitpkg [options]
Options:
-h, --help show this help message and exit
-p PKGNAMES, --pkgnames=PKGNAMES
A comma-separated list of pkgnames
-d, --debug Print debugging messages
It doesn't send the e-mail. It only formats it and lets the user edit
it. Upon exit, it tells how to send the e-mail (sendmail -t <file>).
submitpkg is configurable. A system-wide configuration file is
accepted: /etc/opt/csw/releases.ini -- the user-specific configuration
file is in ~/.releases.ini. Example configuration:
; A configuration file for the release automation script
[releases]
sender name = Maciej Blizinski
sender email = <email>
release manager name = Phil Brown
release manager email = <email>
release cc = <email>
; Usually it's /home/testing
package dir = /home/testing
target host = bender
target dir = /home/newpkgs
And... yes, it's not GAR-specific. :-)
The source code is here:
https://opencsw.svn.sourceforge.net/svnroot/opencsw/utilities/submit_to_newpkgs.py
Any comments, thoughts or flames?
Maciej
More information about the maintainers
mailing list