#2033 closed enhancement (fixed)
Add various Trac reports to meta.trac.wordpress.org
Reported by: | netweb | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | |
Cc: |
Description
https://core.trac.wordpress.org/report has more Trac reports available than https://meta.trac.wordpress.org/report
It would be sweet to get a couple of these added here on meta Trac :)
The couple of interest to me right this moment are:
- https://core.trac.wordpress.org/report/25 {25} My Patches
- https://core.trac.wordpress.org/report/29 {29} Open Tickets with patches from you
Change History (9)
#2
@
8 years ago
https://core.trac.wordpress.org/report/29 {29} Open Tickets with patches from you
-- ## 29: Open Tickets with patches from you ## -- -- {{{ -- #!span class="create-new-ticket button button-large button-primary" -- [https://login.wordpress.org/?redirect_to=https://meta.trac.wordpress.org/newticket Create a new ticket] -- }}} -- -- This report highlights any tickets which the current user has added patches on, Yet the ticket remains open. -- -- By default, It shows for the current user, however, you may define it via the URL as such: http://core.trac.wordpress.org/report/29?USER=dd32 -- -- Coloured rows are those where the ticket has been marked as needing a patch. SELECT a.filename as `_filename`, t.id as ticket, CASE WHEN milestone = 'Future Release' THEN 'Future' ELSE milestone END as Milestone, status || ' ' || t.type as type, summary, CASE WHEN keywords LIKE '%commit%' THEN 'commit' WHEN keywords LIKE '%dev_feedback%' THEN 'dev-feedback' WHEN keywords LIKE '%2nd_opinion%' THEN '2nd-opinion' WHEN keywords LIKE '%reporter_feedback%' THEN 'reporter-feedback' WHEN keywords LIKE '%tested%' THEN 'tested' WHEN keywords LIKE '%needs_testing%' THEN 'needs-testing' WHEN keywords LIKE '%has_patch%' THEN 'has-patch' ELSE 'needs-patch' END as workflow, CASE WHEN keywords LIKE '%%needs-patch%%' OR keywords = '' THEN 'background: #ffcc66;' ELSE '' END as __style__, component, version, severity, priority, a.time AS modified, t.description as _description FROM attachment as a LEFT JOIN ticket as t ON a.id = t.id WHERE LOWER(a.Author) = LOWER('$USER') AND t.status != 'closed' GROUP BY t.id ORDER BY t.milestone ASC, a.time DESC, t.version ASC
#3
in reply to:
↑ description
;
follow-up:
↓ 4
@
8 years ago
- https://core.trac.wordpress.org/report/25 {25} My Patches
- https://core.trac.wordpress.org/report/29 {29} Open Tickets with patches from you
I copied the core trac reports here, it looks like no changes would be necessary to the SQL, the only change I made was to the Trac URL to reference meta.trac.wordpress.org
rather than core.trac.wordpress.org
#4
in reply to:
↑ 3
;
follow-ups:
↓ 5
↓ 8
@
8 years ago
Replying to netweb:
I copied the core trac reports here, it looks like no changes would be necessary to the SQL
The existing My Tickets report is actually quite different from the Core one, as Meta Trac doesn't use the same milestones or most of the keywords, but relies on component and priority instead.
So I've used that report as a base for the new ones:
- https://meta.trac.wordpress.org/report/12 — My Patches
- https://meta.trac.wordpress.org/report/13 — Open Tickets with patches from you
If someone has direct access to the database, it would be great to change the IDs so that "My Patches" comes directly after "My Tickets", like on Core Trac :)
#5
in reply to:
↑ 4
@
8 years ago
Replying to SergeyBiryukov:
Replying to netweb:
I copied the core trac reports here, it looks like no changes would be necessary to the SQL
The existing My Tickets report is actually quite different from the Core one, as Meta Trac doesn't use the same milestones or most of the keywords, but relies on component and priority instead.
Oh, sorry, I should have looked closer but it was all going to be speculation on my part without being able to try the SQL queries here myself anyway :/
So I've used that report as a base for the new ones:
- https://meta.trac.wordpress.org/report/12 — My Patches
- https://meta.trac.wordpress.org/report/13 — Open Tickets with patches from you
Thanks Sergey :)
#8
in reply to:
↑ 4
;
follow-up:
↓ 9
@
8 years ago
If someone has direct access to the database, it would be great to change the IDs so that "My Patches" comes directly after "My Tickets", like on Core Trac :)
@ocean90 Any chance to do that?
#9
in reply to:
↑ 8
@
8 years ago
Replying to SergeyBiryukov:
@ocean90 Any chance to do that?
Not really. You could delete the reports and re-add them in the order you want.
https://core.trac.wordpress.org/report/25 {25} My Patches