Closed
Bug 692932
Opened 13 years ago
Closed 13 years ago
Enable mozhghooks/commit-message.py on mozilla-central, feeder repos, and release branches
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: bkero)
References
Details
Please change DATE_HOOK_ENABLED to two days in the future and then enable mozhghooks/commit-message.py on mozilla-central, feeder repos, and release branches.
See http://groups.google.com/group/mozilla.dev.planning/browse_thread/thread/26b36800a8d4a8a1?pli=1 for the consensus behind this change, and bug 506949 for details.
Comment 1•13 years ago
|
||
I'm not sure what feeder repos are, but we need this on mozilla-inbound.
Comment 2•13 years ago
|
||
I believe Jesse means "all branches that merge with mozilla-central", so inbound and all project branches.
Comment 3•13 years ago
|
||
Dan is back next week, between he and Ben they should be able to get this figured out. Any and all instructions you guys can provide for people who are not use to managing mercurial would speed this up. Thanks
Assignee | ||
Comment 4•13 years ago
|
||
I've figured out where this lives by reading the bug referenced in comment #0. I'd like to coordinate with someone from build when adding this, so I don't mess it up. I'll plan on doing this tomorrow.
Updated•13 years ago
|
Assignee: server-ops → bkero
Comment 5•13 years ago
|
||
http://hg.mozilla.org/hgcustom/hghooks/file/e7d2ca6c9aee/mozhghooks/commit-message.py
23 # Before enabling this hook on mozilla-central (and feeder repos), this should be
24 # set to a date in the near future.
25 DATE_HOOK_ENABLED = time.mktime(datetime.datetime(2011, 10, 01).timetuple()) # October 2011 (CHANGE ME)
Don't forget this.
Reporter | ||
Comment 6•13 years ago
|
||
Assignee | ||
Comment 8•13 years ago
|
||
This hook has been enabled on mozilla-mobile-5.0 (for testing), and now for mozilla-inbound, and went active today.
evilpie on irc said there was more bikeshedding on this implementation, and that it was recommended that I hold off that in deploying it until the discussion had resolved.
Assignee | ||
Comment 9•13 years ago
|
||
For reference, the hook is held in /repo/hg/libraries/mozhghooks/commit-message.py and the reference in $REPO/.hg/hrc is:
pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook
Comment 10•13 years ago
|
||
So from my understanding we enabled it everywhere, where wanted.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•