Skip to content
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

fix: another clobbering issue #1066

Merged
merged 4 commits into from
Feb 17, 2025
Merged

fix: another clobbering issue #1066

merged 4 commits into from
Feb 17, 2025

Conversation

wolfv
Copy link
Contributor

@wolfv wolfv commented Feb 13, 2025

This should fix #1061

@wolfv wolfv force-pushed the fix-clobber-once-more branch from b05058c to 7a3c390 Compare February 13, 2025 20:40
crates/rattler-bin/src/commands/create.rs Outdated Show resolved Hide resolved
crates/rattler/src/install/mod.rs Outdated Show resolved Hide resolved
crates/rattler/src/install/mod.rs Outdated Show resolved Hide resolved
@@ -737,19 +760,20 @@ pub fn link_package_sync(
// files that are either in the clobber map or contain a placeholder,
// we defer to the regular linking that comes after this block
// and re-add them to the paths_by_directory map
for file in files {
if clobber_paths.contains_key(&file.1) || file.0.prefix_placeholder.is_some() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The problem was that we were using the computed path here, which already contained the "clobber"-modifications. And thus, we never re-added the path here...

@wolfv wolfv changed the title Fix another clobbering issue fix: another clobbering issue Feb 14, 2025
@wolfv wolfv merged commit de2efe8 into conda:main Feb 17, 2025
15 checks passed
This was referenced Feb 17, 2025
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.

Had a clobber
2 participants