Apt Updates¶
SRU series
The article series covers all aspects of Stable Release Updates (SRUs).
Understand the SRU process:
Stable Release Updates (SRU) - What SRUs are and how an update travels through the SRU pipeline
Principles - The principles behind the strict rules implying What is acceptable to SRU
About the SRU role - Who does what in the process, and the internal team docs
Perform an SRU:
Perform a standard SRU - How to fix a straightforward bug, step by step, and the common issues to avoid
Status pages - Track your SRU’s progress from sponsorship to release
SRU verification - Test the update in -proposed and report the results
Report a regression - Timely reports help to minimize impact
References in regard to the SRU process:
Prepare a special type of SRU - Special types such as staged uploads, NEW queue entries or package removals
Troubleshooting - How to Handle an autopkgtest failure or halted phased updates
SRU bug template - Used to Document how an SRU bug fulfills the criteria in a structured way
Package-specific notes - Standing exceptions for individual packages
apt, python-apt: Upstream versioning scheme LTS SRUs¶
The APT developers (https://launchpad.net/~deity) maintain upstream stable branches for LTS releases of Ubuntu. These will be uploaded to LTS releases using upstream version numbers and no ubuntu downstream version components. These branches are shared with other downstreams like OpenEmbedded, however they are not influenced by other downstream needs.
The APT release management ensures that there is no conflict in versioning between Debian and Ubuntu uploads. There is only one versioned branch with one designated target release.
Apt QA process¶
In addition to normal Ubuntu QA process after the upload, each upstream release (each push to the git branch really) undergoes a dedicated CI pipeline that runs the test suite as both root and a normal user whereas the autopkgtests only cover the root portion.
Apt Requesting the SRU¶
SRUs will follow the normal SRU procedure but may use upstream versions if uploaded by the https://launchpad.net/~deity team.
Other developers are strongly recommended to deliver patches to the upstream APT project and get an upstream APT release instead of releasing uploads themselves to ensure validation by APT developers and the CI. Please ping juliank if you need a patch!
Approvals¶
On behalf of the SRU team, I’m not approving this because I’m not sure the approach to versioning is the right way to do things in the long term. In the short term, this is apparently how its been done for quite a while now, so we can carry on for the moment. No policy exception is required for apt and this document doesn’t represent one - this page just serves to explain the status quo to make future SRU reviews easier.
See the IRC discussion for details.