Peter
I have hacked my own system to replace Owner with Developer throughout
and Cc with Stakeholders throughout. It works well enough for my project
but it isn't good enough for me to contribute a patch yet.
I have not found access to trac.ini values without deliberately finding
the file and reading it. I'm sure there must be an object in ticket.api
with the necessary data or which could be persuaded to get it. If you
can help I would appreciate it. And that would let me clean it all up
and offer a patch.
Other issues/work of concern include:
1. Translations of new labels
2. Documentation
3. Work required in site.html (I could offer a new site.html.sample
with the necessary items in there but commented out. Might be
independently useful anyway.)
And finally, I haven't written any unit tests because I haven't set up
the testing framework as per the Trac developer docs. Time has been
against me.
Thank you (and Ryan) very much for your help. I wasn't prepared to
announce my project as open source until Trac fitted the governance we
have adopted. That is one barrier knocked over - even if temporarily!
Cheers
Mike
On 4/08/2014 3:35 PM, Peter Suter wrote:
On 04.08.2014 00:53, Mike Dewhirst wrote:
I'll look at forking Trac for a while with a view to parameterising so
the owner can be replaced with developer in trac.ini
It seems my problem isn't unique so it might be useful in the longer
term (no pun intended).
Similar existing features are relabelling the navigation menu[1][2]:
[mainnav]
wiki.label = Home
And labelling the custom ticket fields[3][4]:
[ticket-custom]
relnotes = textarea
relnotes.label = Release notes
Also the labels for standard ticket fields are already nicely
centralized in TicketSystem.fields / get_ticket_field_labels() [5].
So if you can nicely extend that to a similar simple reconfiguration of
all standard ticket fields, I could imagine that such a patch would be
gladly accepted.
[1] http://trac.edgewall.org/wiki/TracNavigation
[2]
http://trac.edgewall.org/browser/trunk/trac/web/chrome.py?version=12992&marks=737#L730
[3] http://trac.edgewall.org/wiki/TracTicketsCustomFields
[4]
http://trac.edgewall.org/browser/trunk/trac/ticket/api.py?version=12992&marks=412#L400
[5]
http://trac.edgewall.org/browser/trunk/trac/ticket/api.py?version=12992&marks=291-310,316-391#L291
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.