-
Notifications
You must be signed in to change notification settings - Fork 81
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
Basic Usage Docs #68
Comments
Can you update the last README.md with the following instruction? To actually generate a script, you'll need to set an
To test, you can run octoshift disable-ado-repo --ado-org <YOUR ADO organization name> --ado-team-project <Your ADO Project name> --ado-repo <Your repo name> Make sure to enable your Azure DevOps Repo again before you start the migration. Performing any of the commands that actually touch GitHub will need the
For example, the following command with generate a Bash script file called octoshift generate-script --github-org <Your GitHub Organization> --ado-org <Your ADO organization> --output migrate.sh
Running that generated file, for example
|
We'll need to condense this down into something easier for customers to consume, but here's the detailed info on what scopes are needed for which commands: generate-script generate-script (--repos-only) migrate-repo add-team-to-repo configure-autolink create-team lock-ado-repo disable-ado-repo rewire-pipeline share-service-connection integrate-boards grant-migrator-role revoke-migrator-role |
Create some basic docs on how to use the CLI tooling. Especially what PAT scopes are needed in order to run the various commands.
I've been testing with All Orgs + Full Access for the ADO PAT, and similarly broad scopes for the GH PAT.
The scopes needed will be diff for diff commands (e.g. generate-script only does ADO reads, but obviously some other commands are writing stuff).
There's another issue #20 to code in some explicit tests for the right permissions, this issue represents just figuring out what's needed and documenting it.
The text was updated successfully, but these errors were encountered: