Skip to content

install: do not overwrite just-created files - #14724

Merged
sylvestre merged 2 commits into
uutils:mainfrom
wtcpython:install-just-created
Sep 20, 2026
Merged

sylvestre merged 2 commits into
uutils:mainfrom
wtcpython:install-just-created

Conversation

@wtcpython

Copy link
Copy Markdown
Contributor

Should make test misc/just-created.sh pass

@github-actions

github-actions Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/date/date-locale-hour (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/misc/just-created is no longer failing!

@sylvestre

Copy link
Copy Markdown
Contributor

It is still a draft

@wtcpython
wtcpython marked this pull request as ready for review September 19, 2026 14:30
Copilot AI lite review requested due to automatic review settings September 19, 2026 14:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread src/uu/install/src/install.rs Outdated
if !target_dir.is_dir() {
return Err(InstallError::TargetDirIsntDir(target_dir.to_path_buf()).into());
}
let mut installed_destinations: HashSet<PathBuf> = HashSet::new();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure it is the best data structure for this

Copilot AI review requested due to automatic review settings September 19, 2026 14:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI review requested due to automatic review settings September 19, 2026 18:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sylvestre
sylvestre merged commit 9b48a72 into uutils:main Sep 20, 2026
102 checks passed
@wtcpython
wtcpython deleted the install-just-created branch September 20, 2026 13:47
hideyosh1 pushed a commit to hideyosh1/coreutils that referenced this pull request Sep 26, 2026
Devel08 pushed a commit to Devel08/coreutils that referenced this pull request Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants