Modify

Opened 14 years ago

Closed 10 years ago

Last modified 10 years ago

#8119 closed enhancement (invalid)

Include pages referenced in commit messages

Reported by: Olaf Meeuwissen <olaf.meeuwissen@…> Owned by: Geert
Priority: normal Component: WantedPagesMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

We find ourselves referencing wiki pages in our commit messages quite a bit. Occasionally, we refer to pages we mean to write in the near future but never get around to doing so. A visual reminder in the list of wanted pages would be neat.

Attachments (0)

Change History (5)

comment:1 Changed 11 years ago by Ryan J Ollos

Owner: changed from Justin Francis to Ryan J Ollos
Status: newassigned

comment:2 Changed 11 years ago by Ryan J Ollos

Component: WantedPagesPluginWantedPagesMacro

Renaming plugin from WantedPagesPlugin to WantedPagesMacro.

comment:3 Changed 11 years ago by Ryan J Ollos

Owner: changed from Ryan J Ollos to Geert

Reassigning tickets to glinders, assuming adoption request in #11491 will be approved.

comment:4 Changed 10 years ago by Geert

Resolution: invalid
Status: assignedclosed

The scope of WantedPagesMacro is to find links to missing wiki pages referenced by other wiki pages. Commit messages are part of the version control system and as such are out of the scope of this macro.

I propose to close this ticket as invalid.

Please let me know if I misinterpreted the request.

comment:5 Changed 10 years ago by olaf.meeuwissen@…

While I understand your point about commit messages being part of the VCS, they are also visible in the timeline by default and with very little effort in the tickets referenced in the commit message.

From the WantedPagesMacro description:

Lists all wiki pages that are linked to but not created in wikis, ticket descriptions and ticket comments. That is, when a camel-case identifier is listed in a wiki page, then a link is created to that page, but if that page does not exist then the link exists but the page is not created.

So it sounds like tickets are part of the scope too (or the description needs fixing). In that case and since our commit messages end up on any ticket pages they reference, any wiki pages referred to but not yet created should normally be picked up by the WantedPagesMacro. We'd miss out though on messages that don't refer to a ticket. This kind of partial coverage of commit messages would be somewhat surprising. Of course, requiring all commit messages to mention a ticket would fix this. Still, it'd be nice if such a local policy would not be needed.

BTW, it would be nice if the timeline could be included in the scope too, seeing that that includes commit messages by default.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Geert.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.