Opened 7 years ago
Last modified 7 years ago
#55070 new enhancement
Trac: Rename Version field to MacPorts Version
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | trac | Version: | |
Keywords: | Cc: | ||
Port: |
Description
I'd like to see the Trac "Version" field renamed to "MacPorts Version", if possible. Too often we get people setting that field to the version number of the port instead of the version number of MacPorts.
Change History (6)
comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 follow-up: 3 Changed 7 years ago by raimue (Rainer Müller)
Trac does not seem to support it in an easy way: https://trac.edgewall.org/ticket/9131
One solution could be a custom Genshi template to replace the "Version" string with our own text.
comment:3 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to raimue:
Trac does not seem to support it in an easy way: https://trac.edgewall.org/ticket/9131
Yeah I found that too.
One solution could be a custom Genshi template to replace the "Version" string with our own text.
That sounds promising!
comment:4 Changed 7 years ago by neverpanic (Clemens Lang)
Component: | server/hosting → trac |
---|
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Alternately, we could change the values in the Version field from e.g. "2.4.2" to "MacPorts 2.4.2". This would be consistent with how we already handle the Milestone field.
comment:6 Changed 7 years ago by raimue (Rainer Müller)
To rename the version field, I think we would have to add another template like that for the keywords, but match both the header and the edit form. https://github.com/macports/trac.macports.org/blob/e71635b2abc8a1dec1d9f9e2098d1dd4d35bb2a4/templates/site.html#L32-L38
Recent examples: #55063, #54951