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

ZOE 3.0.0 - Breaking change on zapp.yaml - Migration Automation #291

Open
FALLAI-Denis opened this issue Nov 23, 2022 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@FALLAI-Denis
Copy link

FALLAI-Denis commented Nov 23, 2022

Hi,

Version 3.0.0 of Z Open Editor introduced a breaking change in the structure of property groups in the zapp.yaml file: the search for copybooks / includes is no longer operational (no compatibility mode) until the zapp.yaml file is modified to meet the new validation scheme.

Given that our sources are managed under Git, with many Repositories, but also many branches, this manual work of restructuring zapp.yaml files is cumbersome and error-prone, especially since it must be provided by developers and not by administrators.

It would have been desirable for the migration to be automatic through Z Open Editor:

  • detection of the presence of a zapp.yaml file in the old format, (for example presence of a "property-groups" property)
  • automatic triggering of a migration procedure from old format to new format, (it is considered that the old format zapp.yaml file is "well formed" and validated by its old schema)

In the absence of this automation integrated into Z Open Editor, would you be able to provide a migration script for the zapp.yaml file to be triggered manually to avoid input errors and the loss of time performing this migration manually?

We can develop this migration script ourselves, but I think that all users will have exactly the same problem and will have to do exactly the same migration, with the same transformation rules.

@phaumer
Copy link
Member

phaumer commented Nov 28, 2022

Thanks. That was the reason we posted about these breakages and shown the new format in the discussion forum early so that people could prepare.

Writing a script will take development resources away from other work; so we have to evaluate the pros and cons. If other users also feel strongly about it, please let us know in this issue.

@phaumer phaumer added the enhancement New feature or request label Nov 28, 2022
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