Package: devscripts Version: 2.19.4 Severity: normal User: de...@kali.org Usertags: origin-kali
I'm running this command: $ salsa --conf-file salsa-auth.conf --conf-file +./salsa-packages.conf update_safe --all --yes --no-fail --verbose salsa-auth.conf has my token and the API URL, and salsa-packages contains instructions to configure my package repositories: $ cat salsa-packages.conf #SALSA_GROUP=kalilinux/packages SALSA_GROUP_ID=5034987 SALSA_DESC_PATTERN="%p packaging for Kali Linux" SALSA_DESC=yes SALSA_EMAIL=yes SALSA_EMAIL_RECIPIENTS="someth...@example.net" SALSA_SOURCE_BRANCH=master SALSA_DEST_BRANCH=kali/master SALSA_RENAME_HEAD=yes SALSA_ENABLE_MR=yes SALSA_ENABLE_ISSUES=no Among all my repositories, I have some that have a "master" branch that needs to be renamed into "kali/master" but I also have some repositories that lack both "master" and "kali/master" and instead they have "kali/dev". The --rename-head fails on the last set of repositories but they are a minority so I wanted to go ahead anyway with the --no-fail. But despite the --no-fail, the above command failed right after the first error message: $ salsa --conf-file salsa-auth.conf --conf-file +./salsa-packages.conf update_safe --all --yes --no-fail --verbose [...] salsa info: Error PUTing https://gitlab.com/api/v4/projects/11904256 (HTTP 400): Bad Request {"message":{"base":["Could not change HEAD: branch... at /usr/share/perl5/Devscripts/Salsa/update_repo.pm line 83. $ Note that it seems to work with "update_repo" however: $ salsa --conf-file salsa-auth.conf --group-id 5034987 update_repo --no-fail --all --rename-head --source-branch master --dest-branch kali/master You're going to configure 811 projects. Continue (N/y) y salsa warn: Branch rename has failed for ruby-ruby-progressbar. Use --verbose to see errors [...] You might find "update_safe --yes" a bit weird, but I don't want the noise/busy work of update_repo redoing all the configuration that hasn't changed... Cheers, -- Package-specific info: --- /etc/devscripts.conf --- --- ~/.devscripts --- DEBRELEASE_UPLOADER=dput DEBRELEASE_DEBS_DIR=../build-area DEBCHANGE_RELEASE_HEURISTIC=changelog DEBCHANGE_MULTIMAINT_MERGE=yes DEBCHANGE_PRESERVE=yes DEBUILD_LINTIAN_OPTS="--color always -I" DEBSIGN_KEYID=0x3E4FB7117877F589DBCF06D6E619045DF2AC729A DEBSIGN_PROGRAM=gpg2 DEBCHANGE_AUTO_NMU=no DEBCOMMIT_SIGN_TAGS=yes DEBCOMMIT_SIGN_COMMITS=yes -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=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.6 ii fakeroot 1.23-1 ii file 1:5.35-4 ii gnupg 2.2.13-1 ii gnupg2 2.2.13-1 ii gpgv 2.2.13-1 ii libc6 2.28-8 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-6 ii python3 3.7.3-1 ii sensible-utils 0.0.12 ii wdiff 1.2.2-2+b1 Versions of packages devscripts recommends: ii apt 1.8.0 ii at 3.1.23-1 ii curl 7.64.0-2 ii dctrl-tools 2.24-3 ii debian-keyring 2019.03.24 ii dput 1.0.3 ii equivs 2.2.0 ii libdistro-info-perl 0.21 ii libdpkg-perl 1.19.6 ii libencode-locale-perl 1.05-1 ii libgit-wrapper-perl 0.048-1 ii libgitlab-api-v4-perl 0.16-1 ii liblist-compare-perl 0.53-1 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.12.0 ii man-db 2.8.5-2 ii patch 2.7.6-3 ii python3-apt 1.8.4 ii python3-debian 0.1.34 ii python3-magic 2:0.4.15-2 ii python3-requests 2.21.0-1 ii python3-unidiff 0.5.5-1 ii python3-xdg 0.25-5 ii strace 4.26-0.2 ii unzip 6.0-22 ii wget 1.20.1-1.1 ii xz-utils 5.2.4-1 Versions of packages devscripts suggests: ii adequate 0.15.2 ii autopkgtest 5.10 pn bls-standalone <none> ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-1 ii build-essential 12.6 pn check-all-the-things <none> pn cvs-buildpackage <none> ii debhelper 12.1.1 pn devscripts-el <none> pn diffoscope <none> pn disorderfs <none> ii dose-extra 5.0.1-12 pn duck <none> ii faketime 0.9.7-3 pn gnuplot <none> ii how-can-i-help 16 ii libauthen-sasl-perl 2.1600-1 ii libdbd-pg-perl 3.7.4-3 ii libfile-desktopentry-perl 0.22-1 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> ii mutt 1.10.1-2 ii openssh-client [ssh-client] 1:7.9p1-10 ii piuparts 0.98 ii postgresql-client 11+200+deb10u1 ii postgresql-client-10 [postgresql-client] 10.5-1 ii postgresql-client-11 [postgresql-client] 11.2-2 ii quilt 0.65-3 pn ratt <none> pn reprotest <none> ii svn-buildpackage 0.8.7 ii w3m 0.5.3-37 -- no debconf information -- debsums errors found: debsums: changed file /usr/share/perl5/Devscripts/Salsa/Config.pm (from devscripts package)