Opened 5 years ago

Closed 3 years ago

#10249 closed enhancement (fixed)

Reported by: Owned by: Ryan J Ollos Ryan J Ollos normal TracHacksPlugin normal Michael Renzmann, Steffen Hoffmann, Jun Omae 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.

comment:1 Changed 3 years ago by Ryan J Ollos

Cc: Jun Omae added TracHacks → TracHacksPlugin

comment:2 Changed 3 years ago by Ryan J Ollos

Status: new → accepted

Proposed changes can be found in t10248.

The NewHacksTemplate 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.

Version 0, edited 3 years ago by Ryan J Ollos (next)

comment:3 Changed 3 years ago by Ryan J Ollos

In 13543:

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

comment:4 Changed 3 years ago by Ryan J Ollos

Resolution: → fixed accepted → closed 0.12 → 1.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