-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Prettier UI #260
Prettier UI #260
Conversation
e175a18
to
14bbc9d
Compare
Given it is not always a symlink, and the symlink bit is really an internal detail
55070bf
to
8195e0e
Compare
Ok(()) | ||
} | ||
|
||
fn install_copy(src: &Path, dst: &Path) -> Result<(), BinstallError> { |
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.
Can we make install_copy
atomic by first creating a NamedTempFile
?
); | ||
|
||
#[cfg(unix)] | ||
{ |
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.
It's actually possible to also make symlink atomic.
Check the original helpers::atomic_symlink
for implementation.
There are so many merge conflicts on this PR... |
Going to close this and redo it later |
It's probably better to split it into multiple small PRs as that would make merging much easier and less likely to have conflicts. |
Closes #156
--no-confirm
--no-symlinks
to--no-versioned
(keeps the old name as alias for now)--no-versioned
behaves to be in line with the option help text and align with expectationsWhen the terminal is not interactive, it defaults to
no-confirm
and switches to log view: