Skip to content

lc thinks MIT is JSON if there are 2 copyright lines #36

Closed

Description

@maxice8

with 2 copyright lines

File     License  Confidence  Size
masterdir/builddir/libmaa-1.4.2/doc/  LICENSE  JSON     92.85%      1.1K

with 1 copyright line

File     License  Confidence  Size
masterdir/builddir/libmaa-1.4.2/doc/  LICENSE  MIT      94.29%      1.1K

LICENSE file

Copyright (c) 1995-2002 Rik Faith <rikfaith@gmail.com>
Copyright (c) 2002-2018 Aleksey Cheusov <vle@gmx.net>

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Activity

  1. boyter commented on Mar 8, 2018

    @boyter
    Owner

    MIT and JSON. The bane of my existence. Annoyingly on the failing case it is so close to being correct as well with the generic method of checking.

    {JSON 0.928547293335935} {MIT 0.9224754899801437}

    Going to add in a special case specifically for this situation. I believe that's how other tools handle this situation anyway. Since the licenses shouldn't change rather there will be a new one rather than the old one being updated this isn't the worst option in the world.

  2. self-assigned this
    on Mar 8, 2018
  3. boyter commented on Mar 8, 2018

    @boyter
    Owner

    #37

    Waiting for CI to process, and if all good will be merged in. Hope you don't mind me using the emails in the above example as test cases. If you do let me know and ill change them.

  4. boyter commented on Mar 8, 2018

    @boyter
    Owner

    Not sure if you are building from source, but if you grab the latest and install it the results should be correct for your case now. Ill package it up into an official release now.

  5. maxice8 commented on Mar 8, 2018

    @maxice8
    Author
  6. boyter commented on Mar 8, 2018

    @boyter
    Owner

    No problem ill push it out now.

  7. boyter commented on Mar 8, 2018

    @boyter
    Owner
  8. boyter commented on May 7, 2018

    @boyter
    Owner

    After looking at the above a little more closely they look more like MIT-feh than MIT which is what they are being picked up as in the application with the new tweaks.

    Going to leave it as MIT-feh as one of the signals used to determine the difference is that MIT starts with The MIT License and MIT-feh does not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址