Skip to content

pkg_tar: if symlink starts with ./, keep it absolute#854

Merged
aiuto merged 1 commit intobazelbuild:mainfrom
aiuto:relsym
Apr 18, 2024
Merged

pkg_tar: if symlink starts with ./, keep it absolute#854
aiuto merged 1 commit intobazelbuild:mainfrom
aiuto:relsym

Conversation

@aiuto
Copy link
Copy Markdown
Collaborator

@aiuto aiuto commented Apr 17, 2024

For the symlink attribute of pkg_tar, if the path begins with ./, preserve the path rather than prefixing package_dir. This allows graceful migration for some uses who rely on the previous package_dir behavior.

Hyrum's law is a strong one.

For the `symlink` attribute of `pkg_tar`, if the path begins
with ./, preserve the path rather than prefixing package_dir.
This allows graceful migration for some uses who rely on
the previous package_dir behavior.
@aiuto aiuto requested a review from cgrindel as a code owner April 17, 2024 02:48
@aiuto
Copy link
Copy Markdown
Collaborator Author

aiuto commented Apr 17, 2024

cc: @lberki This was one of the things which was blocking import.

@aiuto aiuto merged commit e604010 into bazelbuild:main Apr 18, 2024
@aiuto aiuto deleted the relsym branch April 18, 2024 04:25
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