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

Force generate_catalog_edc_code to always re-run gaiac. #760

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

simone-gaia
Copy link
Contributor

generate_catalog_edc_code cannot depend on gaia targets otherwise it would always be built. The side effect is that the latest generated files are always considered fresh, therefore, if you change the catalog schema and call generate_catalog_edc_code the old files are picked instead of being regenerated.

To resolve this issue, I delete the generated catalog files right after copying them in the Gaia source tree.

generate_catalog_edc_code cannot depend on gaia targets otherwise it would always be built. The side effect is that the latest generated files are always considered fresh, therefore, if you change the catalog schema and call generate_catalog_edc_code the old files are picked instead of being regenerated.

To resolve this issue, I delete the generated catalog files right after copying them in the Gaia source tree.
@simone-gaia simone-gaia merged commit e66184e into master Jun 25, 2021
@simone-gaia simone-gaia deleted the simone-generate_catalog_always_run branch August 11, 2021 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants