r754 - in /trunk/boinc-app-seti/debian: changelog rules
Frank S. Thomas
frank at thomas-alfeld.de
Wed Nov 21 19:14:47 UTC 2007
On Wednesday 21 November 2007, smoe-guest at users.alioth.debian.org wrote:
> Author: smoe-guest
> Date: Wed Nov 21 10:55:31 2007
> New Revision: 754
> URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=754
> Download now attempts nigly of today first and yesterday's when the first
> attempt failed. Inspection of local folders to decide for target directory
> of download.
http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules says that
the get-orig-source target should place the tarball in the same directory
where the target was invoked. If we provide this target, even if it is
optional, we should follow the Debian Policy.
If you want the downloaded tarball to be placed in an other directory, I'd
suggest to factor out the code for this into another target which itself
invokes get-orig-source and then takes care of placing the downloaded tarball
in the target directory.
> ... if only the changelog was adapted for the latest release.
dch could help you out here, it's a great tool.
> + bc=`which bc`; if [ -z "$$bc" ]; then echo "bc needs to be
> installed for the retrieval of yesterday's release."; exit -1; fi; \ +
> dd=`date +%d` ; d=`echo $$dd-1|bc`; ddd=`date +%Y-%m|tr -d '\n'`-$$d; \
Why didn't you reused my code:
ddd=`date -d yesterday +%Y-%m-%d | tr -d '\n'`
This should accomplish the same as the two lines above and has the advantage
that it does not require bc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20071121/2e09e234/attachment.pgp
More information about the pkg-boinc-devel