Provides a mechanism to "lock" a source GH repo (#2)#424
Closed
pmartindev wants to merge 8 commits intogithub:mainfrom
Closed
Provides a mechanism to "lock" a source GH repo (#2)#424pmartindev wants to merge 8 commits intogithub:mainfrom
pmartindev wants to merge 8 commits intogithub:mainfrom
Conversation
* Added flag to lock GHES and GEC repos * Added flag to archive a GitHub Cloud repo This provides a way to essentially lock the source repo to ensure no changes are made during the migration * Updated unit tests for new flag * Address compiler warnings in CI process Added error handling to provide feedback when the repo cannot be archived. This is typically a sign of an issue with the PAT
Author
Contributor
|
I think this should be implemented as a separate |
Author
|
Hey @dylan-smith, sorry I linked the wrong issue in the comment 😭 It's corrected now. |
* Reverted lock repo changes This will be implemented as a command * Created archive-gh-repo command Allows for a user to put a repo into a "read-only" before a migration The goal is to ensure data integrity during a migration Added option to the generate-script command to use new command Created unit tests for new command and updated existing ones Added an integration test for the new command * Fixed white space issues * This fixes code from bad merge up stream * Reverted archive repo flag change Co-authored-by: Thomas Cappelletti <thomas.cappelletti@incyclesoftware.com>
Contributor
|
A better implementation would be to add the |
Contributor
|
Superseded by #589 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #385
Added a flag to allow for archiving the source repository before migration. This will allow migration users to block any changes to their repositories that would normally not be included in the migration. Looking for any feedback and discussion on the issue.