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

[RHELC-1425] Remove deprecated CLI arguments #1058

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

Venefilyn
Copy link
Member

@Venefilyn Venefilyn commented Jan 30, 2024

This removes a few deprecated CLI arguments, they will no longer work
or give a warning about its deprecation.

This includes

  • Removal of convert2rhel -f|--password-from-file
  • Removal of unused convert2rhel --keep-rhsm

Jira Issues: RHELC-1425

Checklist

  • PR has been tested manually in a VM (either author or reviewer)
  • Jira issue has been made public if possible
  • [RHELC-] is part of the PR title
  • GitHub label has been added to help with Release notes
  • PR title explains the change from the user's point of view
  • Code and tests are documented properly
  • The commits are squashed to as few commits as possible (without losing data)
  • When merged: Jira issue has been updated to Release Pending if relevant

@Venefilyn Venefilyn added kind/breaking Indicates this will require major version update tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`. labels Jan 30, 2024
@has-bot
Copy link
Member

has-bot commented Jan 30, 2024

/packit test --labels sanity


@oamg/conversions-qe please review results and provide ack.

@Venefilyn Venefilyn marked this pull request as draft January 30, 2024 17:41
@Venefilyn Venefilyn force-pushed the chore/remove-deprecated-cli-args branch 2 times, most recently from 013397c to dc7d451 Compare February 27, 2024 14:11
Copy link

codecov bot commented Feb 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.37%. Comparing base (8f40f40) to head (57818d8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1058      +/-   ##
==========================================
- Coverage   95.38%   95.37%   -0.02%     
==========================================
  Files          51       51              
  Lines        4616     4603      -13     
  Branches      817      813       -4     
==========================================
- Hits         4403     4390      -13     
  Misses        137      137              
  Partials       76       76              
Flag Coverage Δ
centos-linux-7 90.44% <100.00%> (-0.03%) ⬇️
centos-linux-8 91.44% <100.00%> (-0.03%) ⬇️
centos-linux-9 91.50% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Venefilyn
Copy link
Member Author

/packit test --labels sanity

@Venefilyn Venefilyn marked this pull request as ready for review February 27, 2024 15:22
@bookwar bookwar changed the title breaking change: Remove deprecated CLI arguments [RHELC-1425] breaking change: Remove deprecated CLI arguments Feb 28, 2024
# corner case: password on CLI or in password file and activation-key in the config file
# password from CLI has precedence and activation-key must be deleted (unused)
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
# corner case: password on CLI or in password file and activation-key in the config file
# password from CLI has precedence and activation-key must be deleted (unused)
# corner case: password on CLI and activation-key in the config file
# password from CLI has precedence and activation-key must be deleted (unused)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks!

@Venefilyn Venefilyn force-pushed the chore/remove-deprecated-cli-args branch from dc7d451 to c922249 Compare March 5, 2024 18:02
@Venefilyn Venefilyn requested a review from hosekadam March 5, 2024 18:02
@Venefilyn Venefilyn force-pushed the chore/remove-deprecated-cli-args branch 2 times, most recently from e7667a3 to d79b63a Compare March 6, 2024 11:43
@hosekadam
Copy link
Member

/packit test --labels sanity

Copy link
Member

@hosekadam hosekadam Mar 6, 2024

Choose a reason for hiding this comment

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

I'm just wondering if those changes are related to this PR or those are some forgotten changes from something different.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah you're right! While generating locally I had to change it. Will fix

@Venefilyn Venefilyn force-pushed the chore/remove-deprecated-cli-args branch from d79b63a to a571818 Compare March 11, 2024 13:39
This removes a few deprecated CLI arguments, they will no longer work
or give a warning about its deprecation.

This includes
- Removal of `convert2rhel -f|--password-from-file`
- Removal of unused `convert2rhel --keep-rhsm`
@Venefilyn Venefilyn force-pushed the chore/remove-deprecated-cli-args branch from a571818 to 57818d8 Compare March 11, 2024 15:28
Copy link
Contributor

@pr-watson pr-watson left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@Venefilyn Venefilyn merged commit 36d3629 into oamg:main Mar 12, 2024
28 of 57 checks passed
@Venefilyn Venefilyn deleted the chore/remove-deprecated-cli-args branch March 12, 2024 21:03
@hosekadam hosekadam mentioned this pull request May 27, 2024
@hosekadam hosekadam changed the title [RHELC-1425] breaking change: Remove deprecated CLI arguments [RHELC-1425] Remove deprecated CLI arguments May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/breaking Indicates this will require major version update tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants