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

Migration subcommand deprecation message added #3319

Merged
merged 3 commits into from
Jul 2, 2020

Conversation

Venkat19967
Copy link
Contributor

@Venkat19967 Venkat19967 commented Jun 30, 2020

Description of the change:
OSDK-1312

Notifies the user about the deprecation of the migration sub-command

Checklist

If the pull request includes user-facing changes, extra documentation is required:

migration:
header: The migrate subcommand has been deprecated
body: >
```operator-sdk migrate``` has been deprecated
Copy link
Member

Choose a reason for hiding this comment

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

Please add a new line here. Also, you would have to run make generate and commit the changes, it would update the cli-docs for this command.

- description: >
The migrate sub-command is deprecated
kind: deprecation
breaking: true
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if deprecation can be a breaking change. I think this should be false.

Comment on lines 6 to 9
migration:
header: The migrate subcommand has been deprecated
body: >
```operator-sdk migrate``` has been deprecated
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
migration:
header: The migrate subcommand has been deprecated
body: >
```operator-sdk migrate``` has been deprecated

@@ -41,7 +41,8 @@ func NewCmd() *cobra.Command {
Short: "Adds source code to an operator",
Long: `operator-sdk migrate adds a main.go source file and any associated source files` +
`for an operator that is not of the "go" type.`,
RunE: migrateRun,
RunE: migrateRun,
Deprecated: "The migrate sub-command is deprecated",
Copy link
Member

@estroz estroz Jul 1, 2020

Choose a reason for hiding this comment

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

Suggested change
Deprecated: "The migrate sub-command is deprecated",
Deprecated: "and will be removed by the operator-sdk v1.0.0 release",

Copy link
Member

@fabianvf fabianvf left a comment

Choose a reason for hiding this comment

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

/lgtm pending Eric/Varsha's approval

@@ -41,7 +41,8 @@ func NewCmd() *cobra.Command {
Short: "Adds source code to an operator",
Long: `operator-sdk migrate adds a main.go source file and any associated source files` +
`for an operator that is not of the "go" type.`,
RunE: migrateRun,
RunE: migrateRun,
Deprecated: "and will be removed soon",
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Deprecated: "and will be removed soon",
Deprecated: "and will be removed prior to operator-sdk v1.0.0",

Copy link
Member

@varshaprasad96 varshaprasad96 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 2, 2020
@jmrodri jmrodri merged commit 19b21f9 into operator-framework:master Jul 2, 2020
@Venkat19967 Venkat19967 deleted the deprecate_migrate branch July 2, 2020 19:35
camilamacedo86 pushed a commit to camilamacedo86/operator-sdk that referenced this pull request Jul 3, 2020
* Migration subcommand deprecation message added
* Generated the docs and modified changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants