posit-dev / posit-dev/connectapi

Add a way to ignore files from `bundle_dir()`

Open
#162 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
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/, or venv/ 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.