Developer Area/Release Instructions/Pre-release: Difference between revisions
From Mahara Wiki
< Developer Area | Release Instructions
Β |
|||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
Note: links to the Security Announcements forum posts will be available once created one the day of the release. | Note: links to the Security Announcements forum posts will be available once created one the day of the release. | ||
Β | Β [https://paste.wgtn.cat-it.co.nz/FKBY3dAsOLNEZ1IE#bZNrN1Wlmy2VlPnJTfvgvA$0 Template example paste] | ||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
Β | |||
==π Investigation== | ==π Investigation== | ||
Line 50: | Line 25: | ||
#Book a meeting with the tech lead, product owner, and those working on the release. | #Book a meeting with the tech lead, product owner, and those working on the release. | ||
#Get the series number for each supported Mahara version, e.g. 21.10, 21.04, and 20.10. | #Get the series number for each supported Mahara version, e.g. 21.10, 21.04, and 20.10. | ||
# | #Check on [https://launchpad.net/mahara Launchpad] that there is an unreleased milestone for each supported series number. <small>See above for how to create new milestones.</small> | ||
#Go through each bug report and check they have allocated milestone(s). If they don't, ask the Tech lead where to allocate them. | #Go through each bug report and check they have allocated milestone(s). If they don't, ask the Tech lead where to allocate them. | ||
Line 66: | Line 41: | ||
#[https://wiki.wgtn.cat-it.co.nz/wiki/ELearning/Mahara/Team/Documentation/Dealing_with_backporting_and_merging_issues#Single_commit Backport security patches] into supported Mahara versions. | #[https://wiki.wgtn.cat-it.co.nz/wiki/ELearning/Mahara/Team/Documentation/Dealing_with_backporting_and_merging_issues#Single_commit Backport security patches] into supported Mahara versions. | ||
#Update your [https://ethercalc.net/track-bugstracking tracking of bugs] daily | #Update your [https://ethercalc.net/track-bugstracking tracking of bugs] daily | ||
==π Checklist for devs before starting== | ==π Checklist for devs before starting== | ||
Line 88: | Line 62: | ||
#[https://cveform.mitre.org/ Apply for CVE numbers for each non-public security issue with the MITRE request form] | #[https://cveform.mitre.org/ Apply for CVE numbers for each non-public security issue with the MITRE request form] | ||
#Add the CVE number to the security bug report using the 'Link to CVE' option on the sidebar. Note: it takes a few days for Launchpad to accept the CVE number. | #Add the CVE number to the security bug report using the 'Link to CVE' option on the sidebar. Note: it takes a few days for Launchpad to accept the CVE number. | ||
#Prepare the security announcement post in the Launchpad bug report through comments or updating the description. | #Prepare the security announcement post in the Launchpad bug report through comments or updating the description. [https://paste.wgtn.cat-it.co.nz/woQaCcuP06IMfMXb#Wyg0Eaw03yGr5DMWnp4EIg$0 Paste example template] | ||
==π§ Prep milestones and branches== | ==π§ Prep milestones and branches== | ||
(This applies to RC, major and minor point releases) | (This applies to RC, major and minor point releases) | ||
Line 109: | Line 74: | ||
#Double check that 'Keep the X.Y.Z milestone active' remains '''unchecked'''. | #Double check that 'Keep the X.Y.Z milestone active' remains '''unchecked'''. | ||
== | ==π‘Update the README== | ||
Review the <code>README.md</code> file and update it to reflect any changes: | Review the <code>README.md</code> file and update it to reflect any changes: | ||
Latest revision as of 01:21, 7 MayΔ±s 2022
This document details the steps to follow in preparation of a release.
π£ Please complete these steps a week before the release, especially announcements to Mahara Partners.
Done? > Go to 'Release day'
π° Comms
Let Mahara Partners know one week before the release
π¨ Note: Kristina does this task as a member of the Mahara partners group.
Let Mahara Partners know in the Partner forum that a release is upcoming. Details are not shared though as the reports are still embargoed.
Draft the Security Announcements forum post
Get the announcement information from the Launchpad bug comment/description and format it for the security announcement into HTML.
Draft the News forum post for the security releases
Take the URLs of the newly created security announcement forum posts and insert them into the following template to look something like this.
Note: links to the Security Announcements forum posts will be available once created one the day of the release.
Template example paste
π Investigation
Check bug reports and their statuses
- Book a meeting with the tech lead, product owner, and those working on the release.
- Get the series number for each supported Mahara version, e.g. 21.10, 21.04, and 20.10.
- Check on Launchpad that there is an unreleased milestone for each supported series number. See above for how to create new milestones.
- Go through each bug report and check they have allocated milestone(s). If they don't, ask the Tech lead where to allocate them.
Track the associated bug reports
- Create a spreadsheet to track the bugs. [ethercalc.net/track-bugs Example template]
- Go through each supported milestone's bugs:
- See associated bugs for a milestone by going to 'Series and Milestones' and clicking the first milestone with an empty circle above it.
- Record the progress status of the bug, i.e. if there someone is working on it, and the patch URL in reviews.mahara.org
- Double check that all 'Private security' bug reports with patches that are ready, go into the release.
Follow-on tasks
- Get bugs code-reviewed, verified, and merged by delegating tasks to team members.
- Backport security patches into supported Mahara versions.
- Update your tracking of bugs daily
π Checklist for devs before starting
π‘ Start up
- Confirm who will be the 'Release Manager'
- Confirm what type of release this is, i.e. major or minor point.
- Update your mahara-scripts repo so that you have the latest release script. The release script will clone the git.mahara.org repo and generate the zip files that go onto Launchpad.
- Make sure you have a valid GPG key added to your Launchpad account. This is required to run the release script, which generates a signed zip file based on this GPG key. See https://launchpad.net/~username/+editpgpkeys.
π‘ Release Manager tasks - check permissions
- The Release Manager should make sure devs are part of the security group so that they can see security bug reports.
- Give access to those who will be responsible for posting these announcements. After the release has been created, we post information about the release in the News and Security Announcement forums.
π Apply for CVE numbers for security fixes (release manager)
Apply for a CVE number as soon as a bug report exists for a security issue. CVE numbers that we receive are embargoed are details are not leaked until we let MITRE know that they can be published. Catalyst NZ staff also have access to that information on Seafile along with a running record of which bugs have been reported to MITRE (or others if needed).
While CVE numbers are not a requirement, it is good practice and they are useful for administrators who monitor security announcements. π Note: This MITRE CVE form can ONLY be used if the issue hasn't been made public yet.
- Apply for CVE numbers for each non-public security issue with the MITRE request form
- Add the CVE number to the security bug report using the 'Link to CVE' option on the sidebar. Note: it takes a few days for Launchpad to accept the CVE number.
- Prepare the security announcement post in the Launchpad bug report through comments or updating the description. Paste example template
π§ Prep milestones and branches
(This applies to RC, major and minor point releases)
Setting up milestones on Launchpad
Go to https://launchpad.net/mahara/+milestone/X.Y.Z
OR Go to the series page and click 'Create milestone'.
- Move any bugs that are not going to be part of this release to the next milestone in the series, e.g. if this is
X.Y.3
then move toX.Y.4
. You may need to make the milestone if it doesn't already exist viahttps://launchpad.net/mahara/X.Y
and using the 'create milestone' link. - Click on 'Create release' and give it today's date.
- Double check that 'Keep the X.Y.Z milestone active' remains unchecked.
π‘Update the README
Review the README.md
file and update it to reflect any changes:
- Check the supported versions of PHP, Postgres, and MySQL / MariaDB.
- Check the minimum browser requirements.
- Update the copyright message so it extends to the current year.
- Update the Software requirements page to match the changes.
Note: For PHP versions, the minimum and maximum supported version needs to be listed to avoid confusion as PHP does release versions more frequently.
π Language packs
New language packs are prepped for major releases. For all releases, you need to update launchpad translations for the new Bazaar branch. See the separate instructions on setting up a new Bazaar translations branch.
β¨ You did it!!! Head over to Release day to do the Major release β¨