Services/Sync/Getting Started: Difference between revisions

(→‎Prerequisites: Removing OSX specific build requisites for OSX, these are better suited on MDC)
Line 1: Line 1:
= Getting started with Sync =
= Getting started with Sync development =


== Prerequisites ==
== Configure Mercurial ==
 
=== Configure Mercurial ===


Put the following in your ~/.hgrc:
Put the following in your ~/.hgrc:
Line 29: Line 27:
   default-push = ssh://hg.mozilla.org/services/
   default-push = ssh://hg.mozilla.org/services/


=== Check out the Mercurial repos you'll need ===
== Repositories ==
 
=== fx-sync ===
 
Sync is primarily developed in the [[fx-sync|https://hg.mozilla.org/services/fx-sync/]] repository. Things that live there:
 
* The Services client libraries in services/crypto/ and services/sync.
 
* The Firefox Sync add-on in addon/*
 
* The Firefox 3.x and Fennec 1.x UIs for the Sync add-on in ui/*
 
=== mozilla-central ===
 
mozilla-central is the repository for Firefox and the base repository for other Mozilla-based applications. How mozilla-central is relevant to Sync:


  mkdir -p ~/moz/hg/services
* The client library is periodically merged from fx-sync to mozilla-central.
  cd ~/moz/hg/services
  for x in \
  admin-scripts fx-home fx-sync-tools loadtest reg-server server-core \
  server-key-exchange server-storage dashboard fx-sync internal_dash \
  minimal-server reg-server-secure server-full server-reg sync-server
  do
  hg clone ssh://hg.mozilla.org/services/$x
  done


Check out Mozilla Central, too.
* The integrated UI for Firefox Sync lives in browser/base/*, along with the rest of the Firefox UI.


  cd ~/moz/hg
=== Merging fx-sync to mozilla-central ===
  hg clone ssh://hg.mozilla.org/mozilla-central
canmove, Confirmed users
725

edits