Shriram,

I am neither a uscan nor a regex expert, but when I was trying to troubleshoot 
problems with uscan for the upcoming fonts-adobe-sanssource3 package I found 
`uscan -vv` to be very helpful as it displays on the screen how it is 
attempting to process the page it is scraping.

On Sunday, March 24, 2024 11:27:19 PM MST 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;:&quo
> t;/saalen/highlight/-/archive/4.11/highlight-4.11.zip&quot;},
{&quot;text&quot;
> :&quot;tar.gz&quot;,&quot;path&quot;:&quot;/saalen/highlight/-/archive/4.11/
hi
> ghlight-4.11.tar.gz&quot;},
{&quot;text&quot;:&quot;tar.bz2&quot;,&quot;path&qu
> ot;:&quot;/saalen/highlight/-/archive/4.11/highlight-4.11.tar.bz2&quot;},
{&quo
> t;text&quot;:&quot;tar&quot;,&quot;path&quot;:&quot;/saalen/highlight/-/
archiv
> e/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?
> 
> Regards,
> 
> -- 
> Shriram Ravindranathan
> 


-- 
Soren Stoutner
so...@debian.org

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

Reply via email to