[MacPorts] #52770: Git: pre-commit-hook could run "port lint" if a Portfile is about to be committed by the user...
MacPorts
noreply at macports.org
Sun Dec 11 23:35:47 CET 2016
#52770: Git: pre-commit-hook could run "port lint" if a Portfile is about to be
committed by the user...
-----------------------------+---------------------
Reporter: mkae | Owner: admin@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: server/hosting | Version: 2.3.4
Resolution: | Keywords:
Port: |
-----------------------------+---------------------
Comment (by mkae):
A nice example where such a hook would have been helpful is e.g.
[https://build.macports.org/builders/ports-10.12_x86_64-watcher/builds/2384/steps/subports/logs/property%20changes
this failed build] which could have been prevented if {{{port lint}}}
would have spotted the issue with an incomplete argument for
{{{depends_lib-append}}}, see this diff:
{{{
- depends_lib-append qt5-qtsvg
+ depends_lib-append port:qt5-qtsvg
}}}
The latter had to be fixed in the
[https://build.macports.org/builders/ports-10.12_x86_64-watcher/builds/2385/steps/subports/logs/stdio
subsequent commit].
--
Ticket URL: <https://trac.macports.org/ticket/52770#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list