Some recent cdimage changes for improved consistency
A bit of context
Here is a quick update on some recent changes happening on the release
infrastructure.
First, what do we call cdimage? That designate both the Launchpad
ubuntu-cdimage project, the server
actually running this code, and the exposed web service accessible here:
https://cdimage.ubuntu.com/. People used to work with all kinds of Ubuntu images
usually know this service well, because thatβs where theyβre used to grab their
daily images.
But the file structure exposed here is notoriously difficult to figure out, and
a lot of cruft accumulated over the years. Given that weβre working on
modernizing the whole machinery, and that the present cycle is the first interim
after an LTS, now is the perfect timing to rollout changes that could potentially
impact many consumers of the service.
The changes
So, what did we roll out recently? Well, @utkarsh worked on putting together two
very welcome changes in the code:
- Nesting the devel series: https://code.launchpad.net/~utkarsh/ubuntu-cdimage/+git/ubuntu-cdimage/+merge/505704
- Nesting the
ubuntuproject: https://code.launchpad.net/~utkarsh/ubuntu-cdimage/+git/ubuntu-cdimage/+merge/507155
Feel free to go have a deeper look, but let me give you a high level view that
should hopefully be enough for most people.
Simplifying the tree a lot, here is what we had before:
/
βββ daily-live
β βββ there you found the daily stonking `ubuntu` images
βββ noble
β βββ daily-live
β βββ there you found the daily noble `ubuntu` images
βββ releases
β βββ noble
β βββ there you found the released noble `ubuntu` images
βββ ubuntu β only the "ubuntu" project behaved weirdly like that
β βββ symlink to ../daily-live
β βββ symlink to ../noble
β βββ symlink to ../releases
βββ ubuntu-server β most other flavors behaved like this
βββ daily-live
β βββ there you found the daily stonking `ubuntu-server` images
βββ noble
β βββ daily-live
β βββ there you found the daily noble `ubuntu-server` images
βββ releases
βββ noble
βββ there you found the released noble `ubuntu-server` images
And here is what the new tree looks like now:
/
βββ ubuntu
β βββ noble
β β βββ daily-live
β β βββ there you find the daily noble `ubuntu` images
β βββ stonking
β β βββ daily-live
β β βββ there you find the daily stonking `ubuntu` images
β βββ releases
β βββ noble
β βββ there you find the released noble `ubuntu` images
βββ ubuntu-server
βββ noble
β βββ daily-live
β βββ there you find the daily noble `ubuntu-server` images
βββ stonking
β βββ daily-live
β βββ there you find the daily stonking `ubuntu-server` images
βββ releases
βββ noble
βββ there you find the released noble `ubuntu-server` images
What changed?
- The devel series daily builds now behave exactly like other stable series, by
having their own per-project folders to store thedaily-livedirectory. - The
ubuntuproject now behaves exactly like the other projects, instead of
invading the root directory directly with both itsdaily-liveandreleases
folders.
Of course, in the real tree, many daily-live also have a daily-preinstalled
sibling, and noble currently has its resolute sibling, because those are the
two stable series for which we still build images.
NOTES: at the time of publishing this, the content-cache on top of the
web-service still hasnβt fully pick-up the change, so you might experience
some inconsistencies in the coming few hours.
Breaking changes
- The
/releasesfolder at the root is now located in/ubuntu/releases.
We have put a redirect in place to hopefully mitigate broken links, but please
update your pointers as well to follow the change. - Daily builds for
stonkingnow have an additional/stonking/nesting level.
Given that these are daily images for an unreleased series, we deliberately
didnβt put redirects in place, to force consumers to adapt to the new path.
Thatβs in preparation for further changes coming in the next few months, and we
take the occasion to discover what breaks early-ish in the cycle.
Closing notes
We hope youβll find the changes to be welcome, and weβll be very happy to
hear from you if any of those changes broke your workflow. So please come to
us, nothing is set in stone, and weβll do our best to find an arrangement if
something here is making you sad ![]()