"How to get ohloh to ignore some files?"



Hi,

I have a project which is quite small, and mostly PHP. But since I include a Javascript library for download, the project registers as about 60% javascript, which is not a fair representation of the project really...

Is it possible to somehow have ohloh ignore some files? I'm thinking of a .ohlohignore file or something. Unless there's already a way?

Avatar

Nigel McNie

about 6 years ago
 

Hi nigel,

This a fairly common request, and it's high on our to-do list. We'd like to do something like you've suggested, and use something like a robots.txt file to specify ignored directories.

Avatar

Robin Luckey

about 6 years ago
 

I'd prefer not to have to add a proprietary tag to the repository just for Ohloh.

It would be better if there was some way of specifying exclusions (by wildcard or regex) from the analysis.

I could have used this for the MapGuide and FDO projects, each of which maintains large chunks of external libraries (at fixed revisions) in their repositories. Of course, these would be better as external references, but...

Avatar

Jason Birch

about 6 years ago
 

Hi guys,

I'd like to share some additional thoughts on this future feature.

I think we'll start by adding the ability to edit the 'exclusion' directories directly from Ohloh. This should address JBirch's concerns, but would also address the cases where the repository is not directly editable by the project maintainers. We could then build an additional feature to parse/understand a specific ohloh.txt directives. Any further idea/concerns are appreciated!

Avatar

Jason Allen

about 6 years ago
 

Hi Jason,

one or the other way i would be fine with it. Just hope there will be something. Expecially PHP project tend to use alot of frameworks and libraries now which we wish to exclude. Thank you for your great work

Best regards

Carsten

Avatar

Carsten Schmitz

about 6 years ago
 

Good to hear that this feature is planned :). I'll keep quiet and leave you to it then!

Avatar

Nigel McNie

about 6 years ago
 

Any schedule on this greatly anticipated feature? ;-)

Avatar

Carsten Schmitz

about 6 years ago
 

This would also help very much with Audacity. In our case I'd be happy to check in an Ohloh-specific file to our repository that would tell Ohloh to ignore certain files or entire subdirectory trees. It's similar to our .cvsignore files.

Right now the main issue with Audacity is that Ohloh is counting third-party libraries that we have forked and include as part of our own CVS tree, but they aren't really our own code.

Avatar

dominic99la

about 6 years ago
 

Did this ever go anywhere? I just ran into this very same issue and Google led me here.

Avatar

Walter Mundt

over 4 years ago
 

Hi Walter,

It's still on our to-do list. We get a lot of requests for this, but it hasn't happened yet.

Avatar

Robin Luckey

over 4 years ago
 



 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.