Skip to content

Deprecate depends_on in favor of dependson#886

Merged
olblak merged 7 commits into
updatecli:mainfrom
olblak:fixDependsOn
Sep 24, 2022
Merged

Deprecate depends_on in favor of dependson#886
olblak merged 7 commits into
updatecli:mainfrom
olblak:fixDependsOn

Conversation

@olblak

@olblak olblak commented Sep 23, 2022

Copy link
Copy Markdown
Member

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>

@lemeurherve lemeurherve left a comment

Copy link
Copy Markdown
Member

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?

Comment thread pkg/core/pipeline/resource/main.go Outdated
Comment thread pkg/core/pipeline/resource/main.go Outdated
Comment thread pkg/core/pipeline/resource/main.go Outdated
Comment thread pkg/core/pipeline/condition/main.go Outdated
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

olblak commented Sep 24, 2022

Copy link
Copy Markdown
Member Author

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.

2 participants