Skip to content

Add CERN OHL v2 family of licenses - #854

Closed
nytpu wants to merge 7 commits into
github:gh-pagesfrom
nytpu:gh-pages
Closed

nytpu wants to merge 7 commits into
github:gh-pagesfrom
nytpu:gh-pages

Conversation

@nytpu

@nytpu nytpu commented Aug 23, 2021 •

Copy link
Copy Markdown
Contributor

Adds all three licenses in the CERN OHL v2 family. Also adds a “Hardware” section to the Non-Software Licenses page that recommends the CERN OHL family and mentions that Creative Commons licenses are also commonly used for hardware.

On the notable projects for each license, my criteria when looking for “notable” projects was either the project is being currently produced and sold or is a large and ambitious completed project. Pointing out a project that doesn't look notable, the “Simple PCIe FMC carrier,” is used by CERN itself as well as numerous large national laboratories.

Closes #853.

nytpu added 3 commits August 23, 2021 17:08
Recommended the CERN OHL v2 family of licenses and linked to software
licenses with similar terms.  Also added mention of the Creative Commons
licenses often used for hardware.
@mlinksva

Copy link
Copy Markdown
Contributor

It looks like 4 of the examples aren't detected, see https://github.com/github/choosealicense.com/pull/854/checks?check_run_id=3412897228#step:4:81

I'd bet that the OHWR one needs to be accounted for in

if example_url.start_with?('https://github.com/')
example_url.gsub!(%r{\Ahttps://github.com/([\w-]+/[\w.-]+)/blob/(\S+)\z}, 'https://raw.githubusercontent.com/\1/\2')
elsif example_url.start_with?('https://git.savannah.gnu.org/', 'https://git.gnome.org/')
example_url.gsub!(%r{/tree/}, '/plain/')
elsif example_url.start_with?('https://bitbucket.org/')
example_url.gsub!(%r{/src/}, '/raw/')
end
and the others may not just be the license text and need to be substituted.

@nytpu

nytpu commented Aug 24, 2021 •

Copy link
Copy Markdown
Contributor Author

The project examples that are failing seem to be falling into one or both of two categories:

  1. Dual hardware and software projects so the LICENSE file contains both the hardware and software license texts

and/or

  1. Using CERN's recommended license disclaimer and then linking to the full text of the license rather than including the full license verbatim

Both of those licensing methods are approved by CERN, see the User Guides for each license.

@mlinksva

mlinksva commented Sep 7, 2021

Copy link
Copy Markdown
Contributor

Apologies for delayed reply. Unfortunately we can't use either of those as examples. I want simple examples that new users can copy from, and that will be recognized by licensee. See https://github.com/github/choosealicense.com#required-fields

Regarding (2) if that may be provided instead of the license, I'd suggest documenting that in https://github.com/spdx/license-list-XML first as that venue will have more eyes on it. One possible approach might be the same as could be used for licenses available in multiple languages, see spdx/license-list-XML#438

@yasminazaze yasminazaze left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Roxy Yasmine

@edaj965

edaj965 commented May 14, 2022

Copy link
Copy Markdown

Adds all three licenses in the CERN OHL v2 family. Also adds a “Hardware” section to the Non-Software Licenses page that recommends the CERN OHL family and mentions that Creative Commons licenses are also commonly used for hardware.

On the notable projects for each license, my criteria when looking for “notable” projects was either the project is being currently produced and sold or is a large and ambitious completed project. Pointing out a project that doesn't look notable, the “Simple PCIe FMC carrier,” is used by CERN itself as well as numerous large national laboratories.

Closes #853.

@julianstirling

Copy link
Copy Markdown
Contributor

Javier Serrano (@j-sp) and I have just had a meeting about making a very similar pull request. For context, Javier is the driving force behind the CERN OHL at CERN. Glad to see this has already been started.

What is needed to get this PR ready?

  • Get hardware-only examples so that they only have one license
  • Poke license_meta_spec.rb so that it understands the open hardware repo (should be easy as it is gitlab based)
  • Javier may want to tweak the how field as well

I assume the easiest thing is for me to rebase this branch and then apply some edits and make a new PR?

@mlinksva

Copy link
Copy Markdown
Contributor

Yes that sounds like a good way forward @julianstirling

@julianstirling julianstirling mentioned this pull request Jun 10, 2022
@mlinksva

Copy link
Copy Markdown
Contributor

Incorporated into #1004

@mlinksva mlinksva closed this Jun 10, 2022
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.

Adding hardware licenses to Non-Software Licenses

6 participants