Remove TC from various functions
[gamefox.git] / README
blob2d7e6092c97e974575b4b31332555f5328075770
1 Requirements
2 ============
4 Packages needed to build, sign and upload (on Debian lenny):
6 * zip
7 * ruby
8 * libxslt-ruby
9 * libnss3-1d
10 * python-paramiko
11 * ... and dependencies
13 Spock (http://hyperstruct.net/projects/spock) must be installed in
14 release/spock. The McCoy profile must be in release/mccoy.default.
16 Configuration
17 =============
19 To upload to the server, copy common/server.conf.example to common/server.conf
20 and edit the file to match the correct settings.
22 SSH is required. Local file operations are not supported yet.
24 Preparing for a release
25 =======================
27 The web change log needs to be written. Use www/changes-next.mdwn as a staging
28 area for the next version.
30 Uploading a release
31 ===================
33 You must first build a distribution which contains the XPI, news and unsigned
34 release files. To do so, type
36     make dist VERSION=x.y.z
38 where VERSION is the version of the release. This should be the current
39 version in git without the "pre". For example, you should use VERSION=0.7.5
40 if the git version is 0.7.5pre.
42 After inspecting and testing the distribution, upload it by typing
44     make upload
46 This automatically does the following:
48     1. Uploads the XPI to $(file_dir)
49     2. Uploads the news to $(file_dir)/news
50     3. Signs the update RDF file and uploads it
51     4. Replaces the current changes.mdwn file on the server with the contents of
52        changes-next.mdwn
53     5. Moves the XPI of the previous version to $(file_dir)/oldxpi
54     6. Deletes the current nightly XPI
56 What to do after a release
57 ==========================
59 First, you should tag the git repo with the latest version number. Then you
60 should bump the version number in:
62     Makefile
63     content/NEWS
64     install.rdf
65     www/index.php.txt (including date and version compatibility)
67 You should also add the release date to the latest version in
68 www/changes-next.mdwn, then copy it to www/changes.mdwn.
70 Commit and push the updates above.
72 Make a release topic on Blood Money. The title should be "[release] GameFOX
73 x.y.z", and conform to this template:
75     <b>Download:</b>
77     http://link_to_xpi
79     <b>Changes:</b>
81     [changes for the latest version from content/NEWS or
82      www/changes(-next).mdwn]
84 Finally, you should upload the *_amo.xpi file in the root of the git tree to
85 addons.mozilla.org.
87 Configuring a nightly build server
88 ==================================
90 To be written.