Dear maintainer,
A fairly common reason for debcheckout to fail to clone a package, is when the
package's Vcs-* info stil refers to alioth, and no redirect is in place:
$ debcheckout ansible-lint
declared git repository at https://anonscm.debian.org/git/collab-maint/ansible-lint.git
git clone https://anonscm.debian.org/git/collab-maint/ansible-lint.git ansible-lint ...
Cloning into 'ansible-lint'...
fatal: repository 'https://anonscm.debian.org/git/collab-maint/ansible-lint.git/' not found
checkout failed (the command above returned a non-zero exit code)
Would you consider instead importing the git repository from alioth-archive.d.n ?
$ wget https://alioth-archive.debian.org/git/collab-maint/ansible-lint.git.tar.xz
[...]
2019-02-11 16:55:48 (175 KB/s) - ‘ansible-lint.git.tar.xz’ saved [59952/59952]
$ mkdir -p ansible-lint/.git
$ tar --strip-components=1 -xf ansible-lint.git.tar.xz -C ansible-lint/.git
$ git -C ansible-lint/.git config --local core.bare false
$ git -C ansible-lint/.git checkout
I'm sure there are cleaner ways to achieve that result; I used this specific
method because it results in all branches being properly available, and no
spurious remote being configured.
Best,
nicoo
- -- Package-specific info:
- --- /etc/devscripts.conf ---
- --- ~/.devscripts ---
DEBSIGN_KEYID="0xE44E9EA54B8E256AFB7349D3EC9D370872BC7A8C"
- -- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages devscripts depends on:
ii dpkg-dev 1.19.2
ii fakeroot 1.23-1
ii file 1:5.35-2
ii gnupg 2.2.12-1
ii gnupg2 2.2.12-1
ii gpgv 2.2.12-1
ii libc6 2.28-6
ii libfile-homedir-perl 1.004-1
ii libfile-which-perl 1.23-1
ii libipc-run-perl 20180523.0-1
ii libmoo-perl 2.003004-2
ii libwww-perl 6.36-1
ii patchutils 0.3.4-2
ii perl 5.28.1-4
ii python3 3.7.2-1
ii sensible-utils 0.0.12
ii wdiff 1.2.2-2+b1
Versions of packages devscripts recommends:
ii apt 1.8.0~rc2
pn at <none>
ii curl 7.63.0-1
pn dctrl-tools <none>
ii debian-keyring 2018.12.24
ii dput 1.0.3
pn equivs <none>
ii libdistro-info-perl 0.20
ii libdpkg-perl 1.19.2
ii libencode-locale-perl 1.05-1
pn libgit-wrapper-perl <none>
ii libgitlab-api-v4-perl 0.15-1
pn liblist-compare-perl <none>
ii liblwp-protocol-https-perl 6.07-2
ii libsoap-lite-perl 1.27-1
ii libstring-shellquote-perl 1.04-1
ii libtry-tiny-perl 0.30-1
ii liburi-perl 1.76-1
ii licensecheck 3.0.31-3
ii lintian 2.5.123
ii man-db 2.8.5-1
ii patch 2.7.6-3
ii python3-apt 1.8.3
ii python3-debian 0.1.34
pn python3-magic <none>
ii python3-requests 2.20.0-2
pn python3-unidiff <none>
ii python3-xdg 0.25-4
ii strace 4.26-0.2
ii unzip 6.0-21
ii wget 1.20.1-1
ii xz-utils 5.2.4-1
Versions of packages devscripts suggests:
ii adequate 0.15.1
pn autopkgtest <none>
pn bls-standalone <none>
pn bsd-mailx | mailx <none>
ii build-essential 12.5
ii check-all-the-things 2017.05.20
pn cvs-buildpackage <none>
ii debhelper 12
pn devscripts-el <none>
pn diffoscope <none>
pn disorderfs <none>
ii dose-extra 5.0.1-12
pn duck <none>
pn faketime <none>
pn gnuplot <none>
pn how-can-i-help <none>
pn libauthen-sasl-perl <none>
pn libdbd-pg-perl <none>
pn libfile-desktopentry-perl <none>
pn libnet-smtps-perl <none>
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
pn mozilla-devscripts <none>
pn mutt <none>
ii openssh-client [ssh-client] 1:7.9p1-5
ii piuparts 0.96
ii postgresql-client-10 [postgresql-client] 10.5-1
ii quilt 0.65-3
ii ratt 0.0~git20180127.c44413c-2+b10
pn reprotest <none>
pn svn-buildpackage <none>
pn w3m <none>
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEU7EqA8ZVHYoLJhPE5vmO4pLV7MsFAlxhnU4RHG5pY29vQGRl
Ymlhbi5vcmcACgkQ5vmO4pLV7MsuSg//RdMMtzyrFzeP4ZZ/ArAoRg7BH08x++N/
X7Jesvqx1hsQyjcbj9kNFFvyVw4cgkK34WGIAubeUlp9CR7BSPeORdfL1T9uWqk4
t7Hk9J0bjO8BUF9TTmF3DAfaCkkU7mdyNbXYFmW/igi5w2YpUweQ1SXIrOm9pdh/
YkqOeSFqdtObQHh9RD2bcBGpu8MU26Zq63hViKsThYJHkfol92Azt529INchE6b3
tJ+vGz9B73PqF8jJKpfjk7a0r8HH+No68xjQmwigKy9elR9UB9ufKGRPbXWezVyW
zjpAvFAWYA8FLgWGhWFd4ThPuNN/td/5JC51nemdmemJ0m/ofCrfwEeke9U8x08R
exh1+dK7bGg32anb8Z9UYhqppFg2iXl+5Kuo92+nOD45Nsi0alGyY3Yjg7nizCSp
nkXp/IuS44iFIAPVCQK7PyJbHFMXJls0w/O5d0IgwAM/Up4SYcCglJwNdmQ8GgOl
7xyOpX7d8tgG1cV9pnGIFftbz3R4FmLWaQV6pJeE0IlpEDSYluRY30iULmFTJN8R
Vw9rioMJHjacZP81c1kmvxc1YHVapNAj1J36SZGql/K4UAJkrIMYmkZ9FnJgWU58
w0Htvys7jggrcSxoEGSkbrbpcLEOzp/x6rV4Mq8tpRiSQOMUTKE2SwIBLEQB28EQ
/Q8w+3g2a6A=
=EqPR
-----END PGP SIGNATURE-----