Armbian runs “train” based releases. Whatever is ready to board the train, does so. Whatever isn’t ready, has to wait for the next train. This enables us to have a predictable release cycles making it easy to plan. It also puts the responsibility on developers to make sure they have features ready on time.
Armbian releases quarterly at the end of February, May, August, November. Offset is because we all know that nothing happens for half of December. At the beginning of a release cycle, we have a planning meeting and two weeks before the end of the release we freeze integration of new features.
Releases last 3 months. Each release starts with a planning meeting. After planning, developers and development teams build their deliverable using whatever methods (scrum, kanban, waterfall, … ) they want but shall commit their code frequently, leading up to the last 2 weeks. The project does not accept “dumps” of code at the end. Commit early and often on master. Two weeks before the release date, we halt feature integration and only allow bug fixes. At some point during those two weeks, we start the release candidate process. This process starts by pulling a branch off master that will become the release branch. That frees up master for development on the next release. On the release candidate branch we work on bug fixes, and choose “release candidate”, RC, tags. The software at that tag is a candidate for release, and it is submitted to automated and manual tests on real hardware. If automated tests are passing, we can officially tag it as the release. If it doesn’t, we enter another bug fix cycle and create a new release candidate. We iterate until we have a candidate that can be the formal release. Usually, this takes 2-3 cycles and 1-3 weeks of time.
Development epics, stories and bugs for each release are tracked through Jira.
Release Branching, Versioning and Tags¶
Branches in Armbian follow this convention:
- Master branch (master): Main development will happen on the master branch. This is the latest and greatest branch, but is always “stable” and “deployable”. All tests always pass on this branch.
- Maintenance branch (support): This is the long-term maintenance branch per release.
- Development branch (dev): This is a branch created for lengthy and/or involved feature development that could destabilize master.
Each Armbian release will have the following version format:
<minor> version will be incremented at the end of the release cycles while
<revision> is incremented for a fix (or set of fixes)
Tags are used in ad-hoc manner.
by https://www.codenamegenerator.com/ from unusual animals
A release planning starts with an public IRC meeting where developers and interested users come together in first Saturday, one month before the release month.
Dates for 2020:
Dates for 2021:
- January 2nd
- April 3rd
- 00:00 - 00:02
#startmeeting Tamandua: Meeting coordinator (MC) calls meeting to order.
- 00:02 - 00:05
#topic check-in: MC gives control to participant to check-in and wait for latecomers. If your handle is not self explanatory, add your forum/github handle and just say hi.
- 00:05 - 00:07
#topic late topics: MC points out to agenda and asks if there is any late topic to add.
- 00:07 - 00:09
#topic FYI: Stuff to know beforehand - MC presents meeting relevant news and rules of engagement:
- note #1: IRC translator: If your English is poor, simply write in your native language. Start your sentence with
..at the beginning.
- rule #1: When you get a voice, please be quick and concise (1-2 min) and make it clear when you stop. (“No more, I’m done”)
- rule #2: If meeting is going out of desired agenda, MC will use “STOP STOP STOP”, wait to get attention and then proceed with the meeting agenda. Please stop chatting and listen.
rule #3: Please highlight important information appropriately by putting a keyword in front of your message:
#helpcheck tips below.
00:09 - 00:30 Board maintainers/development: MC is calling out on by team sections as defined at GitHub
- Note: tasks should be tracked by Jira. If they are not there, please add them during or right after the meeting
- Note: board maintainers present tasks, bugs or projects they are working on (open discussion for each section if possible, otherwise MC calls people out).
#topic development Allwinner
#topic development Amlogic
#topic development Marvell
#topic development Rockchip
#topic development others
- 00:30 - 00:40 build system
#topic buildsystem enhancements: build script enhancements
#topic buildsystem desktop: desktop and multimedia
- 00:40 - 00:45 Infrastructure
#topic Infrastructure - Servers / CI
#topic Infrastructure - planned/unplanned changes on forums
#topic Infrastructure - IRC: new channel and pushes to commits
- 00:45 - 00:50
#topic Jira Backlog: Cycle Jira backlog:
- discuss task / bug (one at a time)
- assign to person / release / tag
00:50 - 00:55
#topic open issues
- Check and cycle open issues and pull requests on a build engine
- 00:55 - 00:56
#topic board support status updates
- Discuss (last 10-15) board status update on download pages and build engine (wip, supported, eol) https://www.armbian.com/download/
- 00:56 - 00:57
#topic release officer and meeting organizer and goverance
- Choose upcoming release officer and next meeting organizer (1 or 2 roles). We need someone that is not well acquiented with the process to see if our documentation is good enough. He will get full support / backup, so no need to worry about anything.
- Check if https://docs.armbian.com/Community_Governance/ is up to date
- 00:57 - 1:00
#topic questions about Jira usage
- Answer questions relating to how to use Jira (if any)
- 01:00 -
#topic misc / open discussion
- channel is recorded so a summary and adjustments to Jira can made afterwards, ideally along with the meeting
- A meetbot will create a meeting summary at the end of the meeting. This however heavily relys on user input. So if you have important information to share please put a appropriate keyword in front of your message:
#info - Add an info item to the minutes. People should liberally use this for important things they say, so that they can be logged in the minutes. #action - Document an action item in the minutes. Include any nicknames in the line, and the item will be assigned to them. (nicknames are case-sensitive) #idea - Add an idea to the minutes. #help - Add a "Call for Help" to the minutes. Use this command when you need to recruit someone to do a task.
A release starts as a RC Branch cut from master at freeze time. Once a RC Branch is cut, master can be unfrozen and development can continue. RC Branch is a rolling release that accepts bug fixes. The bug fixes should be cherry-picked back to master branch. Once the RC Is stable, A Final release as a branch named after its version. A release is never merged to master. Once a release is complete, it only should be updated for severe bugs and severe security vulnerabilities. A release is only maintained until the next release.
1. Forum Communication¶
- Create a new thread in the Armbian Build Framework Subforum
- Ex topic name:
Ambian 20.02 (Chiru) Release Thread
- Tag the post with relase, release version, and codename
- Use the following template to begin the body of the release thread:
Release Candidate Code Freeze Date: YYYY-MM-DD Release Date: YYYY-MM-DD Release Candidate Branch Link: URL Release Changelog: URL Release Coordinator: @yourname Testing Tracking Sheet: https://example.com/link (google sheets) The goal of this thread is to discuss testing, bugfixes, and the overall quality of the release. Once the release is complete, this thread should be locked and unpinned.
- Before Code Freeze – Make note in the thread the incomplete jira issues tagged for the release example
- After test images are procuded, engage in community for assistants wih testing.. forums, twitter, etc. share this tool
2. Release Candidate Branch Management¶
- For code freeze – create a RC branch as
- If Possible, create Jira tickets for major changes in github that were not tracked in Jira
- Begin Testing Process. See Release Testing
- Do not modify branch directy. Only accept PRs
- Only accept PRs for Bugfixes. No features
- Update master branch version to the NEXT release version with
-trunkex. If RC is v20.02.0-rc Master bacomes v20.05.0-trunk
- CI Testing should pass on PR
- Test images should automatically be built via Igor’s script
- Repeat build, test, and bugfix process until release is stable
- Cherry-pick bugfixes back into master
- Create Final Release branch from RC
- In Github create a Release from final release branch
- Copy Release notes generated by Jira Release into Github form
- Add other appropriate information into release github release notes
- Point Armbian build system to new release
- Update armbian documentation to reflect current release
Reflection on Prior Releases¶
Opportunities for Improvement¶
wireless driver testing¶
- wireless is a particularly sensitive issue. We need to test, fix, or at least be able to inform others of what is broken
- Good response from community for testing assistance
- Release was on time