Re: Using a script to regenerate orig tarball
Package: svn-buildpackage
retitle 458508 Please allow using a script to regenerate an orig tarball
thanks
Hello,
First, I'll reiterate some of the things that need to be said:
- debian/rules can contain a get-orig-source target (that target can
wrap a shell script)
- the debian/rules get-orig-source is meant to get a newer upstream
source, while you're proposing something like a "rebuild orig-source"
target
Taking those into account, I'll refer to this script as the
rebuild-orig script/target.
On 02/01/2008, Andres Mejia <mcitadel@gmail.com> wrote:
> Alright, I've submitted two more patches, one to allow the use of
> options, and one that updates the documentation. Again, feel free to
> improve/criticize the patches at will. http://bugs.debian.org/458508
--svn-override a=b Override some config variable (comma separated list)
+ --svn-use-origurl Download tarball using origUrl instead of debOrigScript
--svn-verbose More verbose program output
There shouldn't be any need to have such an option unless you mean it
like "although svn-bp could find the origUrl referenced, I know it
would be slower than doing what the rebuild-orig target does".
Otherwise, I see the default behaviour should something like: if that
orig targball is missing or the property is not synced with the
changelog file[1] , then the script should be called as a way to get
the missing orig.
[1] which is hard, since the origUrl property could legally link to an
unversioned tarball, or even the upstream one which uses a different
version scheme than a versioning scheme that uses ordered releases -
e.g. upstream uses dates for versions, but in the LSB-first way -
17-03-2008 instead of 2008-03-17
--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
Reply to: