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

[WIP] Support repo unarchiving #193

Draft
wants to merge 1 commit into
base: main-enterprise
Choose a base branch
from

Conversation

tspascoal
Copy link
Collaborator

[WIP] Evaluating if more optimizations can be made when repo archive is not controlled via safe settings.

Adds support for unarchiving a previously archive repository.

If the repo is archived (and the archive config has been set to unarchive the repo) then other plugins will not be executed making unnecessary calls (they would fail since repo is in read only mode)

This is optimized for the case that the archive source of truth is configured via safe settings

If this isn't the case then plugins may fail if they try to make changes to archived repos, it will be their responsibility to optimize for this scenario.

If the repo is archived (and the archive config has been set) then other plugins will not be executed making unnecessary calls (they would fail since repo is in read only mode)

This is optimized for the case that the archive source of truth is configured via safe settings

If this isn't the case then plugins may fail if they try to make changes to archived repos, it will be their responsability to optimize for this scenario.
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 this pull request may close these issues.

1 participant