You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
So, if we have a service whose configuration format changes dramatically (say, logstash from 1.0 to 1.2), we need to be able to generate the different formats.
@stdweird proposes to have, inside each service that has this issue, a sub-directory per version. For those services that exist already, we'd have a top-level main.tt file that just includes the main.tt for that version.
The current multi-version behaviour goes as follows:
If there is one or more subdirectory in the service that start with an integer, it is assumed that this service is versioned.
The tests are then searched and executed per verion.
The pan directory is unique for the service not for the versions. Making backwards compatible templates is the only way forward.
TT-files can be shared between versions (they inlcuee using a relative path that holds the version anyway).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So, if we have a service whose configuration format changes dramatically (say, logstash from 1.0 to 1.2), we need to be able to generate the different formats.
@stdweird proposes to have, inside each service that has this issue, a sub-directory per version. For those services that exist already, we'd have a top-level
main.tt
file that just includes themain.tt
for that version.For instance, in Logstash:
this allows for ever-changing file formats and yet to keep backwards compatibility.
The text was updated successfully, but these errors were encountered: