News for hackers. Stuff that matters.
Re:JavaScript is the most popular language on GitHub by technoweenie on Wednesday December 08, 2010 @10:27PM (#1985884)
For what it's worth, we try to exclude popular projects (like jQuery, Prototype, or the wysiwyg textareas), as well as other common directories like 'vendor'.
Re:JavaScript is the most popular language on GitHub by thraxil on Thursday December 09, 2010 @12:06PM (#1988121)
I think you need to work on this a bit more. It seems that a very large percentage of the web apps I work on, which include a few JavaScript libraries but are primarily written in Perl or Python get classified by Github as "JavaScript". I've created a short list of 15 just from my personal and work repos: https://gist.github.com/734979
Re:JavaScript is the most popular language on GitHub by technoweenie on Thursday December 09, 2010 @12:38PM (#1988271)
I added mochikit to our list of exceptions, and now all of your projects are Python, except rollo. Rollo uses a 'highlighter' js lib which still counts as JS. It's one thing to exclude popular libs with names like "MochiKit" or "jQuery". "Highlighter" is a pretty generic name though, and I feel iffy about adding it. FWIW, here's our current list of exceptions:

    yui
    tiny_mce
    ckeditor
    redbox
    active_scaffold
    rico_corner
    code_highlighter
    vendor
    bundle
    cache
    assets
    bookends
    dojo
    extjs
    sencha
    mochikit
    prototype(.*)\.js
    mootools\.js
    jquery([^.]*)\.js
    jquery\-\d\.\d\.\d(\.min)?\.js
    effects\.js
    controls\.js
    dragdrop\.js
The last 3 are generic names too, but they happen to match common js files in most Rails projects...