bazelbuild / rules_pkg

Bazel rules for creating packages of many types (zip, tar, deb, rpm, ...)
Apache License 2.0
212 stars 166 forks source link

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

Closed aiuto closed 2 months ago

aiuto commented 2 months ago

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.

aiuto commented 2 months ago

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