Add a push hook to try that rejects pushes that contain bug numbers for security bugs
Categories
(Developer Services :: Mercurial: hg.mozilla.org, enhancement)
Tracking
(Not tracked)
People
(Reporter: Gijs, Assigned: zeid)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•5 years ago
|
||
I've started work on this and came up with the following. I haven't tested it (I'll need to set up a local mercurial server I think, and I won't get to that until next week) but I think it's reasonably put together enough to request feedback.
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
Zeid is going to be working on this as his first bug.
Assignee | ||
Comment 6•5 years ago
|
||
DO NOT LAND - WORK IN PROGRESS
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Are we going to be able to differentiate between sec bugs and moco-confidential bugs or is this hook going to treat both the same?
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #8)
NI for comment 7.
As far as I can tell the status code and error code are the same for both types of bugs when trying to access them via the API, so with the current implementation the hook will reject both.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/0471a6491e0e
hooks: adding push hook for security bugs r=sheehan
Comment 11•5 years ago
|
||
This has landed and will be deployed soon. We can close the bug once we've rolled it out successfully.
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Turned off in bug 1607003.
Description
•