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

drop support for beta functionality #3107

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

lucasmoura
Copy link
Contributor

@lucasmoura lucasmoura commented May 10, 2024

Why is this needed?

The Pro client doesn't support any beta services at the moment. Additionally, we want to update our beta service logic for the next beta service we support. Due to that, we are removing the current code for beta support. However, we are keeping the beta related CLI entrypoints for compatibility reasons.

Test Steps

Verify that none of our tests are impacted by this

Checklist

  • I have updated or added any unit tests accordingly
  • I have updated or added any integration tests accordingly
  • Changes here need to be documented, and this was done in:

Does this PR require extra reviews?

  • Yes
  • No

The Pro client doesn't support any beta services at the moment.
Additionally, we want to update our beta service logic for the next beta
service we support. Due to that, we are removing the current code for
beta support. However, we are keeping the beta related CLI entrypoints
for compatibility reasons.
Copy link

Jira: This PR is not related to a Jira item. (The PR title does not include a SC-#### reference)

GitHub Issues: No GitHub issues are fixed by this PR. (No commits have Fixes: #### references)

Launchpad Bugs: No Launchpad bugs are fixed by this PR. (No commits have LP: #### references)

Documentation: The changes in this PR do not require documentation changes.

👍 this comment to confirm that this is correct.

Copy link
Member

@renanrodrigo renanrodrigo left a comment

Choose a reason for hiding this comment

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

This is good LGTM
Thanks much

@@ -281,7 +281,7 @@ Feature: Enable command behaviour when attached to an Ubuntu Pro subscription
"""
This command must be run as root (try using sudo).
"""
And I verify that running `pro enable esm-apps --beta` `with sudo` exits `1`
Copy link
Member

Choose a reason for hiding this comment

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

There is one test ( features/attached_enable.feature:177 ) where the --beta flag is kept. I don't know if that was intentional, but please keep it there so we are sure the flag is not breaking anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that was intentional due to the reason you mentioned.
I am also not removing mentions of the allow_beta support through the config file, so we can also remember it in the future

@orndorffgrant orndorffgrant merged commit bffcf91 into next-v33 May 24, 2024
25 of 30 checks passed
@orndorffgrant orndorffgrant deleted the remove-beta-support branch May 24, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants