I explained on debian-devel-games@l.d.o that it sounds useful to me to have in the PTS a Version Control box with a browser link, which can be used to point New upstream release submitters to what we are currently doing WRT packaging, as well as the SVN URL to the packaging directory. An example is available for the python-pygraphviz source package.
A
script
is available in SVN to automatically add or update the XS-Vcs-*
fields in one
or several packages.
Typical usage:
# Get the script
svn export svn://svn.debian.org/svn/pkg-games/scripts/trunk/XS-Vcs-fields-update.pl
# Fetch a package, or several packages
# (checkout'ing the whole trunk would be more efficient for many packages, though).
svn co svn+ssh://kibi-guest@svn.debian.org/svn/pkg-games/packages/trunk/sabre
svn co svn+ssh://kibi-guest@svn.debian.org/svn/pkg-games/packages/trunk/xtux
# Add/update the fields, check, document, commit
./XS-Vcs-fields-update.pl sabre xtux
svn diff sabre xtux
editor sabre/debian/changelog xtux/debian/changelog
svn ci -m 'Add XS-Vcs-* fields'
Note that I used an extra svn/
directory (right after the hostname) in the
svn://
link so that a developer only has to replace svn://
by svn+ssh://
to get the right URL.