[Pkg-zsh-devel] How to proceed with zsh's watch file?

Axel Beckert abe at debian.org
Fri Dec 21 01:51:45 UTC 2012


Hi,

our current watch file looks like this:

version=3
opts=dversionmangle=s/~ds\d+$// \
ftp://ftp.zsh.org/pub/zsh-([\d.]+)\.tar\.bz2

For me, that's a perfectly fine watch file.

Nevertheless Bart Martens (Cc'ed) suggests to use this one:

version=3
opts=dversionmangle=s/~ds\d+$//,uversionmangle=s/-(doc)$/~$1/ \
http://sf.net/zsh/zsh-(\d.*)\.(?:tgz|zip|tar\.(?:gz|bz2|xz))

(from http://qa.debian.org/cgi-bin/watchfile.cgi?package=zsh)

I strongly disagree to drop the zsh.org URL from the watch file and
I'm also a little bit surprised that Bart favours the SourceForge
mirror over upstream's FTP server and drops that one completely.

Additionally I think his uversionmangle is just wrong: zsh-doc
tarballs are nothing which deserves the use of a "~". And they are not
relevant for the Debian package as we generate our documentation from
sources anyway.

I also don't see why we should change from [\d.]+ to \d.* for version
matching. The current rule is stricter. Maybe he changed it to match
the doc tarballs, too, or such.

The only advantage (or disadvantage depending on the point of view) of
the SF mirror is IMHO that PWS usually uploads new release tar balls
to SF only after he made them available for last-minute testing on
ftp.zsh.org, so they show up on the SF mirror network slightly later.
But the difference is usually just hours. E.g. 5.0.1 is already up on
both sites.

So in case we would like to use SF's mirror in addition to the
official archive in the watch file, I suggest to use a watch file like
this:

version=3
opts=dversionmangle=s/~ds\d+$// \
ftp://ftp.zsh.org/pub/zsh-([\d.]+)\.tar\.bz2
opts=dversionmangle=s/~ds\d+$// \
http://sf.net/zsh/zsh-([\d.]+)\.tar\.(?:gz|bz2|xz)

Any opinions or comments?

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the Pkg-zsh-devel mailing list