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

Handle "removed" repository (or not explicitly configured yet) #42

Open
tegioz opened this issue May 1, 2023 · 0 comments
Open

Handle "removed" repository (or not explicitly configured yet) #42

tegioz opened this issue May 1, 2023 · 0 comments

Comments

@tegioz
Copy link
Contributor

tegioz commented May 1, 2023

There is one repository operation not supported yet: when a repository is removed from the configuration file (or when it was never in the configuration file but it exists on the service).

We have a few options to handle this:

  • Reset all repository permissions and set its visibility to private, making it not accessible until it's added to the configuration (IIRC this is what Sheriff does). This causes situations like the one with the CLOWarden repo last week when we transferred it to the organization and we couldn't access it. Not a big deal though, just wanted to mention it. Issues assignments were lost and not recovered when we got access back.

  • Ignore it, like if we didn't want it to be handled by CLOWarden unless it's added explicitly to the configuration file.

  • We could also archive it, although this is probably a bit too aggressive and could cause other problems.

What do you think @jeefy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant