2
edits
(→Intro) |
No edit summary |
||
| Line 13: | Line 13: | ||
</p> | </p> | ||
<h1> Create config files </h1> | |||
<h2> Patcher config </h2> | |||
To get setup | <p>To get setup | ||
</p> | |||
<ul><li> grab a copy of the release config, mozRelease-branch-patcher2.cfg, from your own CVS checkout or from <a href="http://mxr.mozilla.org/mozilla/source/tools/patcher-configs/mozRelease-branch-patcher2.cfg?raw=1">mxr</a> | |||
</li><li> verify that the file is up to date by checking the values of <tt>from</tt> and <tt>to</tt> in <tt><current-update></tt>, and the right buildN in the <tt>completemarurl</tt> of the <tt><releases></tt> block for the release being created | |||
</li><li> rename it to mozRelease-branch-patcher2-$XXXXXX.cfg | |||
To modify the config | </li></ul> | ||
<p>To modify the config | |||
</p> | |||
<ul><li> in the <tt><current-update></tt> block | |||
<ul><li> change the <tt>from</tt> version to $OLDV | |||
</li><li> in the <tt><partial></tt> block change the from version in the paths to $OLDV | |||
</li></ul> | |||
</li><li> remove all the past-update lines just below <tt><current-update></tt> block | |||
Attach the file to the bug, request review. You'll download it again later using $YYYYYY for the attachment id. | </li><li> remove the unneeded blocks from <tt><release></tt> (keep only $OLDV and $NEWV, for brevity) | ||
</li><li> if only some platforms are needed (eg windows), remove the other platforms from the <tt><platforms></tt> and <tt><exceptions</tt> blocks | |||
</li></ul> | |||
To get setup | <p>Attach the file to the bug, request review. You'll download it again later using $YYYYYY for the attachment id. <a href="https://bug768576.bugzilla.mozilla.org/attachment.cgi?id=637051">Example config</a>. | ||
</p> | |||
<h2> Update verify configs </h2> | |||
<p>To get setup | |||
</p> | |||
To modify the configs: | <ul><li> grab a copy of the configs, either from your tools checkout or directly from hg.m.o (<a href="http://hg.mozilla.org/build/tools/raw-file/default/release/updates/mozRelease-firefox-win32.cfg">windows</a>, <a href="http://hg.mozilla.org/build/tools/raw-file/default/release/updates/mozRelease-firefox-mac64.cfg">mac</a>) | ||
</li><li> verify the configs are up to date by checking the current release is referenced in the 2nd line, and that the to definition there refers to the right buildN path | |||
</li><li> rename to mozRelease-firefox-win32-$XXXXXX.cfg | |||
</li></ul> | |||
<p>To modify the configs: | |||
</p> | |||
<ul><li> remove all the lines that aren't for $OLDV and the current shipped release | |||
</li><li> in $OLDV's full check line | |||
<ul><li> add the locales from $OLDV's quick check line | |||
Attach the files to the bug as a patch (eg via mq), request review. You'll download it again later using $ZZZZZZ as the attachment id. | </li><li> add the patch_types, aus_server, ftp_server, and to definitions from the current release | ||
</li></ul> | |||
</li><li> remove the $OLDV quick check comment and config line | |||
</li><li> remove current release lines | |||
</li><li> repeat for each platform | |||
</li></ul> | |||
<p>Attach the files to the bug as a patch (eg via mq), request review. You'll download it again later using $ZZZZZZ as the attachment id. <a href="https://bug768576.bugzilla.mozilla.org/attachment.cgi?id=637065">Example config</a>. | |||
</p> | |||
= Generate the partials = | = Generate the partials = | ||
edits