Skip to content

Add ODbL - #656

Merged
mlinksva merged 28 commits into
github:gh-pagesfrom
johanricher:patch-1
Jun 1, 2019
Merged

mlinksva merged 28 commits into
github:gh-pagesfrom
johanricher:patch-1

Conversation

@johanricher

Copy link
Copy Markdown
Contributor

Following discussions in #195 and building upon the work done by @smathermather and @mlinksva, here's my proposition to add ODbL as a license option.

Here's basically what I did:

Comment thread _licenses/odbl-1.0.txt Resolved
@mlinksva mlinksva mentioned this pull request Apr 24, 2019
@mlinksva

Copy link
Copy Markdown
Contributor

Thanks @johanricher for your work on this! There's still a test failure on line length. I'll look into the right way to handle this in the next day or so.

@johanricher

johanricher commented Apr 28, 2019 •

Copy link
Copy Markdown
Contributor Author

There seem to be a contradiction between the two criteria listed here:

  • The text of the license should be wrapped to a 78 character width.
  • The text of the license should match the corresponding text found in spdx/license-list-data

Since the ODbL text referenced by SPDX is not wrapped at 78 characters, the test fails.

@mlinksva

Copy link
Copy Markdown
Contributor

FWIW "match" is purposefully flexible. Ideally, the same bits, but at least the same words. There are some idiosyncrasies here (like 78 wrap) and bugs in SDPX plain text generation that make same bits not always work for now.

…/02/odbl-10.txt

it wraps at <78 chars
it has better formatting fidelity than the text version currently generated by SPDX
@mlinksva

mlinksva commented Jun 1, 2019

Copy link
Copy Markdown
Contributor

Apologies for taking forever to get back to this! Thanks @smathermather for starting it off and @johanricher for following through!

@mlinksva
mlinksva merged commit 2b65f00 into github:gh-pages Jun 1, 2019
@smathermather

Copy link
Copy Markdown
Contributor

Thanks @mlinksva and @johanricher!

@johanricher

Copy link
Copy Markdown
Contributor Author

Thanks to you both!

@mlinksva Just by curiosity, do you have an idea when Github.com will factor this new changes? (i.e. display the name of the license when applicable)

@mlinksva

mlinksva commented Jun 2, 2019

Copy link
Copy Markdown
Contributor

It'll probably take awhile. Licensee needs to vendor the updated licenses (licensee/licensee#383), a new release has to be cut, and github.com has to start using the new release. You'll be able to tell when https://api.github.com/licenses/odbl-1.0 returns info added here instead of not found.

@johanricher

Copy link
Copy Markdown
Contributor Author

ODbL has now been added to the Github API. 🎉

@smathermather

Copy link
Copy Markdown
Contributor

Fantastic! Thanks all!

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.

4 participants