Excluding dependencies from Contributions? (OD-988)
Jerome St-Louis opened 3 years 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 3 years 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 3 years ago

    No such setting yet. Looks like a good improvement.

  • bufferUnderrun commented 3 years ago

    +1

  • OneDev changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 3 years ago

    State changed as code fixing the issue is committed

  • OneDev changed state to 'Released' 3 years ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 3 years ago

    State changed as build #3130 is successful

  • Robin Shen commented 3 years ago

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

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