Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new licenses #2625

Merged
merged 6 commits into from
Aug 24, 2021
Merged

Conversation

akugarg
Copy link
Collaborator

@akugarg akugarg commented Aug 5, 2021

This PR new licenses

Tasks

  • Reviewed contribution guidelines
  • PR is descriptively titled 📑 and links the original issue above 🔗
  • Tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR
    Run tests locally to check for errors.
  • Commits are in uniquely-named feature branch and has no merge conflicts 📁

akugarg added 2 commits August 5, 2021 16:43
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
@pombredanne pombredanne changed the title Improve license detection Add new licenses Aug 9, 2021
@akugarg akugarg requested a review from pombredanne August 11, 2021 08:28
@akugarg
Copy link
Collaborator Author

akugarg commented Aug 11, 2021

@pombredanne the failing check mentioned here ,is it related to something that I have added?

key: dpl
short_name: DPL
name: THE DEFENSIVE PATENT LICENSE v1.1
owner: Unspecified
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It must have an owner

@pombredanne
Copy link
Member

@pombredanne the failing check mentioned here ,is it related to something that I have added?

Yes and no... I think we could remove entirely that test failing tests (tests/licensedcode/test_query.py::TestQueryWithFullIndex::test_Query_tokens_by_line_behaves_the_same_on_various_python ) and its data files as this only served a purpose when we were porting from Python 2 to Python 3.

Nowadays it only ever fails when we have some significant new words added in new licenses... and that's useless since we are all on Python 3

Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
akugarg and others added 2 commits August 16, 2021 21:39
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks and merging.

@pombredanne pombredanne merged commit 884f829 into aboutcode-org:develop Aug 24, 2021
@akugarg akugarg deleted the add_new_licenses branch August 25, 2021 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants