#15484: post-commit lint script should handle Portfiles anywhere in repository -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: wsiegrist@apple.com Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- If I commit changes to a Portfile in trunk/dports/*/* a [browser:trunk/base/portmgr/jobs/portfile_lint.pl script] runs which checks the Portfile syntax and emails any errors to the committer and maintainer. But if I have a Portfile elsewhere in the repository, such as under users/*/*, then the script emails me an error instead: {{{ Portfile: pure-devel Error: Unable to open port: Could not find Portfile in /tmp/mp_lint/36446/ryandesign/pure-devel }}} trunk/dports seems to be hardcoded into the script. But the script should support Portfiles, wherever in the repository they may be. William said he doesn't have time to look into this right now so I may take a look. -- Ticket URL: <http://trac.macports.org/ticket/15484> MacPorts <http://www.macports.org/> Ports system for Mac OS