This is my first attempt to upgrade a port (net-mgmt/adcli) since the git-conversion, so I may well be doing something wrong. Trying to push my change after committing it locally, I get: remote: remote: ================================================================ remote: Commit to security/vuxml/vuln.xml first, and then other files remote: ================================================================ remote: To ssh://gitrepo.FreeBSD.org/ports.git ! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to 'ssh://gitrepo.FreeBSD.org/ports.git' I'm not trying to change the vuln.xml here, what's hook trying to tell me?
And now, without me changing anything, the error is different: remote: remote: ================================================================ remote: First line does not start with the regular remote: category/port: subject remote: ================================================================ remote: To ssh://gitrepo.FreeBSD.org/ports.git ! [remote rejected] main -> main (pre-receive hook declined) The first line of my commit-message is: net-mgmt/adcli: Upgrade to 0.9.1 - the old version cannot deal with newer ADs. Why is it being rejected?
Can you please paste the output of git show?
This looks a bit strange, can you push your branch to somewhere else then we can check the commits in that branch are all fine?
After several git-pulls and rebasing to rephrase my commit-message to start with category/port, I was informed, that my name/address are wrong. Finally, after fixing that too, I was able to push -- what "git show" shows now is, probably, not helpful to you, is it?.. I note, that there was (at least one) commit to security/vuxml while I was struggling. Why was the hook holding me off with that message, I do not understand...