Repository navigation
Add EUPL v1.2 - #523
Add EUPL v1.2#523
Conversation
|
Tests are failing because 1.2 does not yet meet the criteria for cataloging here. I imagine an SPDX ID will be assigned and OSI will formally approve reasonably soon. In the meantime, it would be great to find 3 examples. I'll leave the PR open until it can be merged. |
|
Thanks for your feedback.
Which 3 examples are you looking for? Software licensed under this license?
|
|
See at the criteria link:
They should be documented in the using field. |
As per CONTRIBUTING rules
|
Currently only 48 results, but noting https://github.com/search?utf8=%E2%9C%93&q=filename%3ALICENSE+%22EUPL+%C2%A9+the+European+Union+2007%2C+2016%22&ref=simplesearch for help in finding examples later. |
|
Digitransit[1,2] is a public transit journey planning platform used by public transit authorities in several countries. It's dual-licensed with AGPLv3 and EUPL v1.2. Here's the license file of a particularly important repo: https://github.com/HSLdevcom/digitransit-ui/blob/master/LICENSE-EUPL.txt |
|
EUPL-1.2 is the id now published by SPDX, so we just need 3 |
|
Thanks @Haroenv, I went through the first pages of results and listed three |
|
The tests fail because the Licensee gem fails to detect the licenses as I thus understand that this is expected behaviour when adding a new license. If this is not the case, guidance on how to fix the tests would be welcome 🙂 |
| covered Source Code from exclusive appropriation. | ||
| — All other changes or additions to this Appendix require the production of a | ||
| new EUPL version. | ||
|
|
There was a problem hiding this comment.
I think everything after this line is a spurious duplication of most of the license text.
There was a problem hiding this comment.
It was indeed an accidental duplication introduced when line wrapping. Fixed.
|
@MattiSG the tests patch licensee to use the local copy of the licenses. I would not expect pi-hole or OpenStaticAnalyzer to match as they each prepend some notices to the license text. AethysRotation probably would match but there's a problem with the license text in this PR, added a review comment on that at https://github.com/github/choosealicense.com/pull/523/files#r159702343 |
|
Indeed, now AethysRotation does pass! Thanks for the pointer! How do you want to proceed regarding the two other examples? I can I try and identify other projects, but I'm a bit doubtful that's the most pertinent approach considering adding notices is quite a standard practice. |
|
We'll likely need other examples. If the prepended notices are in a standard form conceivably licensee could eventually recognize those, otherwise it won't because they could mean anything licensee/licensee#239 (comment) |
|
If you or someone else wants to go beyond searching for text in the EUPL-1.2 license, an option would be to see if any EUPL-1.1 projects want to upgrade. Of course a random request to change licenses can be annoying, so use discretion. One other note: I want the text here to be the same as published by both the license steward and SPDX (which ought to match anyway). https://spdx.org/licenses/EUPL-1.2.html and if they have anything wrong, https://github.com/spdx/license-list-XML/blob/master/src/EUPL-1.2.xml is the source. |
Are you suspecting this is not the case? I copy-pasted, line-wrapped automatically and double-checked the line wrapping. There was a mistake in double-pasting the result in the web editor, but I don't think any of the content was changed. |
|
I'm not suspecting they're not the same. Thought of it because the text there doesn't include any optional notice header. Apologies for not saying that explicitly. |
Licensee gem requires the text to not have any prefix
|
Tests failed because https://wiki.creativecommons.org/wiki/CC0_FAQ was down. It now seems to be back online, but I don't have the rights to trigger a new build on Travis, and I already used the “update from master” trick to trigger one. Could an admin do it please? 🙂 |
|
Ok, the checker doesn't follow redirects, or CloudFlare detects it's a bot and doesn't redirect. All builds will fail until https://wiki.creativecommons.org is back online. |
|
OK, since that's the only test failure and it's known and outside our control, I'm good with merging this. If the unrelated site stays offline we can fix that link later. Thanks for keeping at this for over half a year! 😄 |
|
🎉 Thanks for your help and speed in replying! How long do you expect this to take before the EUPL 1.2 is available throughout GitHub (in search filters & license detection)? I asked CreativeCommons, we'll see what (if) they answer 😉 |
|
A new release of licensee has to be cut with updated vendored licenses, like licensee/licensee@4593ffc then deployed to github.com. I don't have an estimate, but you'll be able to tell that it is done by https://api.github.com/licenses/eupl-1.2 giving a result with the content that's been added here. |
|
Perfect, thanks! In other news, CreativeCommons confirms the wiki is back up 👍 |
|
Is there any (manual) trigger required in order to re-run tests or is the PR accepted anyway? As a GH user, I don't see what takes so long and/or work to fix this issue. Therefore, further information about this would be greatly appreciated. |
|
@Eagle3386 I'm not sure what tests you're referring to. Could you explain more? I understand that you're eager to have EUPL-1.2 be detected on github.com but just to be clear, you can use the license in your repos now -- just copy the text from https://choosealicense.com/licenses/eupl-1.2/ and paste into a file called |
|
@mlinksva Sure, I'm referring to those tests mentioned by @MattiSG in his comment above. Also, thanks for the hint, but there are two issues with the link you provided:
Anyway, my concerned repo already
So, your accusation doesn't seem to be true - I tried as good as I could to trigger GH showing that license badge right next to
But that's another issue I might open, so that we really get a choice rather than a (pre-filtered) subset. Nonetheless, if you see anything I can add and/or improve to trigger the license badge mentioned above, please tell me. I'll do whatever and as fast as I can to get this finally resolved once and for all. |
|
@Eagle3386 the tests in (1) are tests for this repo, have nothing to do with using any license in any other repo. (2) the files in this repo are line-wrapped at 78 characters so that they display nicely in a variety of contexts. The industry standard is that whitespace including line breaks are not material for license matching, in recognition that there's lots of variation from copying and pasting across formats etc, even for GPL. Check out https://github.com/spdx if you'd like to learn more. Regarding your repo, great, it's EUPL-1.2 licensed. github.com doesn't display that fact, but it is nonetheless, just as any repo with a license file (which includes LICENSE or LICENSE.md) before github.com added a feature to display indicators for licenses it could detect. There's nothing you can do to cause github.com to detect EUPL-1.2 right now, apologies if this was unclear from what I wrote above. There will not be until the API link mentioned above #523 (comment) returns info about EUPL-1.2 instead of "not found". My guess is this will be sometime after a non-beta version of licensee 9.9.0 is released because that's the version that first vendors EUPL-1.2, but that's just a guess not a promise. 😄 Thanks for your patience. |
|
@mlinksva Thanks for all the valuable information regarding licenses and SPDX. Cleared much of the misunderstanding on my end. Apologies, if I sounded kinda "stubborn". Since https://api.github.com/licenses/eupl-1.2 is not available yet, would it help specifying my code as EUPL-1.1 in order to receive the indicator (I assume that's how the information is called that I called "badge")? |
|
@Eagle3386 if you value having an indicator/badge displayed above using the latest EUPL version, then yes you can switch to EUPL-1.1. |
|
While one repo of mine is detected correctly as EUPL-1.2 now, another one is not - although both share the same file location (relatively to each repo's root), exactly matching each others content? How can I fix that? |
|
@Eagle3386 I don't know why they aren't both being detected; licensee from the command line detects both for me. You might write into http://github.com/c requesting re-detection, might be a glitch. Another option would be to change the filename to |
Glad, it actually worked - at least from the command line.
Did so just before commenting here today. Though, still no response up to now.
Thanks so much for that hint as it solved the issue! 👍 🥇 |
Mostly updates the list of compatible licenses.