Bug 225250 - FLAVORS' commit hook prevents updating devel/eric6
Summary: FLAVORS' commit hook prevents updating devel/eric6
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-17 06:18 UTC by David Naylor
Modified: 2018-12-11 07:06 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor freebsd_committer 2018-01-17 06:18:25 UTC
While trying to update devel/eric6 (which had FLAVORS added in https://reviews.freebsd.org/D13448) the commit hook complains:

Committing transaction...
svn: E165001: Commit failed (details follow):
svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
Do not commit a port with FLAVORS without first
getting approval from portmgr.

The commit itself does not introduce, or edit, flavors in any way.
Comment 1 David Naylor freebsd_committer 2018-01-17 06:19:57 UTC
The commit in question is ports r459220.
Comment 2 Adam Weinberger freebsd_committer 2018-01-17 13:00:23 UTC
We need to issue a portmgr blanket approval to commit updates to previously-flavoured ports.
Comment 3 Mathieu Arnold freebsd_committer 2018-01-17 14:08:27 UTC
Yes, I think I tried to allow changing a Makefile with FLAVORS in it, but I think I ended up only being able to prevent adding a new file with FLAVORS, not adding FLAVORS to a Makefile. (If that makes sense.)
Comment 4 David Naylor freebsd_committer 2018-12-11 07:06:13 UTC
I encountered this issue again.  Closing this as I just used "Approved by: portmgr (implicit)" and justified why I ignored the approval requirement.