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

cleanup(pipeline) remove deprecated code for prefix and postfix #591

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Mar 20, 2022

This PR removes the deprecated code for "prefix" and "postfix" (which have been replaced by transformers more than 1 year ago).

Depends on #590 (as there is a common change on the signature of a call to ScmHandler.Init())

Associated documentation PR: updatecli/website#264

Test

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

make test

Additional Information

Tradeoff

Potential improvement

lemeurherve
lemeurherve previously approved these changes Mar 20, 2022
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.

🧹👏

@olblak
Copy link
Member

olblak commented Mar 20, 2022

I need to double check but I think prefix and postfix are still "used" in manifest example and documentation

@olblak
Copy link
Member

olblak commented Mar 20, 2022

I mean we should be sure to remove anu occurrence of this deprecated syntax

@dduportal
Copy link
Contributor Author

I mean we should be sure to remove anu occurrence of this deprecated syntax

Already done in updatecli/website#264 :)

@dduportal dduportal force-pushed the deprecate/prefix-and-postfix branch from 5c845a3 to a06bcce Compare March 20, 2022 17:19
@dduportal
Copy link
Contributor Author

  • I'm waiting for review from 2 maintainers on this one (to be really sure that I did not do something wrong).
  • Proposed milestone: 0.22.3

@dduportal dduportal added this to the 0.22.3 milestone Mar 20, 2022
lemeurherve
lemeurherve previously approved these changes Mar 21, 2022
pkg/plugins/scms/git/scm.go Outdated Show resolved Hide resolved
Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
@dduportal
Copy link
Contributor Author

Last one \o/

Copy link
Member

@olblak olblak left a comment

Choose a reason for hiding this comment

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

Glad to see old code going away which makes me realize how much updatecli grew since the beginning of the project

@dduportal dduportal merged commit 254e2c7 into updatecli:main Mar 22, 2022
@dduportal dduportal deleted the deprecate/prefix-and-postfix branch March 22, 2022 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup transformers Related to transformers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants