On 02/09/15 10:57 PM, Dmitry Smirnov wrote: > On Wednesday 02 September 2015 22:42:27 Alexandre Viau wrote: >> On 02/09/15 10:35 PM, Dmitry Smirnov wrote: >>> Why not use something like this: >>> http://anonscm.debian.org/cgit/pkg-go/packages/golang-gogoprotobuf.gi >>> t/commit/?id=f70e004c >> Are you talking about the filenamemangle? It tells uscan to rename the >> tarball properly. > > Isn't that what uscan's "--rename" argument does? Probably `origtargz` does > not need it either. I don't use "filenamemangle" for GitHub and I've never > had any problems without it... > > Actually I'm talking about the whole thing, including use of "/tags" instead > of "/releases" etc...
Looks like /tags contains more than /releases. I'm not sure if one is better than the other. This is somewhat documented here: - https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository >> Otherwise, the name of the tarball would be "v1.0.0.tar.gz". Which is >> not very verbose. > > Not sure about it althought it could be because I have > > USCAN_SYMLINK="rename" > > in "~/.devscripts"... Anyway "sepwatch" repo does not use "filenamemangle" > for GitHub. I have tested. The tarball is named "v1.0.0.tar.gz" and a symlink is created. Looks like both solutions work fine. Simpler is always better. I have removed the filenamemangle and pushed a new version of the watch file. Thanks :) -- Alexandre Viau alexan...@alexandreviau.net
signature.asc
Description: OpenPGP digital signature