Media/WebRTC/Legacy Updating Process

From MozillaWiki
< Media‎ | WebRTC
Revision as of 19:04, 24 March 2014 by Jesup (talk | contribs) (Initial cut)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Process: rough, can use fleshing out

  • Get a copy of the stable branch from SVN:
  • rm -rf media/webrtc/trunk/webrtc
  • cp -r somewhere/3.50/webrtc media/webrtc/trunk
  • copy over any files in media/webrtc/trunk that are needed (few if any - DEPS, OWNERS, etc)
  • hg addremove --similarity 70 --dry-run media/webrtc/trunk/webrtc 2>&1 >/tmp/addremove.out
  • look for any false positives on renames and fix them (perhaps by adding them to an --exclude list when doing the real addremove
  • look for any false negatives (typically fiddle the '70') or correct by hand after
  • hg addremove --exclude <whatever> --similarity 70 media/webrtc/trunk/webrtc 2>&1 >/tmp/addremove.out
  • hg revert files removed from media/webrtc/trunk/webrtc/modules/video_capture/windows/
    • These are files we added to avoid including/using DirectShow/etc files from Microsoft examples

(incomplete, WIP)