Closed Bug 447703 Opened 17 years ago Closed 10 years ago

Include commit log in hg revision title

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: Mardak, Assigned: Mardak)

Details

Attachments

(2 files)

I was trying to find a revision that I recently looked at.. url: http://hg.mozilla.org/mozilla-central/index.cgi/rev/860fd53ec15c title: mozilla-central: changeset 16003:860fd53ec15c desc: Bug 431842: refactor autocomplete binding to support Fennec autocomplete, r=gavin I typed "hg.moz fennec" but didn't find anything only to realize the title of the revision page didn't have anything useful. Putting the commit message into the title probably just needs changing to filerevision.tmpl to have {desc|escape} of some sort.
Component: Server Operations: Projects → Release Engineering
QA Contact: mrz → release
Component: Release Engineering → Release Engineering: Future
Priority: -- → P3
Attached patch v1Splinter Review
Tested locally with |hg serve| and ended up with something like.. mozilla-central: Added tag FIREFOX_3_1a1_RELEASE for changeset 9d9941eacb14 (changeset 16138:277a21a074e7) However, I disabled my interhg pattern to prevent bug links from getting linkified for other commit messages.
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Attachment #331014 - Flags: review?(benjamin)
Component: Release Engineering: Future → Hg: Customizations
QA Contact: release → hg.customizations
Comment on attachment 331014 [details] [diff] [review] v1 You need to add the firstline filter
Attachment #331014 - Flags: review?(benjamin) → review-
Is that desired? Multi-line commit logs merge into a single line in the title. Basically.. <title>first line second line</title> And shows up as "first line second line".
Attached patch v1.1Splinter Review
(In reply to comment #3) > You need to add the firstline filter Added firstline before escaping. Only showing the first line is consistent with the bolded single line that shows commit log and relevant tags. Most commits probably have the bulk of the interesting information in the first line, but adding other lines gives the smart location bar something else to search.
Attachment #331464 - Flags: review?(benjamin)
Attachment #331464 - Flags: review?(benjamin) → review+
Do I just push this to hg_templates? Making it live on hg.mozilla.org is a separate thing?
Publish your hg_templates repository somewhere... then get aravind to pull your repo into the official hg_templates and update the server... you can probably use this bug and just reassign it to him.
Comment on attachment 331464 [details] [diff] [review] v1.1 This attachment is |hg export|ed, so someone should be able to |hg import| and commit it.
So this should probably get deployed, then? You should reassign to Server Ops (and CC Aravind) or Aravind to get this going.
Needs to be committed first. This isn't a big enough change that I'd bother asking for a new rollout anyway. It can wait to ride along when we get something bigger, or accumulate enough small changes.
(In reply to comment #7) > Publish your hg_templates repository somewhere... then get aravind to pull your > repo into the official hg_templates and update the server... you can probably > use this bug and just reassign it to him. I dunno, we have just been pushing stuff to hg_templates without problems. It's not like there are a ton of people hacking on it. I'd say just push it there.
Did you ever commit this?
Product: mozilla.org → Release Engineering
Product: Release Engineering → Developer Services
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/164]
5 year old bug with no activity. Reopen if you would still like this.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/164]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: