You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other than specifically src, lib, bundles, and vcs.history, it would be very useful to omit specific files or sub-directories from a bundle.
My first thought was to include extra_flags="--exclude data-raw", but since bundleforces the use of the internal tar (vice the tar executable), the extra_flags= argument is ignored.
Some options:
Allow the user to override tar=. There are incompatibilities between internal and command-line tar, so this might not be possible, but it would allow the use of extra_flags= if done correctly.
Add bundle(..., exclude=) where exclude is either a vector of files/dirs to remove completely or patterns to match against all files. This would require changing from files=basename(project) to an actual vector of files/dirs to include, appropriately filtered.
The text was updated successfully, but these errors were encountered:
Also, would allowing pattern-exclusion help with the current method of copying all files into a new directory? That seems unnecessary (and inefficient, esp for large projects) if you can control the files passed to tar.
Other than specifically src, lib, bundles, and vcs.history, it would be very useful to omit specific files or sub-directories from a bundle.
My first thought was to include
extra_flags="--exclude data-raw"
, but sincebundle
forces the use of the internaltar
(vice thetar
executable), theextra_flags=
argument is ignored.Some options:
Allow the user to override
tar=
. There are incompatibilities between internal and command-linetar
, so this might not be possible, but it would allow the use ofextra_flags=
if done correctly.Add
bundle(..., exclude=)
whereexclude
is either a vector of files/dirs to remove completely or patterns to match against all files. This would require changing fromfiles=basename(project)
to an actual vector of files/dirs to include, appropriately filtered.The text was updated successfully, but these errors were encountered: