-
Notifications
You must be signed in to change notification settings - Fork 179
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
Support duplicate file paths in tar archives #850
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
I will await design feedback before updating tests. |
Let's work out behavior in the issue before continuing with this. |
I think the discussion in #849 came up with a good proposal. Whenever you're ready. |
Hello. Yes, I would agree. I have started to work on it.
…On Wed, Apr 24, 2024 at 9:57 PM aiuto ***@***.***> wrote:
I think the discussion in #849
<#849> came up with a good
proposal. Whenever you're ready.
—
Reply to this email directly, view it on GitHub
<#850 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRWVZTPR3JDSZA6HHRZ5GTY7AFELAVCNFSM6AAAAABGCIY3GKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVG4ZTKMRWGI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
e06c9d9
to
6c2e749
Compare
a2cbc88
to
b49f33f
Compare
Duplicate path entries are made possible within tar archives as discussed in feature request bazelbuild#849. This includes an interaction with create parents, where the only logical scenario which would require inference of a parent directory is when one does not already exist. This is because allowance of duplicates is only useful when explicit paths are declared. RELNOTES: Duplicate path entries supported within tar archives
b49f33f
to
4f098c6
Compare
The commit above provides
In the pre-existing code,
It would be straight-forward to adapt the code to the second case. The first case would however require a mechanism to specify which archive (i.e. The purpose of duplicate support is to allow evolution of artifacts with implicit override behavior consistent with typical tar utilities. Since files can never be artifacts and instead serve to specify incremental change, Outside of the discussion in issue #849, there were some unforeseen interactions with Future improvement considerations are:
|
I can look at this later today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the slowness. Things got busy here.
Duplicate path entries are made possible within tar archives, as per feature request described in #849.
RELNOTES: Duplicate path entry support within tar archives