Funtoo Linux Optimization Proposal: Release Engineering
This is a proposal to implement a strong release engineering infrastructure for Funtoo Linux. Funtoo is currently only a rolling-release distro and does not have the option to have another pace. In order to create a more stable, maintainable, and predictable Funtoo, this proposal will be offering a few things that can be done to make that happen.
This proposal will not change Funtoo from being a rolling release distro, but it will instead simply add the option to also run at another pace.
Funtoo will also not become a binary distro and will remain primarily a source based one. However, binaries do provide various advantages that allow users to have faster deployments or easier disaster recovery. For this reason Funtoo will make available binary packages for the most time consuming, and most commonly used applications.
This will make Funtoo a much more stable, maintainable, and predictable distro.
The following things are proposed:
- Semi-Rolling Releases
- A Complete OS
- Funtoo Binary Platform
The semi-rolling release model is a hybrid between a rolling release and a non-rolling release. This means that instead of bring new packages in all the time (rolling release), and instead of just completely freezing everything and bringing new packages/features every X months, we can have a middle ground where we can quickly and easily branch our Portage Git Tree, and focus on stabilizing it. Once we stabilize it, people can use it without having to worry about major version upgrades. The user can then use this branch until a later branch is created, and can easily upgrade to the new branch by switching their profile to the new version.
New Funtoo Profiles for Releases
Since we want to provide users the ability to easily enter and exit into a semi-rolling state, new profiles will be added periodically.
The first and main branch for development is the “current” branch. This is the same branch that everyone is using and that is the traditional rolling release branch.
The second branch is the “stable” branch. This is the same stable branch that is available today, also using a rolling release approach and that uses ‘arch’ and other masks in order to provide stability.
The new branches are considered semi-rolling branches. These branches configure your system to follow the branch selected. This funtoo branch will not introduce any major version changes and will only include tree fixes (bugs or ebuild) and security updates.
Let's say we have a release called Funtoo 14.1 and that it was released in January 2014. In order to use this release you can select this it from the profile module:
# eselect profile set-build 5 # eselect profile list Currently available arch profiles:  funtoo/1.0/linux-gnu/arch/x86-64bit *  funtoo/1.0/linux-gnu/arch/pure64 Currently available build profiles:  funtoo/1.0/linux-gnu/build/stable  funtoo/1.0/linux-gnu/build/current  funtoo/1.0/linux-gnu/build/14.1 * Currently available flavor profiles:  funtoo/1.0/linux-gnu/flavor/minimal  funtoo/1.0/linux-gnu/flavor/core *  funtoo/1.0/linux-gnu/flavor/desktop  funtoo/1.0/linux-gnu/flavor/workstation  funtoo/1.0/linux-gnu/flavor/hardened
Once a new semi-rolling branch is released, you can change your profile to point to it. Semi-rolling releases are made to freeze the distro for the short term, and upgrading to the next semi-rolling release is recommended. New semi-rolling branches act as "upgrade packs" since you will just be getting a new set of applications that won't be changing drastically for another 4 months. There will most likely be a “Long Term” semi-rolling releases as well for people that do not like to update every 4 months.
In the event that you do not update for various releases, a full system reinstall is recommended since a lot of things change over time including toolchain updates that have cascading effects.
Example of 4 Month Release Cycle
- Funtoo 14.1 (January 2014)
- Funtoo 14.2 (May 2014)
- Funtoo 14.3 (September 2014)
- Funtoo 15.1 (January 2015)
Which branch is for what person?
The “current” branch is for people who want to be on the bleeding edge all the time. You will get the latest updates, and here is where all the development happens. Your system might not be fully stable all the time, and things might fail to compile. This is the traditional Funtoo rolling release model. If you want to continue using your system the way it has always been, this is the branch for you.
The “stable” branch is for people who still want to be using the rolling release model but want to depend on the traditional method of ebuild’s hiding newer versions based on “~”.
The new frozen branches are for people who don’t want a lot of updates but would rather have a more stable version of the “current” tree that is audited for stability.
A Complete OS
An operating system is not just a stage3 tarball. The stage3 is incomplete and requires the user to compile their own kernel and bootloader before being able to use their system. We should have a stage which includes a well tested kernel, bootloader, and other utilities necessary for an user to deploy their system. This will speed up deployments and will provide predictability for kernel modules, and other applications that rely on a kernel.
The fundamental and primary contents of a stage3 is to have a full @system, and nothing more. A stage4 would be the next iteration which includes the stage3, a kernel, bootloader, and other utilities necessary for an user to deploy their system.
Funtoo Binary Platform
The Funtoo Binary Platform is intended to provide binaries for the most time consuming and most commonly used applications in the Funtoo Community. There are applications that will not be provided in the the FBP. Examples of these applications are applications that require a kernel for compilation, applications that require explicit license acceptance, or applications that cannot be distributed due to certain patents/copyright issues.
Example of some applications that can be in the FBP can be found at the link below: