Forums : Technical Issue Help

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]

txr project: configure script identified as "Autoconf" language.

Hi,

The TXR project has a build-configuration script called configure.

It was written by hand from scratch in the POSIX shell language (specifically to avoid using Autotools, while conforming to a build step convention that everyone understands).

But this script is being reported as an instance of the Autoconf language.

Firstly, even if we consider Autoconf to be a language, we should be counting its source code, which is found in files like configure.ac. We should not be counting its output in the configure script, which consists of many lines of boiler-plate code generated by machine, let alone reporting it as Autoconf rather than shell.

Secondly, projects that do not have tell-tale Autoconf material like files ending in .ac, or .am like configure.ac, Makefile.am or Makefile.ac and so on should maybe be not associated with the Autotools at all.

kazinator over 11 years ago
 

Kaz,

Please see: https://github.com/blackducksw/ohcount

We have open-sourced our lines-of-code counters mainly written in Ruby. The most straightforward way to get proper recognition of various source code is to submit a pull request against that code with the changes that will implement the recognition for the differences in Autoconf files and shell. I suspect there are some forms of recognition which rely mostly on file extension but we have better success when recognizing code by the unique signatures contained within. Let us know how we can better recognize the code that interests you the most.

Thanks!

ssnow-blackduck over 11 years ago