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

feat: prevent default vars copy #484

Closed

Conversation

PaulFarault
Copy link
Contributor

Which issue(s) this PR fixes

Fixes #320

Additional comments

Agreements

@PaulFarault PaulFarault self-assigned this Oct 26, 2023
@PaulFarault PaulFarault linked an issue Oct 26, 2023 that may be closed by this pull request
@PaulFarault
Copy link
Contributor Author

This is a work in progress. I still need to merge tdp_vars with all tdp_vars_default to be able to validate the variables' schema.

@PaulFarault PaulFarault force-pushed the 320-do-not-copy-tdp_vars_default-in-tdp_vars branch from c305796 to 4919629 Compare October 27, 2023 14:34
tdp/core/collections.py Outdated Show resolved Hide resolved
@PaulFarault PaulFarault force-pushed the 320-do-not-copy-tdp_vars_default-in-tdp_vars branch 3 times, most recently from 9df8f5a to 9c82f03 Compare November 8, 2023 15:10
@PaulFarault
Copy link
Contributor Author

Force pushed after rebase on master

@PaulFarault
Copy link
Contributor Author

We should base the repository creation on the default variables instead of the collections. This ensure that the service is expecting some variables (as services can be artificially added by users, without requiring any vars).

@PaulFarault PaulFarault force-pushed the 320-do-not-copy-tdp_vars_default-in-tdp_vars branch from 9c82f03 to 03cf6fc Compare November 22, 2023 14:19
@PaulFarault PaulFarault closed this Dec 3, 2024
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.

Do not copy tdp_vars_default in tdp_vars
2 participants