Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This workflow may be used repeatedly anytime new work is to be moved from an external into an ACME subtree.

  1. Create and switch to a branch in which to conduct the work. Be sure to follow the branch naming conventions and other development practices.
  2. If the external code is to be completely replaced, create the branch from the commit where the code was last brought into the ACME repository (similar for the procedure for fixing a bug).
  3. The branch name should follow the form github-username/component/component.<version>_import.
  4. Add external git repo to as a remote in your local repository copy (git remote add -f --tags <external_name> <external_url>).
  5. MergeĀ  from external git repo to ACME (git merge --squash -X subtree=<external_subdir> --no-commit <external_commit>).
  6. Commit the change (git commit).
  7. Test and submit a pull request as defined in the development practices page.

...