Opened 4 years ago

Closed 3 years ago

#10249 closed enhancement (fixed)

Add a Maintainer macro

Reported by: rjollos Owned by: rjollos
Priority: normal Component: TracHacksPlugin
Severity: normal Keywords:
Cc: otaku42, hasienda, jun66j5 Trac Release: 1.0


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 3 years ago by rjollos

  • Cc jun66j5 added
  • Component changed from TracHacks to TracHacksPlugin

comment:2 Changed 3 years ago by rjollos

  • Status changed from new to accepted

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 3 years ago by rjollos (previous) (diff)

comment:3 Changed 3 years ago by rjollos

In 13543:

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

comment:4 Changed 3 years ago by rjollos

  • Resolution set to fixed
  • Status changed from accepted to closed
  • Trac Release changed from 0.12 to 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.

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.