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

feat: be able to rollback a patch from the command line #2818

Open
eseidel opened this issue Jan 30, 2025 · 3 comments
Open

feat: be able to rollback a patch from the command line #2818

eseidel opened this issue Jan 30, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@eseidel
Copy link
Contributor

eseidel commented Jan 30, 2025

A customer asked to be able to control rollbacks from the command line.

For now I've directed them to our API:
https://github.com/shorebirdtech/shorebird/tree/main/packages/shorebird_code_push_client

@eseidel
Copy link
Contributor Author

eseidel commented Jan 30, 2025

Their use case is that they would like to be able to handle rollbacks from within their existing CI interfaces separate from Shorebird's dashboard.

@bryanoltman
Copy link
Contributor

I don't believe there's anything in the code push client that supports rollbacks—we've done all of this on the console

@bryanoltman
Copy link
Contributor

I'd want to think more about what this would look like. The rollback url is api.shorebird.dev/api/v1/apps/[appId]/releases/[releaseId]/patches/[patchId]/rollback.dart, where neither releaseId or patchId are made especially visible to our users. I suppose something like:

shorebird patches rollback --app-id=xxx --release-version=1.2.3+4 --patch-number=42

Might work?

@eseidel eseidel added the enhancement New feature or request label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants