Package: lintian-brush
Version: 0.59
Severity: normal

When I run lintian-brush on the myrepos package, it changes the Vcs-Git 
URL from git:// to https:// even though the https:// URL does not work.

$ git ls-remote git://myrepos.branchable.com/ | head -n1
465479bffda390614c32994393aabea15f9f547e        HEAD

$ git ls-remote https://myrepos.branchable.com/ | head -n1
fatal: repository 'https://myrepos.branchable.com/' not found

I suggest that lintian-brush needs to run `git ls-remote` on the new
URL to check that it works and has a HEAD before updating the URL.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates'), (800, 'unstable-debug'), (800, 'unstable'), (790, 
'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 
'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lintian-brush depends on:
ii  devscripts           2.20.2
ii  python3              3.7.5-3
ii  python3-breezy       3.0.1-2
ii  python3-debian       0.1.36
ii  python3-distro-info  0.23
ii  python3-dulwich      0.19.15-1
ii  python3-iniparse     0.4-3
ii  python3-levenshtein  0.12.0-5
ii  python3-pkginfo      1.4.2-3
ii  python3-ruamel.yaml  0.15.89-3+b1

Versions of packages lintian-brush recommends:
ii  dos2unix           7.4.0-2
ii  gpg                2.2.19-2
ii  libdebhelper-perl  12.9
ii  lintian            2.55.0
pn  python3-asyncpg    <none>
ii  python3-pyinotify  0.9.6-1.2

Versions of packages lintian-brush suggests:
ii  gnome-pkg-tools    0.21.2
pn  postgresql-common  <none>

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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

Reply via email to