-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.rcsignore file not ignoring files #568
Comments
The ignore file name should be |
@kevinushey could you possibly provide some more information about how the
Must one list ALL files/directories that should be ignored in the |
Based on the implementation, it looks like we just do a plain Lines 99 to 106 in 3fbc8ce
It'd be worth considering if we could do something smarter here; e.g. even just supporting regular expressions or something. (Perhaps that's worth filing as a separate feature request?) |
There's some documentation for it here: Lines 189 to 192 in 3fbc8ce
but that's definitely not going to be the first place people look to find documentation, so we should probably elevate this to something else (e.g. a vignette) |
Thanks @kevinushey for feedback! |
@aronatkins, any sense on whether this would be worth triaging for an upcoming |
I just fixed this in passing, by accident. |
So now the .rscignore has the same functionality of .gitignore (e.g., wildcards and normalized paths)? |
@nick-youngblut no, it actually works as documented. |
Should we keep this issue open to track extending the way one might specify ignored files in |
Hey, I'm not sure this function works as expected for folders? Doc says :
But this doesn't seem to work for folers. Reprex :
This works as expected for one file
This doesn't with either
Here is the content of the file:
|
Ok so as far as I can tell,
But
and
This would work as expected if recursiveBundleFiles did
instead of
Happy to discuss a PR here |
@ColinFay could you please file an new issue with reprex? You can use the now exported |
Sure, I wasn't sure I had entirely understood the doc, hence my answer here :) I'll open an issue. |
I am trying to use the .rcsignore file to ignore a couple large data files in the app that do not need to be deployed to shinyapps.io. Each time the file is still uploaded to shinyapps.io. I am able to have these files ignored when I used the
appFiles
argument indeployApp()
.I also noticed this file does not appear in the Files pane of RStudio unless I go into the More settings and select 'Show Hidden Files'.
The text was updated successfully, but these errors were encountered: