Closed Bug 758994 Opened 12 years ago Closed 12 years ago

Need a list of the active hg hooks for various hg.mozilla.org repos

Categories

(Developer Services :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: fox2mike)

References

Details

Attachments

(1 file, 2 obsolete files)

In order to work out: * Which trees are missing things like the closed tree or commit message hg hooks * What trees need adding to the new treestatus.m.o (bug 758882), given that some old trees use the hook but aren't present on TBPL * Which people from the sheriffpass bug need access to treestatus.m.o (bug 758886) ...it would really help if I could have a dump of the lines immediately after the [hooks] line in '$REPO/.hg/hgrc' for each of the following: http://hg.mozilla.org/comm-central/ http://hg.mozilla.org/mozilla-central/ http://hg.mozilla.org/tracemonkey/ http://hg.mozilla.org/try/ http://hg.mozilla.org/try-comm-central/ http://hg.mozilla.org/services/services-central/ http://hg.mozilla.org/projects/* http://hg.mozilla.org/integration/* If providing the entire hgrc file is easier (or doing it for all hg.mozilla.org repos rather than only those above), then that works just as well for me too. Thanks! :-)
Assignee: server-ops → shyam
Component: Server Operations → Server Operations: Developer Services
QA Contact: phong → shyam
Here you go :) Some caveats : 1) The file not found ones don't have an hgrc and the empty ones don't have any hooks. 2) The first line is the repo (full path) followed by the current hooks. 3) I've checked for all legal/valid hg hooks, seems like we only ever use pretxnchangegroup (atleast in all these repos). Let me know if you need anything else, feel free to reopen the bug if this isn't sufficient. [root@hgssh1.dmz.scl3 mozilla]# for i in `cat /root/repo-list`; do find /repo/hg/mozilla/${i}/.hg/ -maxdepth 3 -name hgrc -printf "\n"%p"\n" -exec cat {} \; |grep -E '^/|^changegroup|^commit|^incoming|^outgoing|^prechangegroup|^precommit|^preoutgoing|^pretag|^pretxnchangegroup|^pretxncommit|^preupdate|^tag|^update' && echo " "; done; /repo/hg/mozilla/comm-central/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/mozilla-central/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/tracemonkey/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.a_singlehead = /repo/hg/scripts/hg_require_single_head /repo/hg/mozilla/try/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_try_gcc45 = python:mozhghooks.try_gcc45.hook pretxnchangegroup.c_try_mandatory = python:mozhghooks.try_mandatory.hook /repo/hg/mozilla/try-comm-central/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.c_try_mandatory = python:mozhghooks.try_mandatory.hook /repo/hg/mozilla/services/services-central/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/projects/2007-configure-rewrite/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/accessibility/.hg/hgrc pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/projects/addon-sdk/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/addonsmgr/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/alder/.hg/hgrc /repo/hg/mozilla/projects/ash/.hg/hgrc /repo/hg/mozilla/projects/ash-reset-718794/.hg/hgrc /repo/hg/mozilla/projects/birch/.hg/hgrc /repo/hg/mozilla/projects/build-system/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/projects/cedar/.hg/hgrc /repo/hg/mozilla/projects/devtools/.hg/hgrc /repo/hg/mozilla/projects/devtools2/.hg/hgrc pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/projects/electrolysis/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/elm/.hg/hgrc /repo/hg/mozilla/projects/firefox-lorentz/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/graphics/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/holly/.hg/hgrc /repo/hg/mozilla/projects/htmlparser/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/ionmonkey/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/jaegermonkey/.hg/hgrc pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/projects/kraken/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/larch/.hg/hgrc /repo/hg/mozilla/projects/ldap-sdks/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/maple/.hg/hgrc /repo/hg/mozilla/projects/mccoy/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/nanojit-central/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/oak/.hg/hgrc /repo/hg/mozilla/projects/pine/.hg/hgrc /repo/hg/mozilla/projects/places/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/projects/private-browsing/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/profiling/.hg/hgrc /repo/hg/mozilla/projects/ux/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/projects/webcl/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/integration/fx-team/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/integration/mozilla-inbound/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.c_commitmessage = python:mozhghooks.commit-message.hook /repo/hg/mozilla/releases/comm-1.9.1/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/releases/comm-1.9.2/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/releases/comm-2.0/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/releases/comm-aurora/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/releases/comm-beta/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/releases/comm-esr10/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/releases/comm-miramar/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook /repo/hg/mozilla/releases/comm-release/.hg/hgrc pretxnchangegroup.a_singlehead = python:mozhghooks.single_head_per_branch.hook pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure_comm_central.hook find: `/repo/hg/mozilla/releases/l10n/.hg/': No such file or directory find: `/repo/hg/mozilla/releases/l10n-miramar/.hg/': No such file or directory find: `/repo/hg/mozilla/releases/l10n-mozilla-1.9.1/.hg/': No such file or directory find: `/repo/hg/mozilla/releases/l10n-mozilla-1.9.2/.hg/': No such file or directory find: `/repo/hg/mozilla/releases/l10n-mozilla-2.0/.hg/': No such file or directory /repo/hg/mozilla/releases/mobile-1.1/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mobile-2.0/.hg/hgrc /repo/hg/mozilla/releases/mobile-6.0/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-1.9.1/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-1.9.2/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-2.0/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-2.1/.hg/hgrc /repo/hg/mozilla/releases/mozilla-aurora/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-beta/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-esr10/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-miramar/.hg/hgrc /repo/hg/mozilla/releases/mozilla-mobile-5.0/.hg/hgrc /repo/hg/mozilla/releases/mozilla-mobile-6.0/.hg/hgrc pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook /repo/hg/mozilla/releases/mozilla-release/.hg/hgrc pretxnchangegroup.a_treeclosure = python:mozhghooks.treeclosure.hook pretxnchangegroup.b_singlehead = python:mozhghooks.single_head_per_branch.hook
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Shyam you are amazing - just what I needed & in super quick time! Thank you :-)
Ed, <3 :) Now that we have a developer services team of two, I hope to get stuff that we can easily get to, right away :) Feel free to email/poke us/me over IRC/email/Bugzilla if you guys need anything.
Attached file Sorted list of repos vs hooks (obsolete) —
Blocks: 759450
Attached file Updated list of repos vs hooks (obsolete) —
Updated with the changes made by bug 759450
Attachment #628046 - Attachment is obsolete: true
Updated after bug 663585 & bug 780815. Quite possibly still out of date now, if other changes have been made that I haven't seen in bugmail. The inconsistency in hooks across trees is growing larger - I'll file a bug soon to try and bring more of them back in line.
Attachment #628728 - Attachment is obsolete: true
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: