feat: repo org migration script support for single repo execution#202
Merged
feat: repo org migration script support for single repo execution#202
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for migrating individual enterprise repository clones from the openedx to edx GitHub organization, in addition to the existing bulk migration functionality. The changes enable developers to run repository-specific migration commands like make dev.migrate-repo-git-to-edx.license-manager.
Key changes:
- Added optional single-repository argument support to the migration shell script
- Renamed and updated Makefile targets to support both bulk and individual repo migrations
- Added pattern rules to enable service-specific shortcut syntax
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| migrate-repo-git-to-edx.sh | Added conditional logic to accept a single repository name as an argument and limit execution to that repository only |
| Makefile | Renamed migrate-enterprise-repos target to migrate-repo-git-to-edx, added dev.migrate-repo-git-to-edx.% pattern target, and created shortcut pattern rule using ALL_SERVICES_LIST |
Comments suppressed due to low confidence (1)
migrate-repo-git-to-edx.sh:31
- The script accepts an argument but doesn't validate if the provided repository name is valid. If an invalid repository name is passed (e.g., a typo), the script will silently skip it with "Skipping $repo (not found)" without indicating that the repository name itself might be incorrect. Consider adding validation to check if the provided repository is in the list of known repos, or at least provide a more informative message.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kiram15
approved these changes
Dec 9, 2025
Contributor
kiram15
left a comment
There was a problem hiding this comment.
LGTM! Just make sure to link this PR in the ticket itself as well
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.
ENT-11240
This enables support for the following make target: