Closed Bug 896743 Opened 11 years ago Closed 11 years ago

Add links to changeset URIs when pushing to b2g-internal

Categories

(Developer Services :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 895001

People

(Reporter: justin.lebar+bug, Unassigned)

References

Details

When I push to inbound, it helpfully gives me a link to each cset I pushed.  But when I push to birch, it doesn't:

> $ hg push ssh://hg.mozilla.org/projects/birch
> pushing to ssh://hg.mozilla.org/projects/birch
> searching for changes
> remote: adding changesets
> remote: adding manifests
> remote: adding file changes
> remote: added 1 changesets with 1 changes to 1 files
> remote: Trying to insert into pushlog.
> remote: Please do not interrupt...
> remote: Inserted into the pushlog db successfully.

Can we change this so birch acts like inbound?
Over to IT to check the hgrc for birch. I have a memory from bugmail that 
  hg.mozilla.org/hgcustom/hghooks/file/default/mozhghooks/push_printurls.py
is global now, but perhaps it was written to every repo hgrc and we later reset birch ?
Assignee: nobody → server-ops-webops
Component: Release Engineering → WebOps: Source Control
Product: mozilla.org → Infrastructure & Operations
QA Contact: nmaul
(In reply to Nick Thomas [:nthomas] from comment #1)
> Over to IT to check the hgrc for birch. I have a memory from bugmail that 
>   hg.mozilla.org/hgcustom/hghooks/file/default/mozhghooks/push_printurls.py
> is global now, but perhaps it was written to every repo hgrc and we later
> reset birch ?

push_printurls is indeed per-repo at the moment, because it has no notion of name conflicts (e.g. if someone has a mozilla-central in their user repo location it will point at official mozilla-central) also because it needs a manual mapping of repo basename to url, in its current design.

But we should certainly make sure its [re-]added to birch, the hook already supports that so just needs an hgrc update
Flags: needinfo?(klibby)
Flags: needinfo?(bkero)
fyi: hwine is standing up permanent "b2g-inbound", at which point "birch" would revert to being a normal twig. See bug#875989 for details.

The "links to changesets" might be part of hwine's work already, but ccing him to confirm.
Blocks: 875989
Summary: Add links to changeset URIs when pushing to birch → Add links to changeset URIs when pushing to b2g-internal
integration/b2g-inbound will replace birch later this week, marking as duplicate of the
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(klibby)
Flags: needinfo?(bkero)
Resolution: --- → DUPLICATE
Component: WebOps: Source Control → General
Product: Infrastructure & Operations → Developer Services
You need to log in before you can comment on or make changes to this bug.