Actions

Difference between revisions of "Developer Area/Release Instructions/Release day"

From Mahara Wiki

< Developer Area‎ | Release Instructions
Line 1: Line 1:
βˆ’
==πŸ“‹ Final checks before starting release day ==
+
==πŸ“‹ Final checks before starting release day==
Β Β 
Β 
🚨 Make sure that any security reviews/patches are merged before proceeding 🚨
Β 
🚨 Make sure that any security reviews/patches are merged before proceeding 🚨
Β Β 
Β 
πŸ”’ '''Security team''' (if you don't have +2 review status, you won't be able to see these patches)
Β 
πŸ”’ '''Security team''' (if you don't have +2 review status, you won't be able to see these patches)
βˆ’
* βœ… Merge the 'Draft' security patches.
Β 
βˆ’
* βœ… Update the related Launchpad bugs to 'Public security'.
Β 
Β Β 
βˆ’
πŸ›  '''Release lead'''
+
*βœ… Merge the 'Draft' security patches.
Β +
*βœ… Update the related Launchpad bugs to 'Public security'.
Β +
Β 
Β +
πŸ›  '''Release manager'''
Β Β 
Β 
*βœ… CVE #'s - Security issues have an assigned CVE number?
Β 
*βœ… CVE #'s - Security issues have an assigned CVE number?
Line 13: Line 14:
Β 
*βœ… Bugs fixed - all bugs going into his release have their fixes ''merged'' for all supported versions?
Β 
*βœ… Bugs fixed - all bugs going into his release have their fixes ''merged'' for all supported versions?
Β 
*βœ… Comms - to Mahara partners + drafted the forum posts?
Β 
*βœ… Comms - to Mahara partners + drafted the forum posts?
Β +
Β 
πŸ‘·πŸ» '''For all devs'''
Β 
πŸ‘·πŸ» '''For all devs'''
Β +
Β 
*βœ… What minor point release are you going to do?
Β 
*βœ… What minor point release are you going to do?
Β 
*βœ… <code>git pull [https://git.mahara.org/scripts/mahara-scripts mahara-scripts]</code>
Β 
*βœ… <code>git pull [https://git.mahara.org/scripts/mahara-scripts mahara-scripts]</code>
βˆ’
*βœ… Valid GPG - do you have a [https://wiki.mahara.org/wiki/Developer_Area/Release_Instructions/Creating_a_GPG_key valid GPG key] added to your Launchpad account? See [https://launchpad.net/~username/+editpgpkeys https://launchpad.net/~username/+editpgpkeys]
+
*βœ… Valid GPG - do you have a [https://wiki.mahara.org/wiki/Developer_Area/Release_Instructions/Creating_a_GPG_key valid GPG key] added to your Launchpad account? See https://launchpad.net/~username/+editpgpkeys
βˆ’
* βœ… <code>lptools</code> - do you have the lp-upload-project installed for uploading the release tars? <code> apt-get install lptools</code>
+
*βœ… <code>lptools</code> - do you have the lp-upload-project installed for uploading the release tars? <code> apt-get install lptools</code>
Β Β 
βˆ’
==WIP Prep + run the first part of the release script ==
+
==WIP Prep + run the first part of the release script==
Β Β 
βˆ’
=== Prep change log and release notes to go into Launchpad? ===
+
===Prep change log and release notes to go into Launchpad?===
Β Β 
Β 
// TODO
Β 
// TODO
Line 28: Line 31:
Β Β 
Β 
Run the first step: <code>./release.php X.Y.Z X.Y_DEV (For rc X.Yrc1)</code>
Β 
Run the first step: <code>./release.php X.Y.Z X.Y_DEV (For rc X.Yrc1)</code>
βˆ’
* creating tarballs
Β 
βˆ’
* It will also spit out another script (release-X.Y.Z-cleanup.sh) to be run later.
Β 
Β Β 
βˆ’
===Important Check the terminal output in case there are GPG errors, ===
+
*creating tarballs
Β +
*It will also spit out another script (release-X.Y.Z-cleanup.sh) to be run later.
Β +
Β 
Β +
===Important Check the terminal output in case there are GPG errors,===
Β 
Example: Tag new version bump commit as 'X.YRC2_RELEASE' error: gpg failed to sign the data error: unable to sign the tag
Β 
Example: Tag new version bump commit as 'X.YRC2_RELEASE' error: gpg failed to sign the data error: unable to sign the tag
Β Β 

Revision as of 13:14, 11 March 2022

πŸ“‹ Final checks before starting release day

🚨 Make sure that any security reviews/patches are merged before proceeding 🚨

πŸ”’ Security team (if you don't have +2 review status, you won't be able to see these patches)

  • βœ… Merge the 'Draft' security patches.
  • βœ… Update the related Launchpad bugs to 'Public security'.

πŸ›  Release manager

  • βœ… CVE #'s - Security issues have an assigned CVE number?
  • βœ… Backporting - security fixes backported to all supported versions that need them?
  • βœ… Bugs fixed - all bugs going into his release have their fixes merged for all supported versions?
  • βœ… Comms - to Mahara partners + drafted the forum posts?

πŸ‘·πŸ» For all devs

WIP Prep + run the first part of the release script

Prep change log and release notes to go into Launchpad?

// TODO

The following uses the script you got in the previous step.

Run the first step: ./release.php X.Y.Z X.Y_DEV (For rc X.Yrc1)

  • creating tarballs
  • It will also spit out another script (release-X.Y.Z-cleanup.sh) to be run later.

Important Check the terminal output in case there are GPG errors,

Example: Tag new version bump commit as 'X.YRC2_RELEASE' error: gpg failed to sign the data error: unable to sign the tag

So this is what I did to fix it, all commands are on command line:

1) Updated the gpg program to use: git config --global gpg.program gpg2

2) Tested if it was working: echo "test" | gpg2 --clearsign

It wasn't so I had to do: export GPG_TTY=$(tty)

then run again echo "test" | gpg2 --clearsign

After all that when I ran release.php command again it didn't give me the error