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]

Enlisting just the lib folder?

I have seen some people talking about checked in dependencies throwing off some of the code analysis features. In addition to that, it seems like these checked in dependencies would also be throwing off commit counts and such.

If we have projects like this (say an examples directory with dependencies checked in) would it make sense to just enlist the directories that contain the actual source for the project rather than the project root which (at least in the case of my projects) might include the examples directory with checked in dependencies?

Beau D. Simensen over 15 years ago
 

Hi Beau,

If it's practical for you, it may be better to separately enlist each subdirectory of your project.

However, even this is not perfect. It will give you correct line counts, but it may miscount the commits, since a commit that now appears in multiple enlistments will get counted multiple times by Ohloh, once for each enlistment it appears in.

If you only have one subdirectory, then this doesn't apply.

Eventually, and I can't guess when, we'll implement an ability to ignore directories and files, but until then it is probably worth experimenting with enlisting selected subdirectories, and see which report you like better ;-).

Thanks,
Robin

Robin Luckey about 15 years ago