NAME¶
svn-autoreleasedeb - Automatic Release of debian packages from
DESCRIPTION¶
This script generates and uploads the debian package for svn modules managed by
svn-buildpackage.
svn-autoreleasedeb will maintain a state file of all the packages you want to be
automatically published, and every time you commit the debian/changelog file
of your package, changing the debian version to a greater value, it will be
published.
All the parameters to the script are configured in the conffile. There is no
command-line switch. See
svn-autoreleasedeb.conf(5) for more
information.
USING¶
There are two ways of using this script:
1) Run as user svn-autoreleasedeb in cron. This is very useful for software
houses that want to have the "nightily build" version of the
software published automatically. In this case, the config file will be
"/etc/svn-autoreleasedeb.conf" and it will use
/var/lib/svn-autoreleasedeb/ as scratch dir.
NOTE: edit /etc/default/svn-autoreleasedeb to control this behavior
NOTE 2: all output will be thrown in /var/log/svn-autoreleasedeb/run.log
2) Run as yourself, it will automatizate the work you will have if you have your
packages in SVN. In this case, the config file will be
$HOME/.svn-autoreleasedeb/conf and the scratch dir will be
$HOME/.svn-autoreleasedeb. svn-autoreleasedeb will not create defaults, you
must have the configuration file created before running svn-autoreleasedeb.
See
svn-autoreleasedeb.conf(5).
TODO¶
- Use a snapshot of the time of the commit in
the changelog to checkout the source
- Localize the messages.
- Work with other than all lowercase in conffile.
- Use a better format for conffile.
_EXIT CODES¶
_exit codes:
0 = Clean _exit
1 = Config file not found
2 = No packages in config file
3 = Couldn't open the state file
4 = Couldn't open the state file for writing
5 = Couldn't determine architecture
SEE ALSO¶
svn-buildpackage(1),
svn(1),
svn-autoreleasedeb.conf(5),
dupload(1)
AUTHOR¶
This manual page was written by Daniel Ruoso <daniel@ruoso.com>, for the
Debian GNU/Linux system.