Dear Open Hub Users,
We’re excited to announce that we will be moving the Open Hub Forum to
https://community.blackduck.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]
Hi. I see my project languages are measured and the chart shows Javascript on 1st place. While this may be true, Javascript is definitely not the most important language in my project.
As a consequence, documentation ratio is pretty low for Javascript, while being excellent for PHP. It would be nice to override the most important language in the project, so visitors can be given the correct impression on development state.
hi stronger,
You bring up a good point. I looked at a few of your recent commits and noticed that they tended to include a lot more PHP code changes than javascript. I suspect your project might contain one (or more) javascript libraries - thereby dwarfing the PHP code you're writing.
I've seen similar cases with smaller Ruby on Rails projects too. Perhaps we should adjust the Ohloh Summary to specify Mostly Written In...
as the language that contains the most lines of code changed rather than just the largest total lines of code. We'll discuss it tomorrow and get back to you.
The same issue was just reported from the lead developer of Zenphoto (written in PHP but bundling a lot of JS libraries). He pointed out that this not only biases the Mostly written in
statistics but also produces flawed LOC and project cost estimations (since he obviously didn't write 50% of the code).
Maybe you guys should consider implementing a feature that some users already suggested, i.e. the possibility of marking some folders/files in the repository as dependencies. The ability to cross-reference these dependencies with their Ohloh page (if they are listed as independent projects) would be nice too.
dartar: We've considered this in the past, but one reason we haven't done it yet is because specifying folders/files might require accompanying timestamps. Example:
That really scares me as a feature - makes it really hard to write UI that conveys what exactly Ohloh is doing behind the covers (ie: show why a file is being accounted for ... or not). What do you think?
Jason, good point.
I understand that codebase history is crucial for this feature to be implemented, but adding manual timestamps might be unnecessary. A dependency doesn't usually change its status as a dependency over time, right? What happens more often is that it is simply dropped and replaced by another library.
So what about the following idea:
For instance, suppose my project used in the past three different libraries as dependencies. I list all the relevant paths in my project's dependency form:
Ohloh should be able to tell me, just by looking at the matches between the above paths and the project code history that
Is this technically possible?
PS the list markup is broken
Is this topic dead?
The other thing to note is that 1 line of OCaml is worth 20 lines of C :-)