Closed Bug 447590 Opened 16 years ago Closed 16 years ago

Display both comm-central and mozilla-central changeset IDs on tinderbox pages

Categories

(MailNews Core :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

I think considering we have two hg repositories that we pull, and we're going to be picking up most changes from mozilla-central, we should have their changeset id on the tinderbox page as well. From what I've seen, I think this is basically making client.py do the TinderboxPrint log line for the mozilla-central change (obviously on a switch so that we don't display it all the time). I'm happy to try and do the change if this seems reasonable.
(In reply to comment #0) > if this seems reasonable. I would think it is :-)
I thought I'd like to have that right from the beginning, but I didn't see how to fetch the mozilla-central revision. I'd be happy about a patch for that.
Attached patch The fix (deleted) — Splinter Review
Isn't hg --template really nice? :-) I struggled with the repository bit (because the way the script is set up), but as this is all we need at the moment, it should do.
Assignee: nobody → bugzilla
Status: NEW → ASSIGNED
Attachment #331001 - Flags: review?(kairo)
FYI, 'hg identify -i' accomplishes the same thing.
Comment on attachment 331001 [details] [diff] [review] The fix >diff --git a/client.py b/client.py >+ # I can't find a sane may to get the actual repo at the moment, so just >+ # default to the main mozilla one. This will probably bite us when we pull in DOMI from hg (i.e. as soon as it gets removed from mozilla-central). Please check that "repository == DEFAULT_MOZILLA_REPO" when doing this. r- because of that. >+ check_call([hg, 'parent', '-R', fulldir, >+ "--template=TinderboxPrint: \"<a href=%sindex.cgi/rev/{node|short} title=\"Built from revision {node|short}\">mrev:{node|short}</a>\"\n" % (DEFAULT_MOZILLA_REPO)]) We should note that it's a revision from the Mozilla repo in the title as well. And I like "m-c" better than "mrev" so it's easier to tell it apart from the "rev" we get for comm-central.
Attachment #331001 - Flags: review?(kairo) → review-
I solved this slightly differently, this is in on the builder machines: http://hg.mozilla.org/build/buildbot-configs/index.cgi/rev/45d416d2cf83 Will do the same for unit test machines tomorrow, but need to clear up if what I added to config.py for the moment should actually go into buildbotcustom.
Applied this to testers as well now and gozer applied to Thunderbird machines, marking fixed. I still need to find out if the buildstep should go into buildbotcustom, but that will be done in a different bug, if so.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Blocks: 447772
Product: SeaMonkey → MailNews Core
QA Contact: build-config → build-config
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: