<#19530 `archive`: support dot-slash-prefixed path...
# github-notifications
c
#19530 `archive`: support dot-slash-prefixed paths for Tar-formats Issue created by tgolsson Is your feature request related to a problem? Please describe. Some tools (e.g. the Deploy Pages GH Action) prefer and/or require paths that are explicitly relative, with a leading
./
on every path. Pants currently generates archives without this prefix. While not overly complex to manually fix it after packaging, it might be useful to allow this as an option. Describe the solution you'd like The ability to specify a
path_prefix
for tar-like formats. Describe alternatives you've considered Manually fixing it seems the most consistent. I was not able to get the right results with
relocated_files
. Additional context • See above issue link for a clear issue caused by the current format. • I can contribute the changes necessary here if this seems like a good change. pantsbuild/pants