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

Re: Need review of my package



Thank you !!

I did it ;).


De: "Stuart Prescott" <stuart@debian.org>
À: "Cyril Richard" <Cyril.Richard@u-bourgogne.fr>
Cc: "debian-science" <debian-science@lists.debian.org>
Envoyé: Dimanche 29 Septembre 2019 10:04:47
Objet: Re: Need review of my package

Hi Cyril

> Many thanks for pointing me out my errors.
> However, the language used by "watch file" is .... very obscur to me.

yes, it's almost like you need to know what uscan's perl is going to do with
it. I'd love to see a simple deb822-style replacement of that syntax.

> version=4
> opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,
> \
> filenamemangle=s/.*\/archive\/(\d\S+)\/@PACKAGE@.*\.tar\.gz/@PACKAGE@-$1\.t
> ar\.gz/g \ https://gitlab.com/lock042/spview/tags?sort=updated_desc
> .*/archive/(\d\S+)/.*\.tar\.gz.*

this second entry looks right if you add a 'v' before the version in the last
line. 'uscan --debug' tells me that the files for download for the tags appear
to be:

https://gitlab.com/lock042/spview/-/archive/v2.0.0-beta1/spview-v2.0.0-beta1.tar.gz

but that regular _expression_ doesn't have the 'v' just before the version
string in the directory. This is because the tags there contain the 'v' --
some git repos do that while others do not. (You'll see on the wiki that some
people like to use "v?" in their regexp as an optional letter v before the tag
to try to help this)

cheers
Stuart


--
Stuart Prescott    http://www.nanonanonano.net/   stuart@nanonanonano.net
Debian Developer   http://www.debian.org/         stuart@debian.org
GPG fingerprint    90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Reply to: