-
-
Notifications
You must be signed in to change notification settings - Fork 16
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: implement scopable deploy keys #445
feat: implement scopable deploy keys #445
Conversation
@loispostula wow, thank you for this contribution! Good work, i will review it the next days :) Really appreciate your work! |
Hi @PacoVK any chance to get a review soon? |
@loispostula i am currently on it, but i am also a bit limited in time. So far looks good, to your question, there is not yet a migration mechanism in place. If you have suggestions, they are welcome. Most easy solution is to not migrate the keys, but set the scope per default not to namespace. |
@loispostula could you also please add some documentation how eg. a namespace-scoped deploy key should look like? |
@PacoVK Regarding the migration, I had a look at implementing a This means that a deploy key called Instead of going the migration route, I thus implemented retro-compatibility for existing keys. Finally regarding documentation, happy to do it, but unsure the best place to do so |
@loispostula thanks, yeah makes sense to support backwards-compatibility for the deploykeys. |
@PacoVK thanks for the review, I've added the documentation, I think it's plenty sufficient to explain the behavior, but I'm happy to adapt |
i think this looks complete! Thanks again, i will try to finish review, integrate and release that soon (hopefully this week already) Thanks again for the good work! |
Description
implements #395
Type of change
Please delete options that are not relevant.
Improvements
@PacoVK I tested the PR and it works fairly well, the only remaining issues is the migration of existing keys. Is there already a migration mechanism in place? Migrating a key to the scopable one is easy, I just did not find where i could put the logic