-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
switch-to-configuration-ng: update rust-ini to support multi-line INI… #343145
Conversation
rust-ini = { git = "https://github.com/jmbaur/rust-ini", branch = "multi-line", features = [ | ||
"inline-comment", | ||
] } |
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.
Any hope of this being upstreamed (presumably as a runtime‐configurable feature)?
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.
That's the goal. I plan on PR'ing it soon. The "inline-comment" feature is actually a feature unrelated to my work, but we need it anyways.
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.
Sounds good. Note that due to how Cargo unifies features across the dependency tree it’s somewhat dangerous to use them to change behaviour like this, but I guess that’s a problem with the flags this crate has already.
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.
So I have a PR for upstream here. @emilazy Assuming I have changes to make to that PR to be acceptable for merging upstream, do you think it would be best to pin to a different branch here with the same changes? I think github keeps unreachable git objects on their end, but might be best to not take that chance.
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.
Upstream PR is merged! Updated cargo dependency to point to that rev
@ofborg test switchTest switchTestNg |
e0ab6f0
to
07fdff1
Compare
07fdff1
to
f6fed8b
Compare
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.
@ofborg test switchTest switchTestNg
@emilazy is this waiting on anything else or can this get merged? |
Nope I just forgot :) LGTM, merging. |
… values
Description of changes
Fixes #342642
This updates the rust-ini crate to point to the latest rev of that project, which adds systemd-styled multi-line INI support to the parser.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.