What's the preferred method of submitting patches to Ohcount? Last year it was said to be Sourceforge Trac, but I got no response for even such a simple patch as http://sourceforge.net/apps/trac/ohcount/ticket/63
P.S. I'm pretty sure the SourceForge project is no longer being developed.
Sorry for the late response. The SourceForge project is completely abandoned, and the email address above is not my work email. Those are probably not the best way to reach me about Ohloh-related topics -- but you've found me. :-)
I admit the Ohcount code hosting situation is not clear at all. The SourceForge project page is a remnant of the brief period when SourceForge was the corporate owner of Ohloh. The SourceForge project should probably simply be completely deleted, as I am not an admin for that project and I do not believe anyone else is maintaining it.
However, I did find your patch on SourceForge, so you don't need to send me a pull request for this one.
I have a question about this patch. I'm having a bit of trouble understanding the disambiguate_asx() function. If I'm reading this correctly, it looks for the first non-whitespace character in a file, and if it's a 'm sorry it took so long to get in touch.
Regarding disambiguate_asx, you're right. What's confusing there?
Why does the code return NULL (with a comment that this means XML) rather than just returning XML as a result explicitly?
My intention was to detect assembly language. I don't know how XML detection works in Ohcount. Feel free to correct that.
OK, I understand at last.... :-)
Without this patch, Ohcount doesn't recognize *.asx files at all. It doesn't recognize them as XML.
With your patch, Ohcount correctly recognizes
*.asx assembly code, but continues to not recognize other
*.asx files. Thus, returning NULL.
All cool. I've merged your patch into our master. A mere 13 months after you've written it, this code should be live on our website in about a week.
If you have a list of projects you'd like to see recounted, let me know which ones and I'll schedule recounts once the code goes live.
Great! Please recount asap, lepix and atari800.
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.