Hi, I migrated the altree package from SVN to Git[1]. I tried to adapt the suggested template for watch files to Gitlab to the gitlab instance running at inria.fr:
$ cat debian/watch version=4 opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/ALTree-$1\.tar\.gz/g \ https://gitlab.inria.fr/NGS/ALTree/tags repository/v@ANY_VERSION@/.*archive\.tar\.gz # https://gitlab.inria.fr/NGS/ALTree/repository/v1.3.1/archive.tar.gz (The comment contains the real download link.) Unfortunately the watch file does not find anything: $ uscan --verbose uscan info: uscan (version 2.17.10) See uscan(1) for help uscan info: Scan watch files in . uscan info: Check debian/watch and debian/changelog in . uscan info: package="altree" version="1.3.1-5" (as seen in debian/changelog) uscan info: package="altree" version="1.3.1" (no epoch/revision) uscan info: Check debian/watch and debian/changelog in ./.git/logs/refs/remotes/origin uscan info: Check debian/watch and debian/changelog in ./.git/logs/refs/heads uscan info: Check debian/watch and debian/changelog in ./.git/refs/remotes/origin uscan info: Check debian/watch and debian/changelog in ./.git/refs/heads uscan info: ./debian/changelog sets package="altree" version="1.3.1" uscan info: Process ./debian/watch (package=altree version=1.3.1) uscan info: opts: filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/ALTree-$1\.tar\.gz/g uscan info: line: https://gitlab.inria.fr/NGS/ALTree/tags repository/v[-_]?(\d[\-+\.:\~\da-zA-Z]*)/.*archive\.tar\.gz uscan info: Parsing filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/ALTree-$1\.tar\.gz/g uscan info: line: https://gitlab.inria.fr/NGS/ALTree/tags repository/v[-_]?(\d[\-+\.:\~\da-zA-Z]*)/.*archive\.tar\.gz uscan info: Last orig.tar.* tarball version (from debian/changelog): 1.3.1 uscan info: Last orig.tar.* tarball version (dversionmangled): 1.3.1 uscan info: Requesting URL: https://gitlab.inria.fr/NGS/ALTree/tags uscan info: Matching pattern: (?:(?:https://gitlab.inria.fr)?\/NGS\/ALTree\/tags)?repository/v[-_]?(\d[\-+\.:\~\da-zA-Z]*)/.*archive\.tar\.gz uscan warn: In debian/watch no matching files for watch line https://gitlab.inria.fr/NGS/ALTree/tags repository/v[-_]?(\d[\-+\.:\~\da-zA-Z]*)/.*archive\.tar\.gz uscan info: Scan finished Any hint how to fix this? Kind regards Andreas. On Thu, Oct 05, 2017 at 10:05:09PM +0200, Vincent Danjean wrote: > >>> I think it will be better for the future to look on this my location : > >>> https://gitlab.inria.fr/NGS/ALTree/tags > >> > >> There seem to be no tags yet. > > > > I checked again. Could you pretty please set a tag to enable me fixing > > the watch file. I intend to move the packaging from SVN to Git and fix > > this kind of issues. > > Sorry. It seems it was a permission problem on the repo. Can you check > the tags are now visible? [1] https://anonscm.debian.org/git/debian-med/altree.git -- http://fam-tille.de

