Partnering/Repacks/Building: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "== Overview == This is a brief outline of the structure of a partner repack. == Directory Structure == The config files for single partner live under a partner-specific dir...")
 
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==


This is a brief outline of the structure of a partner repack.
This is a brief outline of the structure of a partner repack.  You should also read [[Policy_and_Process]] and you can look at existing partner distributions in the [https://hg.mozilla.org/build/partner-repacks repository].


== Directory Structure ==
== Directory Structure ==

Latest revision as of 23:11, 12 June 2015

Overview

This is a brief outline of the structure of a partner repack. You should also read Policy_and_Process and you can look at existing partner distributions in the repository.

Directory Structure

The config files for single partner live under a partner-specific directory.

e.g. for a partner called 'xyz':

partner-repacks/
                partners/
                         xyz/
                             repack.cfg
                             distribution/
                                          distribution.ini
                                          searchplugins/
                                          extensions/

To add a new partner, say 'xyz', follow these steps:

  • create a new directory under partners/
  • create a config file for the partner: partners/xyz/repack.cfg
  • create a distribution dir for the partner: partners/xyz/distribution/
  • create a distribution.ini file for the partner: partners/xyz/distribution/distribution.ini
  • add any extensions or searchplugins under the distribution dir

Best to work from existing examples of the repack.cfg and distribution.ini files to see how things are setup.

repack.cfg

aus="xyz"
dist_id="xyz"
dist_version="1.0"
linux-i686=true
locales="en-US"
mac=true
win32=true
win64=true

distribution.ini

See a complete example of a distribution.ini.

Custom Search Engines

Add-ons

Building and Testing