Open brightchuh opened 4 years ago
The indexer has the -i/--ignore
option for that - when you run the indexer with -h
it will explain.
The indexer has the
-i/--ignore
option for that - when you run the indexer with-h
it will explain.
Well, I've got several projects in opengrok src dir. Each project may have different exclude-dirs. If just passing some exclude-dir patterns to indexer, it may work for all projects. Is there any per-project exclude-dir configuration in the ro-conf xml?
No, there is no per project tunable for ignored files/dirs.
Is there a plan to add this feature?
There is, as long as the issue is open. I have not done the scoping yet. Certainly PRs are welcome.
The is an open PR #3137 to apply the same (existing) logic to indexing and history. I would like to see that merged before any project-specific changes are done.
Also FYI @sagarkhushalani had a variant request (#3103) related to project-specific ignored items.
Describe the bug Dear Opengrok Developers,
There're some dirs, for example the "out" dir in AOSP project, in my project that i do not want opengrok to index. Is there any method to exclude these dirs?
Thanks a lot!