Excluding dependencies from Contributions? (OD-988)
Released
Jerome St-Louis opened 1 year ago

Is there a setting to exclude e.g., a deps/ dependencies directory from a project for the purpose of the Contributions / SLOC Statistics?

Thank you!

Marcos de Oliveira commented 1 year ago

It is very common for Go projects to include a vendor directory also, containing deps (which can be downloaded by go mod vendor). It might be useful to have a setting to exclude directories from Index and Statistics, which might also decrease system resource (mainly memory) usage.

Robin Shen commented 1 year ago

No such setting yet. Looks like a good improvement.

bufferUnderrun commented 1 year ago

+1

OneDev changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
OneDev commented 1 year ago

State changed as code fixing the issue is committed

OneDev changed state to 'Released' 1 year ago
Previous Value Current Value
Closed
Released
OneDev commented 1 year ago

State changed as build #3130 is successful

Robin Shen commented 1 year ago

Now in project setting there is a code analysis setting allows one to include/exclude file patterns to be analyzed.

issue 1 of 1
Type
Improvement
Priority
Normal
Assignee
Issue Votes (1)
Watchers (4)
Reference
OD-988
Please wait...
Page is in error, reload to recover