-
Notifications
You must be signed in to change notification settings - Fork 195
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
declarative human-editable representation for rpm-ostree client-side operations #910
Comments
I'd like to consider what an rpm-ostree ansible module would look like. So I'd say we frame this in YAML. Also as you noted BTW, it's not just layering; for example there's also |
+1
ahh - yep. |
One way I've been thinking of this is to try to be more
Except of course |
OK this is very similar to my idea in #2326 (comment), to the point where I'm thinking this issue might've been the inception of the idea in my brain and I just forgot about it. Let's keep discussing this in the fresher #2326 issue. |
I've chatted with jlebon and walters some about this before. It would be nice if we had a plain text representation of all the rpm mutations that have been done to a system. All current mutations and all future mutations can be filtered through this representation. This representation can be editted with something like
rpm-ostree edit layers
, which will open the representation in a text editor and allow for the representation to be modified/written (and sanity checked upon write).An example would be:
rpm-ostree install foo
text representation now shows:
text representation now shows:
rpm-ostree install apple
rpm-ostree ex override remove tmux
rpm-ostree ex override replace kubernetes
One could then
rpm-ostree edit layers
and change any of themutations that have been done to the system or even add more. The
idea is that every mutation distills down into a single representation
of what the final system state should be (as compared to the base
layer).
There are probably many things wrong with what I have suggested so far
but it generated enough good discussion for us to want to create an
issue out of it and have further discussion. Let's do that here.
The text was updated successfully, but these errors were encountered: