Package: devscripts Version: 2.26.6~bpo13+1 Severity: wishlist File: /usr/bin/salsa X-Debbugs-Cc: [email protected]
When running `salsa path` or using another salsa command that infers the project path from the local directory (check_repo, del_repo, forks, last_ci_status, merge_requests..) and git remote in the local checkout of the relevant salsa repo doesn't end in ".git" then an unhelpful error message of "Not found" appears. To fix this, the regex at https://salsa.debian.org/debian/devscripts/-/blob/02e3c69562ee33672363899ff07013cf3dd41c52/lib/Devscripts/Salsa.pm#L338 could be updated to make the ".git" optional. Probably it would also need to match on a single space after the optional ".git" (still outside of the the capture group). As a bonus, a nicer error message would be appreciated. Thank you! $ salsa path salsa error: Not found $ salsa --debug path salsa info: [email protected]: not found in git remote salsa error: Not found [Devscripts::Salsa::path: 14] $ git remote -v origin [email protected]:med-team/libbio-alignio-stockholm-perl (fetch) origin [email protected]:med-team/libbio-alignio-stockholm-perl (push) -- Package-specific info: --- /etc/devscripts.conf --- Empty. --- ~/.devscripts --- BTS_SENDMAIL_COMMAND='/usr/bin/thunderbird -compose' DEBRELEASE_UPLOADER=dput DEBSIGN_KEYID=0x3C26763F6C67E6E2 DEBUILD_PRESERVE_ENVVARS="CCACHE_DIR" DEBUILD_DPKG_BUILDPACKAGE_OPTS="-j" DEBUILD_LINTIAN_OPTS="-i -I" DEBUILD_PREPEND_PATH="/usr/lib/ccache" -- System Information: Debian Release: 13.3 APT prefers stable-updates APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable'), (1, 'experimental'), (1, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.17.13+deb13-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages devscripts depends on: ii dpkg-dev 1.22.21 ii file 1:5.46-5 ii gpg 2.4.7-21+deb13u1+b1 ii gpg-agent 2.4.7-21+deb13u1+b1 ii gpgv 2.4.7-21+deb13u1+b1 ii libconfig-inifiles-perl 3.000003-3 ii libdpkg-perl 1.22.21 ii libfile-dirlist-perl 0.05-3 ii libfile-homedir-perl 1.006-2 ii libfile-touch-perl 0.12-2 ii libio-string-perl 1.08-4 ii libmoo-perl 2.005005-1 ii libwww-perl 6.78-1 ii libyaml-libyaml-perl 0.903.0+ds-1 ii patchutils 0.4.2-1 ii perl 5.40.1-6 ii python3 3.13.5-1 ii sensible-utils 0.0.25 ii wdiff 1.2.2-9 Versions of packages devscripts recommends: ii apt 3.0.3 ii curl 8.14.1-2+deb13u2 ii dctrl-tools 2.24-3+b1 ii debian-keyring 2025.07.26 ii debian-tag2upload-keyring 1.1 ii dput-ng [dput] 1.43 ii equivs 2.3.2 ii git-debpush 14.11~bpo13+1 ii libdistro-info-perl 1.13 ii libencode-locale-perl 1.05-3 ii libgitlab-api-v4-perl 0.27-1 ii libjson-perl 4.10000-1 ii liblwp-protocol-https-perl 6.14-1 ii libmetacpan-client-perl 2.033000-1 ii libsoap-lite-perl 1.27-3 ii libstring-shellquote-perl 1.04-3 ii liburi-perl 5.30-1 ii licensecheck 3.3.9-1 ii lintian 2.122.0 ii lzip 1.25-3 ii man-db 2.13.1-1 ii patch 2.8-2 ii pristine-tar 1.50+nmu2 ii python3-apt 3.0.0 ii python3-debian 1.1.0~bpo13+1 ii python3-magic 2:0.4.27-3 ii python3-requests 2.32.3+dfsg-5 ii python3-unidiff 0.7.5-2 ii python3-xdg 0.28-2 ii strace 6.13+ds-1 ii unzip 6.0-29 ii wget 1.25.0-2 ii xz-utils 5.8.1-1 Versions of packages devscripts suggests: ii adequate 0.17.5+b5 ii at 3.2.5-2.2 ii autopkgtest 5.53~bpo13+1 pn bls-standalone <none> ii build-essential 12.12 pn check-all-the-things <none> ii debhelper 13.27~bpo13+1 pn diffoscope <none> ii disorderfs 0.5.11-4 ii docker.io 26.1.5+dfsg1-9+b11 ii dose-extra 7.0.0-6+b1 ii duck 0.14.4 pn elpa-devscripts <none> ii faketime 0.9.10+2024-06-05+gba9ed5b2-0.6 ii gnuplot-nox [gnuplot] 6.0.2+dfsg1-1 pn how-can-i-help <none> ii libauthen-sasl-perl 2.1700-1 ii libdbd-pg-perl 3.18.0-1+b3 pn libterm-size-perl <none> ii libtimedate-perl 2.3300-2 ii mailutils [mailx] 1:3.19-1 ii mmdebstrap 1.5.7-1+deb13u1 pn mutt <none> ii openssh-client [ssh-client] 1:10.0p1-7 ii piuparts 1.6.0 ii postfix [mail-transport-agent] 3.10.5-1~deb13u1 ii postgresql-client-17 [postgresql-client] 17.8-0+deb13u1 ii pristine-lfs 20241219.0-1 ii python3-debianbts 4.1.1 ii python3-pycurl 7.45.6-1 ii quilt 0.68-1 ii ratt 0.0~git20220805.e6b9cb4-1+b7 pn reprotest <none> pn svn-buildpackage <none> ii w3m 0.5.3+git20230121-2.1 -- no debconf information
OpenPGP_signature.asc
Description: OpenPGP digital signature

