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

Re: Uscan no longer works with GitLab tags



On Thu, Apr 18, 2024 at 02:43:23AM +0000, Nilson Silva wrote:
> Hey!
> The purpose of this email is to contribute to the recent changes that occurred in Gitlab with its 
> HTML that caused a series of errors in tracking new versions.
> 
> Reading the wiki more specifically at this point:
>  https://wiki.debian.org/debian/watch#GitLab,
>  and trying to apply it to my case, there was no success.
> 
> So, after some research, I came to this result:
> 
> version=4
> opts="searchmode=plain, uversionmangle=s/\.(\d+\.\d+.\d+)//" \
> https://gitlab.com/<user>/<project>/tags?sort=updated_desc -/archive/(\d+.\d+.\d+)/<packege>-(\d+.\d+.\d+).tar .gz
Capturing the version twice and then removing the extra one via
uversionmangle is really wrong (you tried to discuss this on IRC yesterday
but ignored the suggestions).

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: