-
Notifications
You must be signed in to change notification settings - Fork 111
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
host: Switch to inline postprocess
element
#316
host: Switch to inline postprocess
element
#316
Conversation
Information: https://url.corp.redhat.com/redhat-coreos | ||
Bugs: https://github.com/openshift/os | ||
--- | ||
EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the old file there was an extra newline between the ---
and the EOF
. Don't know if we want to keep that or not or if it's possible with inline yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now with 🆕 newline ⬇️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is slight bikeshed but... why not keep the newline separators in the actual script itself too? Makes it much nicer to read through it. At least PyYAML
definitely supports that. I'd be surprised if serde didn't.
did a vimdiff between the old file and new ones. one small comment. LGTM |
The primary reason I'm doing this is that today rpm-ostree's treefile inheritance doesn't quite do what one wants with external files. There's some major work on that in coreos/rpm-ostree#1574 But let's not block on/require it. Furthermore, using the inline `postprocess` value allows us to clearly demarcate the `maipo`-specific hacks in that file.
e5be9a1
to
2fe5800
Compare
/lgtm |
The primary reason I'm doing this is that today rpm-ostree's
treefile inheritance doesn't quite do what one wants with external
files. There's some major work on that in
coreos/rpm-ostree#1574
But let's not block on/require it.
Furthermore, using the inline
postprocess
value allows usto clearly demarcate the
maipo
-specific hacks in that file.