[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Fwd: Cron <nomeata@alioth> PERL5LIB=/home/users/nomeata/pet /home/users/nomeata/pet/fetchdata --conf /home/users/nomeata/pet/pet.conf]


Am Dienstag, den 29.12.2009, 15:42 +0100 schrieb Giovanni Mascellani:
> I think there are some problems with the new watch format:
> tools/pkg-haskell-checkout now fails, because uscan produces a tarball
> with a wrong name (only the upstream version). 

Right. uscan only renames the file to the correct filename if it ends
with .tar.gz. Plus, downloadurlmangle only modifies the URL, but not
what uscan think the filename is. The filename is still assumed to be
1.4.0/ (including the slash! :-).

I tested this fix in haskell-zlib and it works:

Tue Dec 29 16:39:39 CET 2009  Joachim Breitner <mail@joachim-breitner.de>
  * Possible fix for debian/watch problem
diff -rN old-debian/watch new-debian/watch
< opts=downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz| \
> opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,filenamemangle=s|/$|.tar.gz|" \

(And I guess the quotes that I added are not necessary, as I see now)

Marco, ready to do another round of commits?


Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply to: