GithubHelp home page GithubHelp logo

Comments (7)

Yamakaky avatar Yamakaky commented on August 29, 2024

Yeah, I don't know why... Maybe then only check the LICENSE file.

from error-chain.

colin-kiegel avatar colin-kiegel commented on August 29, 2024

That seems to be correct.
a) shields seems to use the github API (https://github.com/badges/shields/blob/b74107eb3d4301c192e5dfd6d252e8a3b90d16bf/suggest.js#L36)
b) the github API seems to rely on a license file (https://developer.github.com/v3/licenses/#get-a-repositorys-license)

from error-chain.

vi avatar vi commented on August 29, 2024

Also Github seems to show licence in tabs (Example "Apache 2.0" in https://github.com/rust-lang/cargo/ )

3,571 commits 5 branches 17 releases 264 contributors Apache-2.0

making such shields redundant.

from error-chain.

joshtriplett avatar joshtriplett commented on August 29, 2024

Ideally, someone should update github's license detection to look at Cargo metadata too.

from error-chain.

vi avatar vi commented on August 29, 2024

You can report it to Github feedback page. They have internal issue/feature request tracker and always reply something.

from error-chain.

nelsonjchen avatar nelsonjchen commented on August 29, 2024

GitHub documentation says they're using the licensee ruby gem. While they do have some heuristics for detecting fields of package managers (e.g. gemspec, bower), licensee appears to recommend just sticking the license text in the repository and not relying upon the field of the package manager. I'm guessing those language ecosystem specific heuristics are a bit old and from a long time ago and are grandfathered in. I don't see CPAN, D, Elm, or really any wide assortment of matchers for ecosystems in their matchers.

Licensee could be updated, but I would wager that the request won't be accepted.

from error-chain.

nelsonjchen avatar nelsonjchen commented on August 29, 2024

Or... maybe they do. I guess I just wasn't looking hard enough. That said, they do say the R people explicitly recommend not including the license text.

licensee/licensee#129

from error-chain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.