provide an ability to exclude files/directories from bundles
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 409
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
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 bundle forces 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-linetar, so this might not be possible, but it would allow the use ofextra_flags=if done correctly. -
Add
bundle(..., exclude=)whereexcludeis 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the bundle implementation, the internal tar path, and the code that builds files=basename(project). Compare the proposed tar override with an exclude argument for files, directories, or patterns; done means a bundle can omit the requested paths without changing the existing default contents.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100