https://wiki.debian.org/debian/watch#Gitlab[1]

"From 2024/03 above solution do not work anymore since Gitlab changed their tag 
ordering. You can use direct API access:”

version=4
opts=\
searchmode=plain,\
   https://gitlab.com/api/v4/projects/PROJECTID/releases 
archive/v?\d[\d.]+/<project>/-v?
([\d.]+)@ARCHIVE_EXT@

Looks like you aren’t the only one with this problem.  ;)

On Tuesday, March 26, 2024 1:05:10 PM MST Sergio Durigan Junior wrote:
> On Monday, March 25 2024, Shriram Ravindranathan wrote:
> > Dear Mentors,
> > 
> > I noticed from the past couple of days, uscan seems to be having trouble
> > finding files from the gitlab tags page.
> > 
> > ```
> > $ uscan
> > uscan warn: In debian/watch no matching files for watch line
> > 
> >   https://gitlab.com/saalen/highlight/tags?sort=updated_desc
> >   .*/archive/(\d\S+)/.*\.tar\.gz.*> 
> > ```
> > 
> > Checking the same pattern with grep shows that it does find a match
> > 
> > ```
> > $ curl -L "https://gitlab.com/saalen/highlight/tags?sort=updated_desc"; |
> > grep -E ".*/archive/([0-9]\S+)/.*\.tar\.gz.*"> 
> >   % Total    % Received % Xferd  Average Speed   Time    Time     Time 
> >   Current
> >   
> >                                  Dload  Upload   Total   Spent    Left 
> >                                  Speed
> > 
> > 100   126  100   126    0     0    287      0 --:--:-- --:--:-- --:--:--  
> > 287> 
> >   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--    
> >   0<div class="js-source-code-dropdown" data-css-class=""
> >   data-download-artifacts="[]"
> >   data-download-links="[{&quot;text&quot;:&quot;zip&quot;,&quot;path&quot;:
> >   &quot;/saalen/highlight/-/archive/4.11/highlight-4.11.zip&quot;},{&quot;te
> >   xt&quot;:&quot;tar.gz&quot;,&quot;path&quot;:&quot;/saalen/highlight/-/arc
> >   hive/4.11/highlight-4.11.tar.gz&quot;},{&quot;text&quot;:&quot;tar.bz2&quo
> >   t;,&quot;path&quot;:&quot;/saalen/highlight/-/archive/4.11/highlight-4.11.
> >   tar.bz2&quot;},{&quot;text&quot;:&quot;tar&quot;,&quot;path&quot;:&quot;/s
> >   aalen/highlight/-/archive/4.11/highlight-4.11.tar&quot;}]"></div>> 
> > 100 85448  100 85448    0     0  51822      0  0:00:01  0:00:01 --:--:-- 
> > 401k ```
> > 
> > It seems like a few other packages are also having similar troubles with
> > uscan, for example lomiri <https://tracker.debian.org/pkg/lomiri>
> > 
> > Is there a way to fix this?
> 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to