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@example.com
The project https://www.ohloh.net/p/ampl contains a large amount of code written in the AMPL language. AMPL (http://en.wikipedia.org/wiki/AMPL) is a popular modeling language for mathematical optimization. This code is reported as written in a completely unrelated Modula-2 (http://en.wikipedia.org/wiki/Modula-2) language as can be seen from the project page.
Common extensions for AMPL files are .mod, .dat and .run, so maybe .mod files are mistaken for Modula-2.
I will promote the request up to management for implementation but the fastest way to get AMPL recognition into our arsenal is to add it yourself. Please take a look at our routines at https://github.com/blackducksw/ohcount (mostly written in Ruby) and see if you might be able to submit changes / additions to the code. We use a combination of extension recognition and algorithm recognition since you can see that extensions are frequently re-used and often ignored completely.
Feel free to fork the code and let us know if you have any success and in the meantime I'll submit this to management for consideration.
I've implemented support for AMPL in ohcount: https://github.com/blackducksw/ohcount/pull/29 . Hope this can be integrated in the mainline and used on Ohloh to improve language detection for this case.
I've noticed that the last commit to the ohcount project was about a year ago. Is it not maintained any more?
That looks about correct... (Dec 21, 2012). You should see some activity surrounding your pull request. I know management is aware of it. A lot of the work goes on behind-the-scenes with testing changes intensively to decide if the resulting code is production-ready. Then it will be migrated back to GitHub to complete the circle.
ohcount doesn't receive too much development time since there are a fair number of alligators around here and none of them bite in that part of the pool. There are plenty of live gremlins that take greater priority, sadly.
Thanks for your contribution and stay tuned.
Any updates regarding this issue?
Sorry for the delay, we are scoping the review of this PR and wanted to assure you it is in the backlog and making its way up!
Thanks for the update.