Remote hook failed when pushing to torspec on git-rw.
IIUC, git-rw.tpo is still canonical for the torspec repository. I just pushed a commit there, but found that it didn't go through to gitlab.
Here is what git said:
[1118]$ git push
Enumerating objects: 12, done.
Counting objects: 100% (12/12), done.
Delta compression using up to 8 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 2.14 KiB | 2.14 MiB/s, done.
Total 7 (delta 5), reused 0 (delta 0), pack-reused 0
remote: via /srv/git.torproject.org/git-helpers/post-receive-diff
remote: == 00-sync-to-mirror ==
remote: == commit-mail ==
remote: WARNING: this hook (/srv/git.torproject.org/git-helpers/post-receive.d/commit-mail) is known to fail to send email
remote:
remote: The replacement is called 'multimail' and can be enabled in gitolite by changing:
remote:
remote: config hooks.mailinglist = tor-commits@lists.torproject.org
remote:
remote: to:
remote:
remote: config multimailhook.mailinglist = tor-commits@lists.torproject.org
remote:
remote: ... and remove the 'config hooks.email-enabled' block to turn off this legacy hook
remote:
remote: see https://gitlab.torproject.org/tpo/tpa/team/-/issues/40659
remote: == git-multimail ==
remote: No email recipients configured!
remote: == github-push ==
remote: To github.com:torproject/torspec
remote: 80e9d9e..3b8a143 main -> main
remote: == gitlab-push ==
remote: remote: GitLab: You are not allowed to force push code to a protected branch on this project.
remote: To dip.torproject.org:tpo/core/torspec
remote: ! [remote rejected] main -> main (pre-receive hook declined)
remote: error: failed to push some refs to 'dip.torproject.org:tpo/core/torspec'
remote: == irc-message ==
remote: == per-repo-hook ==
To git-rw.torproject.org:/torspec.git
80e9d9e7dbbc36..3b8a1436c96215 main -> main
(My apologies in advance if I have put this issue in the wrong place.)