Fwd: prepare scripts should be abolished
Forwarding this mail to Debian Devel Games as is the proper place to
discuss this topic.
---------- Forwarded message ----------
From: Eddy Petrişor <eddy.petrisor@gmail.com>
Date: Jun 14, 2006 11:02 AM
Subject: Re: prepare scripts should be abolished
To: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
On 6/14/06, Eddy Petrişor <eddy.petrisor@gmail.com> wrote:
Hello all,
During the weekend I have looked more thouroughly over the
svn-buildpackage man page to see if prepare scripts could be ditched.
It seems they can :-)
All is needed is to add the line containing "origDir =
some/path/to/orig/tarballs" in the .svn/deb-layout file under the
trunk folder. (There is also ~/.svn-buildpackage.conf and, iirc,
/etc/svn-buildpackage.conf)
Indeed the paths can be only local paths, so the prepare scripts'
purpose would be just to populate the some/path/to/orig/tarballs
directory.
Heh, probably prepare could be converted into a smart script that
downloads orig.tar.gz files if they are missing and call that in the
pre-build-action. I haven't tested it yet, but this seems the right
thing.
Just discovered svn-buildpackage.actions.config:
# something to do after/before tagging. The shell executing it gets the
# environment variables: TAG_VERSION and PACKAGE
post-tag-action = ~/bin/sync_to_cvs
#pre-tag-action =
pre-build-action = ~/do/some/nasty/things
post-build-action = ~/do/other/things
It would be nice if the deb-layout file would be embedded as a svn
property and svn-buildpackage would read it... (I will fill a bug) and
if there would be a URL property for the upstream (not sure if
deb-layout could already contain such a field).
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Reply to: