Posts

Technical Issue Help : Bug in programming language detection!

Hi Bastie, Ohcount is being misled by Emacs mode header lines in some of the source files. Many source files begin with this line: /* -*-mode:java; c-basic-offset:2; indent-tabs-mode:nil -*- */ ... [More] Ohcount sees the 'java' mode and respects that. When the developer tells us which language to use, we respect that over our own detection result. If these mode header lines are changed to 'csharp' (not sure whether this will work with your Emacs), or if the mode headers lines are changed to a language that Ohcount does not recognize, or if the mode header lines are removed completely, then Ohcount will correctly treat these files as C#. Thanks, Robin [Less]

Views
Author
Posted
906
over 4 years ago

Technical Issue Help : Excluding files gives strange results

@Felix - For git and the like, do not use a leading '/'. The leading '/' is necessary for Subversion only. @jssr67 - Yes, the examples don't include a leading '/', and that's simply an oversight on ... [More] my part. For every source control system except Subversion, the examples are correct. Subversion puts a leading '/' on filenames in its log, so that is how they are stored in the Ohloh DB. I'm sorry to have caused all the confusion. I'm hoping that it will be an easy fix to make Ohloh to do the right thing whether or not the initial '/' is present. Otherwise, we may indeed have to provide alternate instructions for Subversion. [Less]

Views
Author
Posted
654
over 4 years ago

Technical Issue Help : Excluding files gives strange results

@jssr67 - I've figured out what the problem is. In this case, the issue can be resolved by inserting a leading '/' on each of the paths you wish to have excluded. If you look at the example filenames ... [More] on the form, you will see that the examples all have a leading '/'. Why? Well, because the enlistment URL + the excluded filename must yield a valid URL. For this project, you'll see that the enlistment URL does not end with a '/', and so if the filenames do not begin with a '/', then the URL + the filename will be missing a necessary '/'. This is something we should fix. I'll open a bug ticket. In the mean time, I've taken the liberty to add a preceding '/' to the ignore settings for this project, which should clear up the problem. Let me know if the report still looks incorrect once this change goes through. Thanks for letting us know about this, Robin [Less]

Views
Author
Posted
654
over 4 years ago

Technical Issue Help : Excluding files gives strange results

@Christoph - I've confirmed that the Ohloh database still has some old, buggy data that needs to be cleaned up. In February we made some important fixes to the line counter. Unfortunately, the fix ... [More] requires that we perform a full recount for every project in our database, and this work is still ongoing. I've scheduled SallyCMS for a full recount, which should happen sometime today. [Less]

Views
Author
Posted
654
over 4 years ago

Technical Issue Help : Excluding files gives strange results

@Christoph - I've recreated the report on my local development machine, and it looks correct locally. The report which is online right now shows some negative line counts, which makes me believe that ... [More] the online report woud be erroneous even without the excluded files. Probably, Ohloh's database is hanging on to some old, buggy results. I'm investigating. @jssr67 - You'll be next up as soon as I finish with SallyCMS :-) Thanks for your patience, Robin [Less]

Views
Author
Posted
654
over 4 years ago

Technical Issue Help : gentoo cvs enlistment failure

Hi Stanislav, This CVS repository is far too large for Ohloh to process. Our CVS importer is brute-force: we start from the oldest commit, and check out each revision in sequence. As Rob said, for ... [More] this repository, this takes 15-20 minutes for each revision. Some simple math shows that with 600,000 revisions in the repository, it will take several years for Ohloh to complete the import. Your best bet for getting this onto Ohloh is to convert the repository to Git. Bzr and Hg will probably not work; they are an order of magnitude slower than Git when it comes the operations Ohloh exercises (mainly cat-file). Robin [Less]

Views
Author
Posted
3158
over 4 years ago

Technical Issue Help : Codeplex.com Enlistments Failing

Hi Stephen, We've already spoken through email, but I thought I'd recap the issue here in the forum so that everyone can follow the progress. The problem with the webformsmvp Mercurial repository ... [More] appears to be this filename: /WebFormsMvp/WebFormsMvp/IView`T.cs We need to update our adapter to correctly handle the backtick character. I'll open a ticket for this if it has not been done already. The fix is straightforward, but it will take a week or so at least before the change can be deployed. For the Subversion repository, there is unfortunately a problem in the repository itself that Ohloh cannot work around. In revision 4107, someone accidentally checked in the hidden ".svn" folder. This makes it now impossible to check out this revision. This mistake is unfortunately common -- I believe later builds of Subversion actively watch for and prevent this. Ohloh can't process this repository unless an admin uses special tools to scrub the .svn folder from the repository history. Such an operation is not for the novice. If you delete the Subversion repository from the project, at least the Mercurial portion of the project can proceed. Cheers, Robin [Less]

Views
Author
Posted
279
over 4 years ago

Technical Issue Help : Project ganeti not updating

Hi Iustin, I scheduled a clean clone of this repository, which should clear up the problem.

Views
Author
Posted
399
about 5 years ago

Technical Issue Help : Analysis seems to have stopped again and results are off, too

M2R10StdLib and M2Regex have not been re-analyzed since the recent fixes. Normally, we do no re-analyze a project until a new commit arrives. Since we haven't seen a new commit for these projects, the ... [More] old analyses are still on display. I will force fresh analyses for these projects. For M2Collections, I do not see 28% on the details page, I see 62.6%. It is possible that you saw stale cached content, but I'm not sure. Can you give me an URL which shows the incorrect ratio? [Less]

Views
Author
Posted
1618
about 5 years ago

Technical Issue Help : Cannot Get Ohloh/Jabber to Work

Hi Luiji, I'm not really sure what might be going wrong here. I think you have performed all of the correct steps. I was initially suspicious that our Jabber daemon was simply offline -- that ... [More] happens occasionally. It does seem to be up and running just fine, however. I'm sorry I can't be more helpful; I really can't think what might be going wrong. If you do manage to solve the trouble, I'd be curious what you discovered. Thanks, Robin [Less]

Views
Author
Posted
891
about 5 years ago