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

APP-6993: Deprecate legacy auth-app commands in favor of oauth-app commands #4732

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

jr22
Copy link
Member

@jr22 jr22 commented Jan 21, 2025

We now have other CLI commands that do the exact same thing but call our new apis (oauth-app is the command)

Removing these legacy commands in favor of the new ones. Will make sure docs are updated accordingly

this is part of a series of PRs to deprecate these protos and CLI commands:

@jr22 jr22 requested a review from a team as a code owner January 21, 2025 21:54
@jr22 jr22 requested review from stuqdog and lia-viam January 21, 2025 21:54
@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Jan 21, 2025
@@ -2755,106 +2755,6 @@ This won't work unless you have an existing installation of our GitHub app on yo
},
},
},
{
Name: "auth-app",
Copy link
Member Author

@jr22 jr22 Jan 21, 2025

Choose a reason for hiding this comment

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

Question: anything special i should do when removing this command? is this an ok breaking change? dont think anyone was using these since they werent feature complete. ill make sure docs are updated too

Copy link
Member

Choose a reason for hiding this comment

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

dont think anyone was using these since they feature complete.

I'm not sure I understand this sentence, do you mind rephrasing?

Re: the breaking change, I guess I want to understand a little bit more what the impetus for this is. It looks to me like the proto AuthApp methods still exist... is there a plan to delete those entirely? If not, how do we intend for them to still be used, and why are we wanting to delete them from the CLI but not elsewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

this is part of a series of PRs to deprecate these protos and CLI commands:

Ill add these links to the PR description.

As for why we're doing this... we created these commands initially almost as a quick MVP for people creating auth apps. After we created them, we realized they were missing quite a few features for people to really be able to use them to effectively create new auth applications. We recently completed a new project to add those missing features and as part of that we created other commands that duplicated this functionality (oauth-app create etc). We created duplicate commands because we realized the features belonged in a different gRPC service and needed wanted more specific CLI commands.

Copy link
Member

Choose a reason for hiding this comment

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

Got it, thanks for clarifying! In that case, this looks reasonable to me :)

@jr22 jr22 requested a review from JosephBorodach January 21, 2025 21:55
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 22, 2025
@jr22 jr22 merged commit 89c8bef into viamrobotics:main Jan 24, 2025
16 checks passed
@jr22 jr22 deleted the APP-6993 branch January 24, 2025 16:44
Copy link
Contributor

@JosephBorodach JosephBorodach left a comment

Choose a reason for hiding this comment

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

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants