Skip to content

Conversation

@jisantuc
Copy link
Contributor

@jisantuc jisantuc commented Nov 10, 2020

Overview

This PR creates an SPDX id enum using enumeratum and replaces the SPDX license checker library we were using. This was necessary because the list of valid SPDX identifiers changes over time, and drift from the list in our library, which hasn't been updated in five years, meant that we were missing some ids, which is important when we reject all values that we don't know how to parse.

Checklist

  • New tests have been added or existing tests have been modified
  • Changelog updated

Testing

  • confirm the instructions at the top of SpdxId make sense

Closes #164

@jisantuc jisantuc added this to the RF Sprint 10/29 - 11/11/2020 milestone Nov 10, 2020
@jisantuc jisantuc self-assigned this Nov 10, 2020
@notthatbreezy
Copy link

Nice update here -- I didn't really think about the list of valid SPDX ids changing much... I think your change is a better solution than refinement in this case for the reasons you mentioned.

@jisantuc jisantuc merged commit 00806fe into master Nov 11, 2020
@jisantuc jisantuc deleted the feature/js/spdx-fix branch November 11, 2020 14:02
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.

Valid SPDX Licenses are not seen as valid

3 participants