Closed
Bug 598556
Opened 15 years ago
Closed 15 years ago
Ability to filter the pushlog by rev id
Categories
(Tree Management Graveyard :: TBPL, defect)
Tree Management Graveyard
TBPL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mounir, Assigned: mounir)
References
Details
Attachments
(1 file, 1 obsolete file)
4.45 KB,
patch
|
Swatinem
:
review+
|
Details | Diff | Splinter Review |
It would be nice to be able to filter the pushlog to show only a push containing a specific revision.
The attached patch let the user specify "rev=" in the URL to filter the pushlog to a specific revision.
Attachment #477404 -
Flags: review?(arpad.borsos)
Comment 1•15 years ago
|
||
Comment on attachment 477404 [details] [diff] [review]
Patch v1
>+++ b/js/PushlogJSONParser.js
>+ // Look at the 12 first nodes characters when filtering by revision.
>+ if (rev && patch.node.substring(0, 12) == rev) {
>+ revFound = true;
>+ }
…
> patches.unshift({rev: patch.node.substr(0,12), author: author,
> desc: Controller.stripTags(patch.desc), tags: tags});
Just for consistency, we should use the same function in both places (substr vs substring, I don’t care which one). You can also make it a var in the function so we avoid that redundancy alltogether.
Attachment #477404 -
Flags: review?(arpad.borsos) → review-
Assignee | ||
Comment 2•15 years ago
|
||
Attachment #477404 -
Attachment is obsolete: true
Attachment #477422 -
Flags: review?(arpad.borsos)
Updated•15 years ago
|
Attachment #477422 -
Flags: review?(arpad.borsos) → review+
Assignee | ||
Comment 3•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 4•15 years ago
|
||
Deployed. Thanks Mounir!
This doesn't actually seem to work -- e.g.
http://tests.themasta.com/tinderboxpushlog/?tree=MozillaTry&rev=15e65c1f91da doesn't show any results, even though the push certainly happened.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•15 years ago
|
||
This has been broken by another commit and should be fixed by this one according to Arpad:
http://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/58f485db128d
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
(In reply to comment #6)
> This doesn't actually seem to work -- e.g.
>
> http://tests.themasta.com/tinderboxpushlog/?tree=MozillaTry&rev=15e65c1f91da
> doesn't show any results, even though the push certainly happened.
It only shows the push if it's in the time range that would be displayed without the rev argument. Automatically going back into time isn't implemented yet.
Updated•11 years ago
|
Product: Webtools → Tree Management
Updated•10 years ago
|
Product: Tree Management → Tree Management Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•