tree: 65781df5c4606681ec9b8ebd1539caee2cfe0161 [path history] [tgz]
  1. create-gh-repo.sh
  2. create-gitbox-repo.sh
  3. gen-repo-candidates.sh
  4. git-find-large-files.sh
  5. jira_link_for_commit.sh
  6. migrate-to-git.sh
  7. README.md
  8. update-scm-info.sh
scripts/README.md

SCM Tooling

Git migration helpers

The workflow for migrating from Subversion to Git is the following:

  1. Generate the list of repository candidates

    $ ./tooling/scm/scripts/gen-repo-candidates.sh > repo-candidates.txt

  2. Create the remote repositories using the ASF self-service git tool

    $ ./tooling/scm/scripts/migrate-to-git.sh -r < repo-candidates.txt

Creating a repository can take up to one hour, so do this well in advance

  1. Extract the modules in individual repositories

    $ ./tooling/scm/scripts/migrate-to-git.sh -r < repo-candidates.txt

Also validate that the repositories created using step 2 are now live.

  1. Push the local changes to the remote repositories

    $ ./tooling/scm/scripts/migrate-to-git.sh -p < repo-candidates.txt