Do you want any of the mailing lists emailed as well when errors are found?

-Bill


On Jan 29, 2008, at 7:21 PM, Ryan Schmidt wrote:

On Jan 29, 2008, at 12:59, William Siegrist wrote:

On Jan 29, 2008, at 6:29 AM, Ryan Schmidt wrote:

* "port lint" should be run by the Subversion repository in a post- commit hook and any problems found emailed to the committer and the maintainer:

http://trac.macosforge.org/projects/macports/ticket/12594#comment:4

I can add `port lint` to the post-commit for any Portfiles if you want.

That would be great. Should I file you a ticket for that?

I dont see a way to get only the list of maintainers from port, but I can always grep/regexp to get them from `port info`? I seem to remember a better way though.

Get the port's maintainers (comma-space separated) like this:

port -q info --maintainer $PORT

Then you'll have to filter that to exclude [EMAIL PROTECTED] and [EMAIL PROTECTED]

`port lint` currently always exits with status 0, even if it finds something wrong with the portfile. This is unfortunate. However, an acceptable workaround for now would be to run:

port -q lint $PORT

This will only produce output if there are problems in the port. And only in that case should the email be sent.





----
William Siegrist
Software Support Engineer
Mac OS Forge
http://macosforge.org/
[EMAIL PROTECTED]
408 862 7337





Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to