Template talk:GitStatus

From FlightGear wiki
Jump to: navigation, search

Updating and improving the status template(s)

{{GitStatus}}, {{GitStatus:closed}}, {{GitStatus:frozen}} and {{GitStatus:open}}

As they are largely undocumented, do not use parameters and some data, like the next release and the dates is repeated many times and have to be edited in many places, maintenance is a hassle. In essence they could be more automated and better documented so that maintaining them would be more straight forward.

Some things I could see useful is having the current and next releases as separate templates (they could be useful in other places as well) and having to edit the dates only in special circumstances and doing that through parameters in those cases. Also, why four separate templates?

Are there other functionality you guys always have wanted but have not figured out or taken time to add?

Johan G (Talk | contribs) 22:37, 17 December 2014 (UTC)

See FlightGear wiki:Village pump/Archive 2013#Automating Template:Git status
Gijs (talk) 12:57, 18 December 2014 (UTC)
Ah, I had completely forgotten about that. Thanks Gijs.
There seem to be some things that could be using parameters:
backlog, next_changelog
Link to the next changelog
next_version
Next version
closed_until
Forcing a closed state by giving the (estimated) end of the closed state.
frozen_until
Forcing a frozen state by giving the (estimated) end of the frozen state. For situations like the release of 3.2(?).
The year used by the defaults could and probably should be completely automated using {{CURRENTYEAR}}.
In order to call {{GitStatus}} without parameter there could be a subtemplate, for example {{GitStatus/main}} called from {{GitStatus}} using those parameters. That way any irregular updates would only have to be added to the parameters {{GitStatus}} use when calling {{GitStatus/main}}.
The template would be shown just like before for now.
A draft of the documentation of the functionality is for now available in my sandbox.
Any comments or further ideas are most welcome!
Johan G (Talk | contribs) 20:14, 18 December 2014 (UTC)