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

Validate SPDX license exceptions #2257

Merged

Conversation

m1kit
Copy link
Contributor

@m1kit m1kit commented Mar 31, 2018

Description:

Current SPDX license expression regex does not validate SPDX license exception identifiers. I added an exception identifier list and its generator.


Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

@m1kit m1kit changed the title [WIPValidate license exceptions [WIP] Validate SPDX license exceptions Mar 31, 2018
@m1kit m1kit changed the title [WIP] Validate SPDX license exceptions Validate SPDX license exceptions Mar 31, 2018
@bronzdoc
Copy link
Member

closes #2153

@bronzdoc
Copy link
Member

Thanks @bundlerbot r+

@bundlerbot
Copy link
Collaborator

📌 Commit 2dd1983 has been approved by bronzdoc

@bundlerbot
Copy link
Collaborator

⌛ Testing commit 2dd1983 with merge 68e6964...

bundlerbot added a commit that referenced this pull request Mar 31, 2018
…onzdoc

Validate SPDX license exceptions

# Description:
[Current SPDX license expression regex](https://github.com/rubygems/rubygems/blob/master/lib/rubygems/util/licenses.rb#L388) does not validate [SPDX license exception identifiers](https://spdx.org/licenses/exceptions-index.html). I added an exception identifier list and its generator.
______________

# Tasks:

- [x] Describe the problem / feature
- [x] Write tests
- [x] Write code to solve the problem
- [ ] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
@bundlerbot
Copy link
Collaborator

☀️ Test successful - status-travis
Approved by: bronzdoc
Pushing 68e6964 to master...

@bundlerbot bundlerbot merged commit 2dd1983 into rubygems:master Mar 31, 2018
@m1kit m1kit deleted the feature-license-exception-validator branch April 1, 2018 01:45
@colby-swandale colby-swandale added this to the 2.7.8 milestone Sep 23, 2018
hsbt pushed a commit that referenced this pull request Oct 9, 2018
…onzdoc

Validate SPDX license exceptions

# Description:
[Current SPDX license expression regex](https://github.com/rubygems/rubygems/blob/master/lib/rubygems/util/licenses.rb#L388) does not validate [SPDX license exception identifiers](https://spdx.org/licenses/exceptions-index.html). I added an exception identifier list and its generator.
______________

# Tasks:

- [x] Describe the problem / feature
- [x] Write tests
- [x] Write code to solve the problem
- [ ] Get code review from coworkers / friends

I will abide by the [code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
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

4 participants