#4156 Please configure condfieldsgenshi plugin for fedora-badges trac instance for me
Closed: Fixed None Opened 10 years ago by adamwill.

Hi, infra folks. We're trying to use the condfieldsgenshi plugin:

http://trac-hacks.org/wiki/CondFieldsGenshiPlugin

to set up two different workflows within the fedora-badges trac, one for new badge requests, one for badge bugs. Unfortunately it has to be configured in a bit of trac.ini that admins don't have access to edit through the tracini-editing-plugin.

I think what I need for now is this:

[condfieldsgenshi]
tweaks = has_name, has_description, concept_review_passed, has_artwork, has_complete_yaml, needs_manual_award
default = disable
has_name.type_cond = New badge idea
has_description.type_cond = New badge idea
concept_review_passed.type_cond = New badge idea
has_artwork.type_cond = New badge idea
has_complete_yaml.type_cond = New badge idea
needs_manual_award.type_cond = New badge idea

Except I'm not sure if the ticket type "New badge idea" has a simpler name 'inside' trac somewhere, or if it needs to be in quotes. I can help test the changes if you ping me on IRC.

Thanks!


Oh, go fuck yourself through a hedge backwards, trac.

Correctly formatted version:

{{{
[condfieldsgenshi]
tweaks = has_name, has_description, concept_review_passed, has_artwork, has_complete_yaml, needs_manual_award
default = disable
has_name.type_cond = New badge idea
has_description.type_cond = New badge idea
concept_review_passed.type_cond = New badge idea
has_artwork.type_cond = New badge idea
has_complete_yaml.type_cond = New badge idea
needs_manual_award.type_cond = New badge idea
}}}

All set.

Added the config to the trac.ini for the project.

Login to comment on this ticket.

Metadata