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

Implement upstream generating of data model in case schema was updated #171

Open
rkharisov opened this issue Oct 22, 2021 · 2 comments
Open
Labels
enhancement New feature or request iroha2

Comments

@rkharisov
Copy link
Contributor

Currently we need to track if schema was updated and manually download schema and regenerated models. It will be very convenient if it can be done automatically. How I see this

Possible flow:

  • merge in iroha2 repository to branch iroha2-dev branch triggers action in iroha2-java repository
  • action downloads schema.json artifact and compare hash of the downloaded artifact with previous one
  • if the hash is the same that means schema was not changed and nothing need to do
  • if it is different then action replace existing schema in repository and create pull request.
  • action updates schema version. This is final step for this action
  • in PR another action generates schema and run tests
@rkharisov rkharisov added enhancement New feature or request iroha2 labels Oct 28, 2021
@Mingela
Copy link
Contributor

Mingela commented Apr 25, 2023

Possible only for minor releases which is not usually case

@arndey
Copy link
Contributor

arndey commented Jul 4, 2023

Possible only for minor releases which is not usually case
agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request iroha2
Projects
None yet
Development

No branches or pull requests

3 participants