# Keeping up with upstreamQuine Linux is built from other people's moving parts. This is how theymove, what that breaks, and how we've chosen to live with it: bleedingedge, fixing forward. At the end: what we'd do instead if we wanted to bestable.## The layers| Layer | What it gives us | How it moves ||---|---|---|| **Fedora** | Every package, and the source for each | Updates go stable in batches through Bodhi, most days. Mirrors pick each push up over the following hours. || **Universal Blue / Aurora** (our fork, `quine-global/aurora`) | A tested image: Kinoite plus Aurora's package set, and a signed kernel with prebuilt modules (akmods) | `stable` is a snapshot, rebuilt on Aurora's schedule after its own testing. It trails Fedora by days. || **Us** (`Containerfile`) | Our overlay, our apps, and patched builds of parts of Plasma (Kickoff, libtaskmanager) and of a kernel module (CS8409) | Every push to `main` and daily, published straight to every machine. |Each layer is fine on its own. The trouble is where they meet, because theymove at different speeds.## What goes wrong### Lagging: the base is older than its sourceWe don't just install things on top of Aurora: we rebuild pieces of it withour patches, and a rebuilt piece has to match the rest exactly. Ourlibtaskmanager replaces one file inside Plasma, and only works against thePlasma it was built from. So the builder needs the source and `-devel`packages of *exactly* the version in the image.When Aurora's `stable` trails Fedora, that version is no longer Fedora'snewest, and Fedora's repos keep only the newest. Binaries get a second lifein `updates-archive`; **source packages get none**. On 2026-11-15 the imagehad Plasma 6.8.2 while Fedora had moved to 6.8.3, `dnf download --source`found nothing (and still exited 0), and the build broke.### Too soon: two parts of one build see different worldsA Fedora push reaches mirrors over hours. Two downloads minutes apart canhit two mirrors, one with the push and one without. On 2026-11-16 one stageof our build upgraded to Plasma 6.8.3 from a current mirror, and the nextstage asked a stale one for the matching `-devel` packages, which it didn'thave yet.### Pinning: a pin holds still while the world movesPinning (an exact version, a digest, a snapshot) makes builds repeatable,but a pin rots. What it points to disappears upstream (see above), securityfixes wait until someone bumps it, and the longer it sits, the bigger andriskier the eventual bump. A pin is only as good as the archive behind it.### Old versions are hard to get back| Thing | Kept? ||---|---|| Fedora binary RPMs | Newest in `updates`; older in `updates-archive` || Fedora source RPMs | **Newest only.** No archive repo || Fedora builds of any version | Koji (`kojipkgs.fedoraproject.org`), every build, binaries and sources, but as files, not a repo || KDE release tarballs | `download.kde.org`, indefinitely || Container tags (`aurora:stable`) | Move; old digests vanish once nothing refers to them || Our Pulp mirrors | Today they mirror upstream exactly (`mirror_content_only`), so they drop old versions when upstream does |## Our strategy: bleeding edge, fix forward1. **Track Fedora's latest, every build.** The `Containerfile`'s first stage,`updated`, upgrades Aurora to Fedora's newest packages before anythingelse. What we ship is never older than Fedora, so whatever we need thesource of is always in Fedora's repos. Shipping combinations Aurorahasn't tested yet is accepted: what breaks, we fix.2. **Except the kernel.** It comes signed from Universal Blue together withits prebuilt modules; upgrading it alone would break them. It moves whenAurora's `stable` moves.3. **One snapshot per build.** The `updated` stage keeps its repo metadata,so every later stage resolves against the same picture of Fedorainstead of whichever mirror it lands on. The final stage throws it away.4. **Build our patches against exactly what ships.** Every builder stagestarts `FROM updated`, and pins its `-devel` packages to the installedversions. If a new Plasma moves the code a patch touches, the build stopsand says so; we update the patch.5. **When something old is needed anyway, go to the source of record.** Thelibtaskmanager build falls back to Koji for a source RPM the repos nolonger carry.6. **Fix forward, fast.** A daily build means breakage shows up within a dayof the upstream change that caused it, while the change is small andfresh. Users get the same speed in reverse: every fix reaches everymachine on its next update. Their safety net is bootc: the previoussystem stays installed, and `update-confirm` offers to roll back after anupdate.The price: we ship what nobody has tested together before, our users findsome of the problems before we do, and a bad upstream day becomes our badday. For a system that wants new hardware support and new Plasma featuresthe week they land, that's the trade we've chosen.## If we wanted to be stable insteadThe same building blocks, used to hold still and move deliberately:1. **Build from snapshots, not live mirrors.** Point every build's dnf atPulp (`pulp.in.quineglobal.com`, which already mirrors Fedora, its sourcerepos, and the COPRs and other repos Aurora uses), and build against a*named repository version* instead of whatever synced last. A build isthen repeatable: the same commit and the same snapshot give the sameimage.2. **Keep the past.** Switch Pulp's sync policy from `mirror_content_only`to `additive`, so a package stays once we've seen it, source RPMsincluded. That's the archive Fedora doesn't keep for sources. Raise`retain_repo_versions` and budget the disk for it.3. **Mirror what we patch.** Forge mirrors of `plasma-workspace` (like our`plasma-desktop` fork for Kickoff) give us any version's source,permanently, from our own infrastructure.4. **Two channels.** Builds of the latest go to a `testing` tag. A build ispromoted to `stable`, which is what installed systems follow, only afterthe VM test passes and it has run on our own machines for a while.Promotion re-tags the already-built image: nothing is rebuilt.5. **Follow Aurora instead of overtaking it.** Drop the `updated` stage,or limit it to `dnf upgrade --security`, so we ship Aurora's testedpackage set plus security fixes.6. **Bump on purpose.** Snapshot moves become reviewed changes, like theimage pins in petersweb-infra: a PR that says what changed, testedbefore it merges.Most of this infrastructure already exists (Pulp, the forge's registry andmirrors, the VM test). Being stable would mostly mean wiring the build toit and adding the promotion step, at the cost of shipping new upstream worklater and maintaining the archive.