Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Step 1. From your source root in the sipXecs source tree, select the proper source branch and run the following:

Code Block

cd OpenACD
git remote add upstream githttps://github.com/VagabondOpenACD/OpenACD.git
git fetch upstream
git checkoutbranch -bt upstream remotes/upstream/master
git checkout master
git merge upstream

Step 2. Change read-only git url to read/write. NOTE: For this step you need sipXecs commit rights.
Edit OpenACD/.git/config and change

Code Block

[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = git://github.com/dhublerSIPfoundry/OpenACD.git

to

Code Block

[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = git@github.com:dhublerSIPfoundry/OpenACD.git

Step 3. You've updated your local copy, but now you need to commit your changes to sipXecs project. These are the same general steps one would follow for submitting any fix to git submodules. This is a two step process: first pushing the changes to the git submodule itself then updating sipXecs to point to that new revision in the submodule.

Code Block

git push origin master
cd ..
git commit -m 'Updated lastest OpenACD' OpenACD

...

git push origin master

Done. Going forward... you can skip the steps to step git remote add... and instead of running git checkout -b upstream upstream/master you can just run git checkout upstream but the rest of the instructions remain the same.

So what you've done by following these steps is to create a way to track and pull in changes from upstream for a given submodule. The sipXecs project has no idea where these changes come from and it doesn't need to care. As such, multiple developers can perform these steps whenever the need arises.

Note

Starting with June 23 the OpenACD repository was moved from git://github.com/Vagabond/OpenACD.git to https://github.com/OpenACD/OpenACD.git