Funtoo Linux Optimization Proposal: Release Engineering
This is a proposal to implement a strong release engineering infrastructure for Funtoo Linux. Funtoo currently is only a rolling-release distro and does not have the option to also be non rolling. In order to create a more stable and maintainable Funtoo, this proposal will be offering a few things that we can do to make that happen.
This proposal will not change Funtoo from a rolling release distro to a non rolling one, but it will instead simply add the option to also be non rolling.
Funtoo will also not become a binary distro and will remain 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 and maintainable distro for users that want to have predictability with their system upgrades, whether they are a normal user, or an enterprise one.
The following things are proposed:
- Semi-Rolling Releases (Chinchilla)
- A Complete OS
- Funtoo Binary Platform
Semi-Rolling Releases (Chinchilla)
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 the Portage Tree git branch and then focus on stabilizing that tree. Once we stabilize it, people can use it without having to worry about major version upgrades. The user can then use this branch until another branch later in the future is created. The user can then 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 frozen phase, 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 “Chinchilla” branches. These branches configure your system to follow the Funtoo tree selected. This funtoo tree will not introduce any version changes and will only include tree fixes (bugs or ebuild) and security updates.
For example: Funtoo 14.1 is currently the January 2014 release. In order to use this release you can select this release 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 frozen release is released, you can change your profile to point to that release. Frozen releases are made to freeze the distro for the short term, and upgrading to the next frozen release is recommended. There will most likely be a “Long Term” frozen release 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 will be in the FBP can be found at the link below:
You can download Chinchilla 14.1 which is mostly using all the above concepts (Excluding profile selection) here: