posit-dev / posit-dev/connectapi
Add a way to ignore files from `bundle_dir()`
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 54
- Forks
- 27
- Avg merge
- 1d 3m
- Merged PRs (30d)
- 1
Description
bundle_dir() will currently include problematic things:
- files that are huge
- directories like
packrat/,renv/, orvenv/that are known to be problematic
IIRC there is a .connectignore convention somewhere? We should look into that! And take note of what the internal tar implementation we are using has available.
Contributor guide
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 implementation of bundle_dir() and inspect how its internal tar implementation selects files. Investigate the mentioned .connectignore convention and available exclusion options, including handling for large files and packrat/, renv/, and venv/. Done means bundle_dir() can reliably omit configured or known-problematic paths, with behavior verified by the repository's relevant tests if present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100