Holger Wansing <linux@wansing-online.de> (2018-06-16): > Remaining points are: > - authentication does not work non-interactively (?) > - script currently does not check for git errors Running the script manually, I'm seeing: | Commit all general PO/POT files to GIT... done. | On branch master | Your branch is up-to-date with 'origin/master'. | Changes not staged for commit: | modified: ../../scripts/etc/cron/crontab | | no changes added to commit | Username for 'https://salsa.debian.org': ^C Let's look at ~/.gitconfig: | [url "git://git.debian.org/d-i/"] | insteadOf = git+ssh://git.debian.org/git/d-i/ | [url "git+ssh://git.debian.org/git/d-i/"] | pushInsteadOf = git+ssh://git.debian.org/git/d-i/ → git.debian.org is gone, so removed. | [user] | name = D-I role | email = debian-boot@lists.debian.org | [http] | sslcapath=/etc/ssl/ca-debian | sslcainfo=/etc/ssl/ca-debian/ca-certificates.crt | [push] | default = matching | [url "git@salsa.debian.org:"] | pushInsteadOf = https://salsa.debian.org/ → Duplicated in a different way below, so removed. | [url "https://salsa.debian.org/installer-team/"] | insteadOf = git@salsa.debian.org:installer-team/ → This one seems responsible for the SSH→HTTPS replacement when trying to git push… | [url "git@salsa.debian.org:installer-team/"] | pushInsteadOf = https://salsa.debian.org/installer-team/ Interactively, I'm seeing the same issue anyway: | d-i@dillon:~/trunk$ git push -n | Username for 'https://salsa.debian.org': ^C Commenting out the insteadOf bit leads to: | d-i@dillon:~/trunk$ vi ~/.gitconfig | d-i@dillon:~/trunk$ GIT_TRACE=1 git push -n | 21:09:37.847733 git.c:371 trace: built-in: git 'push' '-n' | 21:09:37.851080 run-command.c:350 trace: run_command: 'ssh' 'git@salsa.debian.org' 'git-receive-pack '\''installer-team/d-i.git'\''' | ^C Not exactly sure how to best fix this… Cheers, -- Cyril Brulebois (kibi@debian.org) <https://debamax.com/> D-I release manager -- Release team member -- Freelance Consultant
Attachment:
signature.asc
Description: PGP signature