prepare scripts should be abolished

Eddy Petrişor eddy.petrisor at gmail.com
Wed Jun 14 08:02:32 UTC 2006


On 6/14/06, Eddy Petrişor <eddy.petrisor at 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


More information about the Pkg-games-devel mailing list