Differences between revisions 1 and 7 (spanning 6 versions)
Revision 1 as of 2010-10-21 21:46:12
Size: 933
Editor: mpm
Comment:
Revision 7 as of 2011-02-25 18:02:00
Size: 1411
Editor: PaulBoddie
Comment: Some linking and emphasis on hgweb scripts.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 4: Line 3:
Line 12: Line 10:
Line 14: Line 11:
 * Install [[Source:contrib/mergetools.hgrc|contrib/mergetools.hgrc]] so merge tools work
 * Consider packaging the hgweb scripts and relevant items from contrib/
 * Install [[Source:contrib/mergetools.hgrc]] so merge tools work
 * Consider packaging the hgweb scripts (to help users [[PublishingRepositories|publish repositories]] without having to download the scripts separately)
 * Consider packaging relev
ant items from the `contrib` directory
Line 17: Line 15:
 * List your package on the Downloads page  * List your package on the [[Download|downloads]] page
Line 20: Line 18:
== SSL support ==
Packagers are encouraged to integrate as well as possible with the platforms existing PKI, for example by distributing a `hgrc.d/cacert.rc` with configuration of `web.cacerts`. If the platform doesn't have a suitable CA list you might want to distribute your own - for example the one from cURL/Mozilla. See [[CACertificates]].
Line 21: Line 22:
Line 25: Line 25:
Line 29: Line 28:
Line 31: Line 29:
 * Downloads  * [[Download]]

Packaging

Guidelines for making Mercurial binary packages.

/!\ This page is intended for developers.

1. Things to note

  • Don't enable any extensions by default

  • Install contrib/mergetools.hgrc so merge tools work

  • Consider packaging the hgweb scripts (to help users publish repositories without having to download the scripts separately)

  • Consider packaging relevant items from the contrib directory

  • Run the test suite on your platform
  • List your package on the downloads page

  • Keep up with our time-based releases

2. SSL support

Packagers are encouraged to integrate as well as possible with the platforms existing PKI, for example by distributing a hgrc.d/cacert.rc with configuration of web.cacerts. If the platform doesn't have a suitable CA list you might want to distribute your own - for example the one from cURL/Mozilla. See CACertificates.

3. Make nightly builds available

Nightly builds help users give quick feedback on bugfixes. These should generally be made from the tip of the stable branch.

4. Stay in touch

Announcements of releases and code freezes are made on the Mercurial-packaging list.

5. See also


CategoryProject

Packaging (last edited 2017-05-02 23:04:09 by NathanGoldbaum)