Skip to content

pkg_tar should not prefix tree artifacts with ./#681

Merged
aiuto merged 1 commit intobazelbuild:mainfrom
clint-stripe:clint/pkg_tar-tree-strip_prefix
Mar 16, 2023
Merged

pkg_tar should not prefix tree artifacts with ./#681
aiuto merged 1 commit intobazelbuild:mainfrom
clint-stripe:clint/pkg_tar-tree-strip_prefix

Conversation

@clint-stripe
Copy link
Copy Markdown
Contributor

Fixes #676

It was enlightening to note that build_zip doesn't have the same problem! build_zip's add_tree has a key special case that previously we didn't have in build_tar:
https://github.com/bazelbuild/rules_pkg/blob/main/pkg/private/zip/build_zip.py#L178-L194

@clint-stripe clint-stripe requested review from aiuto and nacl as code owners March 15, 2023 18:20
@aiuto
Copy link
Copy Markdown
Collaborator

aiuto commented Mar 16, 2023

Thanks for an easy to review PR.

  • It fixes an issue that has been marked as a bug
  • It comes with a test

@aiuto aiuto merged commit edd4d3d into bazelbuild:main Mar 16, 2023
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.

prefix-stripped directory artifacts end up with two versions, with and without leading .

2 participants