Package: devscripts
Version: 2.26.10
User: [email protected]
Usertags: uscan
Control: tags -1 patch
Dear uscan developers,
uscan currently fails to follow HTTP redirects that involve changes of
domain, such as when <http://foo.org/baz> redirects via HTTP 307 to
<http://quuz.org/a/b/>.
A concrete example of this issue can be seen here:
https://debaudit.debian.net/upstream2orig/result/c5e596485ba8a9582774c982724ad1d76a6e49abe4f5d71765264b6defa0d494
From the `uscan --debug` logs:
```
Source: https://gioele.io/lsb-release-minimal/tags
Matching-Pattern: .*/v@ANY_VERSION@@ARCHIVE_EXT@
[…]
uscan debug: watch file has:
$base = https://gioele.io/lsb-release-minimal/tags
[…]
$site = https://gioele.io
$basedir = /lsb-release-minimal/
uscan debug: line: search()
uscan info: Requesting URL:
https://gioele.io/lsb-release-minimal/tags
uscan info: redirections:
https://codeberg.org/gioele/lsb-release-minimal/tags
[…]
uscan info: Found the following matching files on the web page (newest
first):
https://gioele.io/gioele/lsb-release-minimal/archive/v12.1.tar.gz
(12.1) index=12.1-1
[…]
uscan info: uscan parser results:
$base = https://gioele.io/lsb-release-minimal/tags
[…]
$newfile =
https://gioele.io/gioele/lsb-release-minimal/archive/v12.1.tar.gz
```
You can find a MR that fixes this issue at:
https://salsa.debian.org/debian/devscripts/-/merge_requests/656
Regards,
--
Gioele Barabucci