Bug#985633: warn about watch files that use github and include full refs

2021-03-22 Thread Felix Lechner
Hi Jelmer, On Mon, Mar 22, 2021 at 6:17 AM Jelmer Vernooij wrote: > > the janitor could just get that directly from UDD. That might be better. According to mapreri: > there is a column with uscan errors > that information is actually in the "warnings" column, apparently > udd=> select distinct

Bug#985633: warn about watch files that use github and include full refs

2021-03-22 Thread Jelmer Vernooij
On Sun, Mar 21, 2021 at 09:40:32PM -0700, Felix Lechner wrote: > On Sun, Mar 21, 2021 at 6:30 PM Jelmer Vernooij wrote: > > > > I was hoping that lintian could verify that there is at least > > something after "/archive/" in the matching pattern > Could Lintian-brush or the Janitor do so, when Lin

Bug#985633: warn about watch files that use github and include full refs

2021-03-21 Thread Felix Lechner
Hi Jelmer, On Sun, Mar 21, 2021 at 6:30 PM Jelmer Vernooij wrote: > > I was hoping that lintian could verify that there is at least > something after "/archive/" in the matching pattern Could Lintian-brush or the Janitor do so, when Lintian provides the string? Kind regards Felix Lechner

Bug#985633: warn about watch files that use github and include full refs

2021-03-21 Thread Jelmer Vernooij
On Sun, Mar 21, 2021 at 08:34:58AM +, Gordon Ball wrote: > I started a branch for lintian-brush here: > https://salsa.debian.org/chronitis/lintian-brush/-/tree/github-archive-url > > (using a nonexistant lintian tag, so having a real one would definitely > be a first step). > > However, it tu

Bug#985633: warn about watch files that use github and include full refs

2021-03-21 Thread Jelmer Vernooij
Hi Felix, On Sat, Mar 20, 2021 at 09:44:07PM -0700, Felix Lechner wrote: > On Sat, Mar 20, 2021 at 7:27 PM Jelmer Vernooij wrote: > > > > https://qa.debian.org/cgi-bin/watch?pkg=jupyter-core > > I saw the traffic on IRC where someone suggested we replace > > .*archive/v?([0-9.]*).tar.gz >

Bug#985633: warn about watch files that use github and include full refs

2021-03-21 Thread Gordon Ball
I started a branch for lintian-brush here: https://salsa.debian.org/chronitis/lintian-brush/-/tree/github-archive-url (using a nonexistant lintian tag, so having a real one would definitely be a first step). However, it turned out to be a bit more complex than I first thought (or hoped): * Lots

Bug#985633: warn about watch files that use github and include full refs

2021-03-20 Thread Felix Lechner
Hi Jelmer, On Sat, Mar 20, 2021 at 7:27 PM Jelmer Vernooij wrote: > > https://qa.debian.org/cgi-bin/watch?pkg=jupyter-core I saw the traffic on IRC where someone suggested we replace .*archive/v?([0-9.]*).tar.gz with .*archive/.*/v?([0-9.]*).tar.gz to fix at least 1,500 affected pack

Bug#985633: warn about watch files that use github and include full refs

2021-03-20 Thread Jelmer Vernooij
Package: lintian Version: 2.104.0 Severity: normal Some watch files are now broken because GitHub archive URLs now include the full ref rather than the tag name. It would be great if lintian could warn when this was the case. See e.g. the watch file for jupyter-core: https://qa.debian.org/cgi-b