Skip to content

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.

2 participants