Skip to content

Added conditional compilation for symlink removal in cli and clone - #252

Merged
micprog merged 2 commits into
pulp-platform:masterfrom
sigmuha:fix/windows-remove-symlink
Jan 19, 2026
Merged

micprog merged 2 commits into
pulp-platform:masterfrom
sigmuha:fix/windows-remove-symlink

Conversation

@sigmuha

@sigmuha sigmuha commented Jan 19, 2026 •

Copy link
Copy Markdown
Contributor

Removal of symlinks is now handled differently for Unix and Windows:

@micprog micprog left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for finding this issue and proposing a fix! Unfortunately, we don't test Windows as extensively. I proposed some minor adjustments to simplify the design, but should be OK otherwise!

Comment thread src/cmd/clone.rs Outdated
Comment thread src/cli.rs Outdated
@micprog
micprog force-pushed the fix/windows-remove-symlink branch from 0391610 to 13d5e75 Compare January 19, 2026 15:53

@micprog micprog left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the updates and fixes! LGTM! I ran cargo fmt and rebased to simplify merging.

@micprog
micprog merged commit 738de82 into pulp-platform:master Jan 19, 2026
11 checks passed
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.

2 participants