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

Improve copyright handling #2350 #2791

Merged
merged 4 commits into from
Jan 9, 2022

Conversation

pombredanne
Copy link
Member

Improve copyright data structure consistency for #2350
This is a rebase and finishing of #2381
Also streamlines internal handling of copyright using
Detection objects.

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 📁

pombredanne and others added 4 commits January 9, 2022 17:36
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
In copyright detection results, rename the "value" attribute to proper
descriptive names, respectively: copyright, holder and author

Signed-off-by: akugarg <akanksha.garg2k@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This second commit updates the tests and code that did not exist yet
at the time of the initial patch or code that failed to pass tests.

In copyright detection results, rename the "value" attribute to proper
descriptive names, respectively: copyright, holder and author.

Also:
- rename "copyright_holder" to "holder" in CSV output
- apply minor refactorings

Co-authorred-by: akugarg <akanksha.garg2k@gmail.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
We now use a set of Detection objects to streamline how things are
handled internally.

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
@pombredanne
Copy link
Member Author

All green ... merging!

@pombredanne pombredanne merged commit 28578ad into develop Jan 9, 2022
@pombredanne pombredanne deleted the 2350-improve-copyright-handling branch January 9, 2022 21:35
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.

None yet

2 participants