Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Code analysis on project implemented in golang seems to include vendor folder

I recently registered the following project implemented in golang:
https://www.openhub.net/p/gardener

Counting lines of code in a typical golang project should exclude the vendor folder since it's containing a copy of the source code of dependencies of the project which wasn't implemented by the project being analysed. Nowadays the vendor folder is typically auto-populated using the https://github.com/golang/dep tool.

For this project
https://github.com/gardener/gardener/
the vendor folder is here
https://github.com/gardener/gardener/tree/master/vendor

Also it seems the estimated effort for implementing the project seems to include the code in the vendor folder.

Matthias Sohn about 6 years ago
 

Hello Matthias Sohn,

Yes, we have ignored the vendor folder in the CodeLocation pages.

https://www.openhub.net/p/gardener

Happy to help!

Anonymous Coward about 6 years ago