Modify

Opened 12 years ago

Closed 10 years ago

#10249 closed enhancement (fixed)

Add a Maintainer macro

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TracHacksPlugin
Severity: normal Keywords:
Cc: Michael Renzmann, Steffen Hoffmann, Jun Omae Trac Release: 1.0

Description

The maintainer is listed on the project's wiki page, but the privileges of the maintainer are granted by being the Component's owner (e.g. assignment of new tickets). These two must be manually kept in sync. We could very simply add a macro that lists the Component's owner on the project wiki page.

#9959 suggests using the DefaultCcPlugin to support multiple maintainers, or additional contributors with equivalent functionality to the maintainer. The idea for the Maintainer macro could be extended accordingly, to support listing contributors or co-maintainers.

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by Ryan J Ollos

Cc: Jun Omae added
Component: TracHacksTracHacksPlugin

comment:2 Changed 10 years ago by Ryan J Ollos

Status: newaccepted

Proposed changes can be found in t10248.

The NewHackTemplate will need to be modified:

-'''Maintainer:''' [wiki:${OWNER}] [[BR]]
+'''Maintainer:''' [[Maintainer]] [[BR]]

After the macro is installed and replacements made on wiki pages, step 2 at AdoptingHacks#AfterAdoptingaHack would no longer be necessary. Multiple maintainers will need to be handled by editing the page for now. In the future, DefaultCcPlugin or trac:#2662 would provide support for multiple maintainers.

A related issue we could consider is that since a blank Component owner field is used to declare that a hack needs adoption, we could use a ticket query to list the hacks that are available for adoption, removing the need to tag each wiki page. I'll raise that issue to discuss in more detail later on.

Last edited 10 years ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 10 years ago by Ryan J Ollos

In 13543:

3.0dev: Added a "Maintainer" macro. Refs #10249.

comment:4 Changed 10 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed
Trac Release: 0.121.0

Change is live on site now. Example uses:

 * [[Maintainer(AccountManagerPlugin)]]
 * [[Maintainer(TracWysiwygPlugin)]]

The NewHackTemplate has been edited to use the macro. AdoptingHacks#AfterAdoptingaHack has also been edited.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
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.