Skip to content
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

Config as Code: editing variables shuffles them around in variables.ocl #9131

Open
ArturDorochowicz opened this issue Nov 16, 2024 · 0 comments
Labels
kind/bug This issue represents a verified problem we are committed to solving

Comments

@ArturDorochowicz
Copy link

ArturDorochowicz commented Nov 16, 2024

Severity

No response

Version

2024.3 (all versions with CaC ?)

Latest Version

None

What happened?

With Config as Code project, editing a variable in the web UI, in most instances, moves it to a completely new place in variables.ocl file. This makes any sort of review and tracking extremely hard. And these are exactly the sort of things that CaC should be enabling and making easier.

The entries in variables.ocl should be normalized when saving, e.g. by sorting alphabetically. I'm truly baffled why this wasn't done this way in the first place.

There's also a smaller issue of empty description properties that appear out of nowhere. They should not be added.

Reproduction

Add a CaC project, add a couple of variables. Commit.
Edit values of the variables. Commit.
Observe that entries were shuffled around in variables.ocl instead of being changed in place. The diff between commits is very hard to understand.

Error and Stacktrace

No response

More Information

No response

Workaround

No response

@ArturDorochowicz ArturDorochowicz added the kind/bug This issue represents a verified problem we are committed to solving label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

1 participant