rstudio / rstudio/packrat

Do not modify gitignore

Open
#332 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
409
Forks
89
PR merge metrics
No merged PRs in 30d

Description

packrat modifies my gitignore, regardless of what I do. By this I mean, Even if I turn off the options of:

vcs.ignore.lib: FALSE
vcs.ignore.src: FALSE

packrat still modifies my gitignore by removing newlines separating sections therein. I'd prefer it not touch the gitignore at all, I'll handle this myself. Is there a way to stop packrat from modifying the gitignore?

Thank you!

Contributor guide

No contributing guide indexed for this repository

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 reproducing the behavior with vcs.ignore.lib and vcs.ignore.src both set to FALSE, using a .gitignore with separated sections. Trace the packrat operation that updates the gitignore; done means existing gitignore content and newline separation remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.