-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream metadata generator #193
Comments
Just some random thoughts on this from discussions we've had on the subject. Accessible history is important for Cincinnati to build its graph. That's a separate use case from "archival" purposes though. E.g. I can imagine only keeping the subset relevant to Cincinnati somewhere in the bucket (basically just OSTree commit & version, right?), whereas we keep the full history of all changes to |
My understanding is that Cincinnati will build its graph from the release metadata, and will only use the stream metadata to determine the current target version for upgrades. So stream metadata history would just be for posterity. |
For curiosity, what are the use-cases of having stream metadata history? |
@sinnykumari People might sometimes need to find out why a machine ended up running a particular version of the OS. But mostly there isn't a concrete use case; it just seems wrong to have an important, mutable user-facing data source without any recorded history. |
Summary from community meeting discussion:
We mostly leaned towards option 2 |
Created coreos/fedora-coreos-streams. |
If we go through option 2, I thought of following directory/file layout for https://github.com/coreos/fedora-coreos-streams repo to keep override and historical stream file for respective streams.
|
@bgilbert @jlebon @lucab @arithx does file layout for fedora-coreos-streams repo in #193 (comment) looks reasonable? |
@sinnykumari Yup, SGTM! |
@sinnykumari SGTM! |
With the bucket layout change in #208 , We might want to rename corresponding stream.json proposed in #193 (comment) to below:
|
Hmm, we could even take it a step further and make it:
? Then the upload step would just be |
SGTM |
This is long since done in https://github.com/coreos/fedora-coreos-stream-generator/. |
Write a tool which consumes release metadata and an override file, produces stream metadata, and perhaps uploads it. This could be in cosa, or mantle, or elsewhere.
We'll need to decide where the override file should be stored. It should probably be in version control, and we should probably record the history of the stream metadata somewhere.
The text was updated successfully, but these errors were encountered: