r754 - in /trunk/boinc-app-seti/debian: changelog rules

Steffen Moeller steffen_moeller at gmx.de
Thu Nov 22 10:07:26 UTC 2007


On Wednesday 21 November 2007 20:14:47 Frank S. Thomas wrote:
> On Wednesday 21 November 2007, smoe-guest at users.alioth.debian.org wrote:

> 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.

hm. ok.

> 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.

Multiple targets sound strange. I'll find a different solution. Maybe a 
variable could indicate the destination directory and be set from the 
outside. This is something that should find its way into the policy, 
probably.

> > ... if only the changelog was adapted for the latest release.
>
> dch could help you out here, it's a great tool.

Yip. I use it, too. But there is certainly a policy somewhere that we should 
not fiddle around with the changelog with a call to get-orig-source :o) But 
what we could do is to echo the correct call to dch to the command line. I'll 
do that.

> > +        	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.

I missed that and did not know about that option ... apparently I was reading 
different bits of date(1). Maybe its was an svn-update problem on my side. 
Thank you for pointing it out to me.

Cheers,

Steffen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20071122/da8822d4/attachment.pgp 


More information about the pkg-boinc-devel mailing list