The default bug view has changed. See this FAQ.

research if we can remove duplicate single head hg.m.o hook

RESOLVED FIXED

Status

Developer Services
Mercurial: hg.mozilla.org
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: hwine, Assigned: hwine)

Tracking

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/995] )

(Assignee)

Description

3 years ago
there are 2 "keep 1 head per branch" hooks in use. Reasonable chance the few on the old one can be upgraded, but needs some minor research.

from Bug #963375 comment 3:
> It turns out a handful of other repos were using:
> 
> pretxnchangegroup.a_singlehead = /repo/hg/scripts/hg_require_single_head
> 
> instead of the more common:
> 
> pretxnchangegroup.b_singlehead =
> python:mozhghooks.single_head_per_branch.hook
> 
> The repos in question:
> /actionmonkey
> /tamarin-central
> /actionmonkey-tamarin
> /tamarin-tracing
> /build/tools
> /build/buildbot
> /build/fork-hg-git
> /tamarin-redux
> /schema-validation

If copies of both scripts can be attached (or referenced by url) we should be able to get sign off on removing the old one to avoid any future confusion.
Old version: http://hg.mozilla.org/hgcustom/hgscripts/file/0367c4b665a6/hg_require_single_head (also apparently at http://hg.mozilla.org/hgcustom/hghooks/file/3ea78865a148/hg_require_single_head)

Current version: http://hg.mozilla.org/hgcustom/hghooks/file/3ea78865a148/mozhghooks/single_head_per_branch.py
Assignee: server-ops-webops → klibby

Updated

3 years ago
Assignee: klibby → hwine

Updated

3 years ago
Component: WebOps: Source Control → Repos and Hooks
Product: Infrastructure & Operations → Release Engineering
QA Contact: nmaul → hwine
Product: Release Engineering → Developer Services

Updated

3 years ago
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/293]

Updated

2 years ago
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/293] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/986] [kanban:engops:https://kanbanize.com/ctrl_board/6/293]

Updated

2 years ago
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/986] [kanban:engops:https://kanbanize.com/ctrl_board/6/293] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/993] [kanban:engops:https://kanbanize.com/ctrl_board/6/293]

Updated

2 years ago
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/993] [kanban:engops:https://kanbanize.com/ctrl_board/6/293] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/995] [kanban:engops:https://kanbanize.com/ctrl_board/6/293]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/995] [kanban:engops:https://kanbanize.com/ctrl_board/6/293] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/995]
(Assignee)

Comment 2

2 years ago
I believe this has been done with :gps rework of deploy

:gps okay to hg rm hghooks/hg_require_single_head ?
Flags: needinfo?(gps)

Comment 3

2 years ago
https://hg.mozilla.org/hgcustom/version-control-tools/rev/798a50d8826bb68aec449c8152869d7897277139
hghooks: remove hg_require_single_head hook (bug 963571)

Comment 4

2 years ago
Yup and done.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(gps)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.