-
Notifications
You must be signed in to change notification settings - Fork 13
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
Exclude parameter for scan command #4
Comments
That's an interesting proposal. I'm trying to keep the Periscope software as simple as possible, so I want to understand whether there is a need for such a feature / how badly it's needed, and whether there's a reasonable workaround etc. How would you use such a feature? E.g. Is it for performance? Is there some usability aspect to it? I've been using Periscope with pretty large data sizes (250 GB -- 4 TB), with a lot of data in Git repos and folders like node_modules, and I haven't really had a problem with it; I just scan everything, and it doesn't really matter that some stuff in there gets scanned too. As a workaround, if I wanted to avoid scanning those directories, at least on my computer all my code is under a |
There are deeply nested directory structures with multiple I'm also using a
|
Ok, makes sense. So it's about limiting the size of the output and filtering out noise, not about performance? (At some point I might do a quick performance test on my machine, I'm kind of curious what is the impact of traversing my I'm open to adding this feature, but just as an FYI, I am not sure exactly when I will have time to implement it. |
Thank you very much for the kind response. Indeed I did not think of
performance considerations here. Let's keep this as a nice cosmetic make up
for polishing later in the backlog.
Or would this maybe even be a good first issue to try some steps in Go?
…On Sun, 8 Nov 2020 at 21:52, Anish Athalye ***@***.***> wrote:
Ok, makes sense. So it's about limiting the size of the output and
filtering out noise, not about performance?
(At some point I might do a quick performance test on my machine, I'm kind
of curious what is the impact of traversing my src directory.)
I'm open to adding this feature, but just as an FYI, I am not sure exactly
when I will have time to implement it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMRV7ASI33M6T7L66GL4BTSO4AJPANCNFSM4TFJEX3A>
.
|
Hmm my intuition is that this might be a somewhat involved change, so perhaps not an ideal first issue. |
For some cases, we will want to exclude certain directories from scanning, like
node_modules
or.git
.Excluding this kind of directory could implemented similar to rsync's
--exclude
and--exclude-file
switches.An
--exclude-file
could then be called.pscignore
and if found, be transparently applied recursively to all subdirectories, if present.The text was updated successfully, but these errors were encountered: