Difference between revisions of "Lazarus release engineering"
m (→Related pages) |
|||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
+ | {{Note|This page is still work in progress. For feedback please use our mailing list.}} | ||
== Checklist == | == Checklist == | ||
− | === | + | <table width="100%"><tr valign="top"> |
− | * Check internally with the team | + | <td style="min-width:40%"> |
− | * Decide on approx Date for first RC (date may change). This may be optional. | + | |
− | * | + | === Major Release === |
− | ** Create fixes branch | + | |
+ | * Decide on new release | ||
+ | ** Check internally with the team | ||
+ | ** Decide on approx Date for first RC (date may change). This may be optional. | ||
+ | * Prepare | ||
+ | ** Create fixes branch in SVN | ||
** Create fixes page on wiki | ** Create fixes page on wiki | ||
+ | * Announce | ||
** <u>Special announcement</u> for translators. | ** <u>Special announcement</u> for translators. | ||
− | * <u>Public announcement</u> with approx RC date (if available). | + | ** <u>Public announcement</u> with approx RC date (if available). |
=== For each Release Candidate === | === For each Release Candidate === | ||
Line 40: | Line 47: | ||
− | === Merging fixes | + | |
+ | </td> | ||
+ | <td style="min-width:40%"> | ||
+ | === Minor Release === | ||
+ | |||
+ | * Decide on new Release (Day: approx -4 / Duration 3-4 days) | ||
+ | ** Check internally with the team (3 to 4 days) | ||
+ | ** Release Date will be 2 weeks from announcement (1 week for community feedback) | ||
+ | * Prepare | ||
+ | ** Update fixes page on wiki (New section "Fixes for ..." next release | ||
+ | |||
+ | * Announce upcoming Release (Day: 0 / Duration 7-8 days) | ||
+ | ** <u>Special announcement</u> for translators. | ||
+ | ** <u>Public announcement</u> with approx date. | ||
+ | *** Mail | ||
+ | *** Forum | ||
+ | : Ask for | ||
+ | :*new regressions | ||
+ | :*missing merges | ||
+ | |||
+ | Community has about 1 week to respond. | ||
+ | Urgent matters can still be reported during "approve" phase. | ||
+ | |||
+ | Depending on feedback received: reschedule and if needed re-announce. | ||
+ | |||
+ | ==== Approve Release (Start at day: 7 to 9 / Duration 3/4 days) ==== | ||
+ | |||
+ | * Check internally with the team (3 to 4 days) | ||
+ | |||
+ | Depending on feedback received: reschedule and if needed re-announce. | ||
+ | |||
+ | ==== Prepare Release (Start at day: 10 to 12 / Duration 3/4 days) ==== | ||
+ | |||
+ | * TAG SVN | ||
+ | * Build docs => update binaries svn | ||
+ | * Start building | ||
+ | * Build Release binaries | ||
+ | ** Test | ||
+ | * Upload (staged) | ||
+ | |||
+ | At the same time: | ||
+ | * Update mantis | ||
+ | * Collect checksums and commit to web-page svn | ||
+ | ** Optional: Update webpage to contain checksums | ||
+ | * Update web-page svn with new download links (to be published *after* release) | ||
+ | |||
+ | ==== Release (At day 14 to 16) ==== | ||
+ | |||
+ | * Make files public on Sourceforge (un-stage) | ||
+ | ** Set files as current release | ||
+ | |||
+ | * <u>Public announcement</u> of Release | ||
+ | ** Mail | ||
+ | ** Forum | ||
+ | ** Twitter | ||
+ | ** Sourceforge news | ||
+ | |||
+ | * Update web-page (Download-links / Checksums) | ||
+ | |||
+ | |||
+ | </td> | ||
+ | </tr></table> | ||
+ | |||
+ | == Merging fixes == | ||
Team members will add any revision that should be merged to the "fixes branch" page (see "Related Pages"). | Team members will add any revision that should be merged to the "fixes branch" page (see "Related Pages"). | ||
Line 50: | Line 120: | ||
to request revisions to be added. | to request revisions to be added. | ||
+ | == Other Items == | ||
− | |||
In addition to the items on the checklist: | In addition to the items on the checklist: | ||
* create new targets on Mantis, with each RC, and for the Release | * create new targets on Mantis, with each RC, and for the Release | ||
Line 69: | Line 139: | ||
The editing of the Checklist above should be reserved to the team. Thanks. | The editing of the Checklist above should be reserved to the team. Thanks. | ||
− | = How to merge = | + | == How to merge == |
− | |||
− | |||
The lazarus developers have decided to use the native svn merge for this branch. Other branches used the svnmerge.py script to manage the revisions to be merged. | The lazarus developers have decided to use the native svn merge for this branch. Other branches used the svnmerge.py script to manage the revisions to be merged. | ||
Line 78: | Line 146: | ||
[[SVN_Migration#Merge_with_plain_svn]] | [[SVN_Migration#Merge_with_plain_svn]] | ||
+ | |||
=== Using TortoiseSVN === | === Using TortoiseSVN === | ||
As noted in the link above using TortoiseSVN is more or less self explaining. | As noted in the link above using TortoiseSVN is more or less self explaining. | ||
Line 88: | Line 157: | ||
=== Show list of revision that can be merged === | === Show list of revision that can be merged === | ||
+ | |||
In the lazarus fixes_1_0 directory do: | In the lazarus fixes_1_0 directory do: | ||
svn mergeinfo ^/trunk --show-revs eligible | svn mergeinfo ^/trunk --show-revs eligible | ||
Line 94: | Line 164: | ||
=== Show list of revision that have been merged === | === Show list of revision that have been merged === | ||
+ | |||
In the lazarus fixes_1_0 directory do: | In the lazarus fixes_1_0 directory do: | ||
svn mergeinfo ^/trunk --show-revs merged | svn mergeinfo ^/trunk --show-revs merged | ||
=== Merging revisions from trunk === | === Merging revisions from trunk === | ||
+ | |||
To merge one or more revisions from trunk, use the svn merge command. For example to merge revision 36506 and 36510 use: | To merge one or more revisions from trunk, use the svn merge command. For example to merge revision 36506 and 36510 use: | ||
svn merge -c 36506,36510 ^/trunk | svn merge -c 36506,36510 ^/trunk | ||
Line 111: | Line 183: | ||
=== Blocking a revision to be merged === | === Blocking a revision to be merged === | ||
+ | |||
Sometimes you want to block a revision to be merged, i.e. you want to make sure that this revision is never merged to the fixes branch, for example, because it contains a new feature or it contains a version number change not applicable to the fixes branch, but only to trunk. To block revision 36507, use: | Sometimes you want to block a revision to be merged, i.e. you want to make sure that this revision is never merged to the fixes branch, for example, because it contains a new feature or it contains a version number change not applicable to the fixes branch, but only to trunk. To block revision 36507, use: | ||
svn merge -c 36507 --record-only ^/trunk | svn merge -c 36507 --record-only ^/trunk | ||
Line 120: | Line 193: | ||
svn commit -F svnmerge-commit-message.txt | svn commit -F svnmerge-commit-message.txt | ||
+ | == Previous releases == | ||
+ | |||
+ | * [[Lazarus 0.9.30 todo]] | ||
+ | * [[Lazarus 0.9.28 todo]] | ||
+ | * [[Detailed Lazarus 0.9.22 todo|Lazarus 0.9.22 todo]] | ||
+ | |||
+ | * [[Lazarus 0.9.30.2 release plan]] | ||
+ | * [[Lazarus 0.9.28.2 release plan]] | ||
+ | |||
+ | == See also == | ||
+ | |||
+ | * [[Detailed Lazarus release template todo]] | ||
+ | |||
+ | == Related pages == | ||
− | |||
{{Navbar Lazarus Release Notes}} | {{Navbar Lazarus Release Notes}} | ||
+ | |||
+ | [[Category:Lazarus]] | ||
+ | [[Category:Development]] | ||
+ | [[Category:Release engineering]] | ||
+ | [[Category:SOPs]] |
Latest revision as of 18:17, 16 August 2022
Checklist
Major Release
For each Release Candidate
Typical life time of an RC can be expected to be between 3 and 6 weeks. But in the end will be decided at the discretion of the team. For the Release
|
Minor Release
Community has about 1 week to respond. Urgent matters can still be reported during "approve" phase. Depending on feedback received: reschedule and if needed re-announce. Approve Release (Start at day: 7 to 9 / Duration 3/4 days)
Depending on feedback received: reschedule and if needed re-announce. Prepare Release (Start at day: 10 to 12 / Duration 3/4 days)
At the same time:
Release (At day 14 to 16)
|
Merging fixes
Team members will add any revision that should be merged to the "fixes branch" page (see "Related Pages").
User can contact Team members
- on the forum
- on the mail list
- on open & assigned mantis reports
to request revisions to be added.
Other Items
In addition to the items on the checklist:
- create new targets on Mantis, with each RC, and for the Release
- Publish checksums on webpage
- Update links on webpage
- Updating of help files
- Announcements for Translators
TODO: Decide on channels for public feedback on:
- Open regressions
- Missing merges
Checklist (Suggestions)
Please add suggestions here. The editing of the Checklist above should be reserved to the team. Thanks.
How to merge
The lazarus developers have decided to use the native svn merge for this branch. Other branches used the svnmerge.py script to manage the revisions to be merged.
- TODO: Maybe this information should be put in a separate page.
SVN_Migration#Merge_with_plain_svn
Using TortoiseSVN
As noted in the link above using TortoiseSVN is more or less self explaining.
- TODO: add some screen shots.
When committing, in the recent messages a nice commit message is available.
Tested with TortoiseSVN 1.7.6, SVN 1.7.4.
Show list of revision that can be merged
In the lazarus fixes_1_0 directory do:
svn mergeinfo ^/trunk --show-revs eligible
Or if you don't have a fixes directory checked out, you can pass the URL path of the fixes branch:
svn mergeinfo ^/trunk http://svn.freepascal.org/svn/lazarus/branches/fixes_1_0 --show-revs eligible
Show list of revision that have been merged
In the lazarus fixes_1_0 directory do:
svn mergeinfo ^/trunk --show-revs merged
Merging revisions from trunk
To merge one or more revisions from trunk, use the svn merge command. For example to merge revision 36506 and 36510 use:
svn merge -c 36506,36510 ^/trunk
To generate a commit log message, use:
svn log ^/trunk -c 36506,36510 > svnmerge-commit-message.txt
Edit svnmerge-commit-message.txt with your favorite text editor and add a first line like:
Merged revision 36506,36510 from /trunk.
Commit this with:
svn commit -F svnmerge-commit-message.txt
Blocking a revision to be merged
Sometimes you want to block a revision to be merged, i.e. you want to make sure that this revision is never merged to the fixes branch, for example, because it contains a new feature or it contains a version number change not applicable to the fixes branch, but only to trunk. To block revision 36507, use:
svn merge -c 36507 --record-only ^/trunk
Then you can create a log message with:
svn log ^/trunk -c 36507 > svnmerge-commit-message.txt
Edit svnmerge-commit-message.txt with your favorite text editor and add first line like:
Blocked revision 36507 from /trunk
Then commit this change:
svn commit -F svnmerge-commit-message.txt