Behavior of strip_prefix.files_only()
and strip_prefix.from_pkg()
swapped between pkg_files
and pkg_tar
#805
Labels
P2
An issue that should be worked on when time is available
There is a bug that is confusing most users of
pkg_tar
(like it did with me): the effects of usingstrip_prefix.files_only()
andstrip_prefix.from_pkg()
work as advertised when using it withpkg_files
, but the behavior is unexpectedly swapped when using it withpkg_tar
.Below is a full repro:
(Side note: in both
pkg_tar
andpkg_files
, the default behavior is to flatten the files whenstrip_prefix
is unset, which is consistent)The text was updated successfully, but these errors were encountered: