Media/WebRTC/Legacy Updating Process: Difference between revisions

Jump to navigation Jump to search
Replaced no longer valid SVN instructions with git instructions.
(40 updates)
(Replaced no longer valid SVN instructions with git instructions.)
Line 1: Line 1:
Process: rough, can use fleshing out
''Process: rough, can use fleshing out''<br />


* Get a copy of the stable branch from SVN:
<big>Get a copy of a stable branch from the webrtc.org repository</big>
** pushd somewhere; svn checkout http://webrtc.googlecode.com/svn/branches/40 && date >/tmp/date; popd
* Make a local clone of the webrtc.org repository:<br />
      git clone https://chromium.googlesource.com/external/webrtc
* Move into the new repository.
* Edit the file .git/config. In the [remote "origin"] section, add the line:<br />
      fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
* Save the file
* Run "git fetch". This will add references to the individual release branches.
* Run "git branch -r" to list the available branch heads. (If new branches are later added to the origin repository you will not see them unless you run git fetch.)
* Check out one of the branches. For example, for branch 49 you could run:<br />
      git checkout -b rel49 branch-heads/49
(To pick up later updates to this branch, run git pull.)<br />
<big>Replace the old webrtc.org code with the new version</big>
* rm -rf media/webrtc/trunk/webrtc
* rm -rf media/webrtc/trunk/webrtc
* cp -r somewhere/40/webrtc media/webrtc/trunk
* cp -r somewhere/40/webrtc media/webrtc/trunk
Line 35: Line 46:
* submit Try builds
* submit Try builds
* Go back and fix any android/b2g-specific files where we didn't merge the diffs earlier
* Go back and fix any android/b2g-specific files where we didn't merge the diffs earlier
* Test in person-to-person calls
* Test in person-to-person calls<br />
 
<big>Now groom for release when ready</big>
Now groom for release when ready
* hg qpop -a
* hg qpop -a
* record the current changeset from hg log ("old_head")
* record the current changeset from hg log ("old_head")
3

edits

Navigation menu