Date: Thu, 8 Sep 2022 08:46:40 +0200 From: Stefan Esser <se@FreeBSD.org> To: FreeBSD ports <freebsd-ports@freebsd.org> Subject: Fwd: Move of WWW to Makefiles is rejected by the repository Message-ID: <e56b09eb-09c8-509d-c6de-fac015f8bd17@FreeBSD.org> In-Reply-To: <62d19bd3-e2c8-86e3-46a9-6d02edd04a85@FreeBSD.org> References: <62d19bd3-e2c8-86e3-46a9-6d02edd04a85@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
FYI - below is the error message caused by the initial attempt to commit the WWW changes to the port Makefiles. When I tried to exclude the devel/py3c/Makefile from the commit, the git command suggested "git rm --chached" to keep the file, but I had thought that this command just removed it from the staging area, not that it would remove it from the repository. Reagrds, STefan -------- Weitergeleitete Nachricht -------- Betreff: Move of WWW to Makefiles is rejected by the repository Datum: Wed, 7 Sep 2022 22:44:32 +0200 Von: Stefan Esser <se@FreeBSD.org> An: portmgr <portmgr@FreeBSD.org> My attempt to push the update that moves the WWW entries into the Makefiles was not successful. At first, there were 7 ports that had "# Created by:" lines, which I have removed. But now I get this error abort due to a remote pre-commit hook triggering: $ git push Enumerating objects: 87333, done. Counting objects: 100% (87333/87333), done. Delta compression using up to 32 threads Compressing objects: 100% (54539/54539), done. Writing objects: 100% (55924/55924), 16.37 MiB | 4.68 MiB/s, done. Total 55924 (delta 10824), reused 46467 (delta 1385), pack-reused 0 remote: Resolving deltas: 100% (10824/10824), completed with 9437 local objects. remote: remote: ================================================================ remote: Adding new py3- ports is forbidden. File: remote: devel/py3c/Makefile remote: The Python ports have flavors and do not need the py3- ports. remote: ================================================================ remote: To gitrepo.freebsd.org:ports.git ! [remote rejected] main -> main (pre-receive hook declined) error: failed to push some refs to 'gitrepo.freebsd.org:ports.git' I cannot commit to the devel/py3c port, and the whole commit stops. AFAICT, this is a false positive due to a too broad pattern. Please let me know whether updating this (existing!) Makefile should really be blocked - else fix the pattern to not overblock my commit. Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e56b09eb-09c8-509d-c6de-fac015f8bd17>