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

Deprecate depends_on in favor of dependson #886

Merged
merged 7 commits into from
Sep 24, 2022

Conversation

olblak
Copy link
Member

@olblak olblak commented Sep 23, 2022

Signed-off-by: Olblak me@olblak.com

Align depends_on syntax with the current manifest convention.
This also remove the confusion introduce by jsonschema

Test

To test this pull request, you can run the following commands:

cp <to_package_directory>
go test

Additional Information

Tradeoff

Potential improvement

Signed-off-by: Olblak <me@olblak.com>
Copy link
Member

@lemeurherve lemeurherve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can the depends_on deprecation be handled in a single place instead of being duplicated 3 times?

pkg/core/pipeline/resource/main.go Outdated Show resolved Hide resolved
pkg/core/pipeline/resource/main.go Outdated Show resolved Hide resolved
pkg/core/pipeline/resource/main.go Outdated Show resolved Hide resolved
pkg/core/pipeline/condition/main.go Outdated Show resolved Hide resolved
olblak and others added 5 commits September 24, 2022 12:58
Co-authored-by: Hervé Le Meur <91831478+lemeurherve@users.noreply.github.com>
Co-authored-by: Hervé Le Meur <91831478+lemeurherve@users.noreply.github.com>
Co-authored-by: Hervé Le Meur <91831478+lemeurherve@users.noreply.github.com>
Signed-off-by: Olblak <me@olblak.com>
@olblak
Copy link
Member Author

olblak commented Sep 24, 2022

Can the depends_on deprecation be handled in a single place instead of being duplicated 3 times?

Well we could refactor the code to do so but I don't think it's worth doing now.

Signed-off-by: Olblak <me@olblak.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants