Skip to content

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 <[email protected]>
In copyright detection results, rename the "value" attribute to proper
descriptive names, respectively: copyright, holder and author

Signed-off-by: akugarg <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
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 <[email protected]>
Signed-off-by: Philippe Ombredanne <[email protected]>
We now use a set of Detection objects to streamline how things are
handled internally.

Signed-off-by: Philippe Ombredanne <[email protected]>
@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.

2 participants