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

Issue1270 - fixing relative symlinks with (inappropriate) ../../ in them... #1272

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

petersilva
Copy link
Contributor

removed special relative translation that turns out to have been wrong-headed.
requires/works best with: MetPX/sarrac#168

with the two fixes, renames and symlinks should be a lot better.

working on #1270.

The relative path conversion is actually different for rename vs. link.
the rename needs to take into account where in the tree it is,
but the link is always from the destination directory (where the link
is.)  So the processing of 'link' and 'rename' is actually different.

I need more testing, I think link is correct now.
It looks like sarrac #169 was being mostly hidden/corrected by
inexplicable logic here. Once #169 is corrected, the strange
adjustments to the relative path can be removed.
Copy link

github-actions bot commented Oct 23, 2024

Test Results

249 tests   248 ✅  1m 28s ⏱️
  1 suites    1 💤
  1 files      0 ❌

Results for commit 5b7179a.

♻️ This comment has been updated with latest results.

@petersilva petersilva marked this pull request as ready for review October 23, 2024 08:47
@petersilva petersilva changed the title Issue1270 Issue1270 - fixing relative symlinks with (inappropriate) ../../ in them... Oct 23, 2024
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.

1 participant