Summary: | gentoo news pre-receive hook is obtuse | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | SpanKY <vapier> |
Component: | Git | Assignee: | Gentoo Infrastructure <infra-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ulm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Current hook
updated hook |
Description
SpanKY
2015-10-22 16:08:49 UTC
Created attachment 415434 [details]
Current hook
I doubt it's hosted anywhere. Attaching the current version copied from git.g.o.
Created attachment 415566 [details]
updated hook
cleaned up a bunch of various issues that pylint caught and clarified the errors
Looks good to me but I'd rather have robbat2 and/or ulm confirm it. Though personally I thought you'd kill the regexp and instead do hard-parsing with even more detailed error messages. The clarified error message LGTM. About the changes related to python syntax, I fear my python skills are not adequate for commenting on them. |