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

Create management command for onboarding an existing app #8

Closed
joshuadavidthomas opened this issue Nov 15, 2024 · 1 comment · Fixed by #11
Closed

Create management command for onboarding an existing app #8

joshuadavidthomas opened this issue Nov 15, 2024 · 1 comment · Fixed by #11

Comments

@joshuadavidthomas
Copy link
Owner

Right now an Installation is only created from the "installation.created" webhook event. If someone wants to use this library with an app that already exists, they won't ever get this event so the installation will never be created.

There should be a way to onboard an existing application and installation -- my first thought was a management command, but open to other solutions.

@joshuadavidthomas
Copy link
Owner Author

I suppose someone could theoretically uninstall and reinstall the application, but I'm not sure I like that because I'm not totally sure of the knock-on effects. You would lose the history of webhook deliveries for one, and you would probably have to go through authorizating the new app for all repos and events again.

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 a pull request may close this issue.

1 participant