Skip to content

[Feature] CNF Installation (2.1), Config format transformer for older version #2130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
svteb opened this issue Aug 9, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@svteb
Copy link
Collaborator

svteb commented Aug 9, 2024

2nd step of #2120.

The changes to config format proposed in #2121 would make the pre-existing configs of users obsolete, forcing the users to rewrite them. To avoid this hassle a transformer will be implemented that will transform the old format to the newer one.

Possible solution:
Parse/read the file with YAML module -> Change the fields appropriately and create a new YAML structure -> Structure gets stored in class proposed by #2121 (Not part of this issue).

We had a short discussion and it would likely be possible to generate new configs which would resolve the 3rd step of #2120.

As of now the structure of the new config file has not been confirmed (draft in #2129).

@svteb svteb added the enhancement New feature or request label Aug 9, 2024
svteb added a commit to svteb/testsuite that referenced this issue Aug 12, 2024
Refs: lfn-cnti#2130
- The transformer transforms the old config according to the
structure proposed in lfn-cnti#2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit to svteb/testsuite that referenced this issue Aug 12, 2024
Refs: lfn-cnti#2130
- The transformer transforms the old config according to the
structure proposed in lfn-cnti#2129.

Signed-off-by: svteb <[email protected]>
@svteb svteb changed the title [Feature] CNF Installation (2), Config format transformer for older version [Feature] CNF Installation (2.1), Config format transformer for older version Aug 20, 2024
svteb added a commit to svteb/testsuite that referenced this issue Sep 2, 2024
Refs: lfn-cnti#2130
- Generic transformer for cnf yaml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in lfn-cnti#2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit to svteb/testsuite that referenced this issue Sep 5, 2024
Refs: lfn-cnti#2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in lfn-cnti#2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit to svteb/testsuite that referenced this issue Sep 9, 2024
Refs: lfn-cnti#2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in lfn-cnti#2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit to svteb/testsuite that referenced this issue Sep 13, 2024
Refs: lfn-cnti#2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in lfn-cnti#2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this issue Sep 13, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
kosstennbl pushed a commit that referenced this issue Sep 16, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
kosstennbl pushed a commit that referenced this issue Sep 16, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this issue Sep 19, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
kosstennbl pushed a commit that referenced this issue Sep 19, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this issue Sep 23, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
svteb added a commit that referenced this issue Sep 25, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
martin-mat pushed a commit that referenced this issue Sep 26, 2024
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
@kosstennbl
Copy link
Collaborator

Done #2147

LuciaSirova pushed a commit that referenced this issue Mar 27, 2025
Refs: #2130
- Generic transformer for cnf-testsuite.yml configs to newer versions.
- Extendable through addition of new transformation rules.
- The current functionality transforms to configv2, the structure of which
was proposed in #2129.

Signed-off-by: svteb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants