Hi all,

would something like this pseudo-example this be enough?

```
        # Handl gitlab.com addresses specially
        if ($base
            =~ 
m%^https?://gitlab\.com/[^/\s]+/[^/\s]+/-/tags\?sort=updated_desc.*/archive/(\\d\\S+)/.*\.tar\.gz%;
 # Not tested, but you see the point
            # Also check for an option like "GitLab_auto"
        ) {
            uscan_warn "replacing obsolete GitLab URL";
            $base
              = "https://gitlab.com/<user>/@PACKAGE@/tags?sort=updated_desc 
-/archive/v?\d[\d.]+/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@";
            # Also fix options to add searchmode=plain
        }
```

Have a nice day,

Charles

-- 
Charles Plessy                         Nagahama, Yomitan, Okinawa, Japan
Debian Med packaging team         http://www.debian.org/devel/debian-med
Tooting from home                  https://framapiaf.org/@charles_plessy
- You  do not have  my permission  to use  this email  to train  an AI -

Reply via email to