RFIDService/ReleaseManagement

From VentureResearchWiki
Jump to navigation Jump to search

Release Management[edit | edit source]

This page discusses the release management per released version of the RFID Service / forkliftreader_linux daemon.

Version number scheme[edit | edit source]

Our version numbering will follow the standard ​Semantic Versioning convention: Major.Minor.Patch . Breaking changes or major rearchitecture will be noted with a bump in the Major version, feature additions or other added functionality is a bump to the Minor version, and any patches or bugfixes will be in the Patch version. Using the SVN revision number (r1381) to keep track of the service version is deprecated, instead we will start referring to the build by the version number (5.1.1), reported by GET VERSION. Of course, the build metadata is still available in GET BUILD if you want to see the exact revision of software used in a build.

Release process[edit | edit source]

Major Release[edit | edit source]

Example: moving from 5.1.x to 5.2.0. !!! Be careful with copy and paste !!! Update all version numbers !!!

  • Create release branch for previous version in svn:
svn copy ^src/forkliftreader_linux/ ^release/forkliftreader_linux-5.1/
  • Follow all minor release procedures below. The new package will be on the new release series, vrfrv2-linux-event-5.2 etc.

Minor release[edit | edit source]

  • Create new package in Yocto for the new minor build rev on release branch and testing branch:
ssh venture@embedded-dev
cp /home/yocto-danny/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.1.bb /home/yocto-danny/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.2.bb
cp /home/yocto-danny/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.1.bb /home/yocto-danny/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.2.bb
cp /home/yocto-dora/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.1.bb /home/yocto-dora/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.2.bb
cp /home/yocto-dora/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.1.bb /home/yocto-dora/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.2.bb
  • Update package with SRCREV for the latest version in each recipe
vi /home/yocto-danny/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.2.bb
SRCREV=1385
vi /home/yocto-dora/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event-5.1_5.1.2.bb
SRCREV=1385
vi /home/yocto-danny/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.2.bb
SRCREV=1385
vi /home/yocto-dora/poky/meta-venture/recipes-venture/vrfrv2-linux/vrfrv2-linux-event_5.1.2.bb
SRCREV=1385
  • Build for each of vr-om37-asdfridge-gen3 / danny, vr-am33-shelf / dora:
ssh venture@embedded-dev
cd /home/yocto-danny/poky/ && . oe-init-build-env
MACHINE=vr-om37-asdfridge-gen3 bitbake vrfrv2-linux-event-5.1 vrfrv2-linux-event && ./update-feed.sh
exit
ssh venture@embedded-dev
cd /home/yocto-dora/poky/ && . oe-init-build-env
MACHINE=vr-am33-shelf bitbake vrfrv2-linux-event-5.1 vrfrv2-linux-event && ./update-feed.sh
exit
  • While those are building, make up the release page in Trac with revision history: Release5.1.1
  • Determine impact by customer and alert customers of the new release.

Future work / TODO[edit | edit source]

  • Nice to have: make this into a script to reduce errors.