-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add copyright acknowledgements #105
Conversation
I think simply include a license header point to build/license_fullnotice file in subtitle-octopus.js might be enough.
The license in package.json must include all licenses used in this project, using SPDX expressions, see an example
In a quick search, I found this project https://github.com/licensee/licensee, I don't know if it's better than licensecheck, but its used by Github. |
How would
Apart from having extra ruby dependeciey and afaik being packaged nowhere, at first glance this appears to only categorise
The reasoning for |
a427784
to
10331cb
Compare
New version:
Personally (and assuming it is legally fine), I'm content with the copyright+license acknowledgement itself now. It could be further compressed by merging copyright notices from the same person but different years, but I'm not sure that's worth the effort (consider that sometimes a single copyright notices also lists multiple people). Remaining issues:
|
@TheOneric I've reviewed here, looks good, but:
Resulted file: subtitles-octopus.txt |
No. As written before some (most, actually) license require redistribution of the full license text together with the distributed binaries or source. Of the licences used in JSO, only FTL allows a shorter notices with a link t othe full text for binary (but not source!) distribution; as you may have noted this is also the only licence to do exactly this as per the introductory comment of
The full texts must be included. Now to explain why a separate file is no good (in itself) and why the As hinted in this pr's first post, there are two distribution processes here that we want to take into account. However, the second step is distribution from the server's of those who incorporated JSO into their webpages/webapps/… . Just like before, the full texts must be distributed alongside the binaries. Separate licence and copyright files from the npm-package will never get send to the end user, so if this were to be the only thing we do we'd set up all JSO users to commit copyright violations. From my limited knowledge about how JSO integration works, it appears to me like prepending to |
Where does
If with “main LICENSE file” you mean |
I don't remember why i used this file, but it works with brotli submodule copy with a little mod in decode.js. |
We can remove unbrotli.js file and use the Brotli submodule implementation |
2ff26c3
to
5035e47
Compare
The minified javascript implemntation ( Either way, if desired, this should be done separately as it is out of scope for this pr. 1: Ofc, there's the "fun" disparity with JS using native endianess, but WASM for some reason requiring Little-Endian for its types, but since this only decompresses files byte per byte iinm, this shouldn't be a problem here, or is it? |
This doesn't detect the dual FTL _OR_ GPL2+ licencing of freetype since its per file HEADERs only refer to "the FreeType project license, LICENSE.TXT", which details the dual licensing. However, this should be fine since we can just decide to use FTL. Some path exclude rules were added for files not actually included in the binaries, but having additional licenses or borking licensecheck's copyright detection.
Rebased after the brotli change and excluded the unused |
This now lists all licenses contained in the build by SPDX-identifiers, using regular 'NTP' for Debian's 'NTP~disclaimer' as it lacks a SPDX-ID.
Might perhaps not be strictly required, but this makes it easier to find the copyright attributions for those who obtain the npm package. Prepending the info to the main script remains necessary to also ship the notices for every of the final server-to-client distributions.
This is not ready for merge!Draft fixing the attribution with assistance of
licensecheck
(fixes #99 ).Notices and licenses should not only be contained in the node package, but also send to each end-user in whose browser JSO is executed. This way it is easy for JSO users (i.e. those who distribute JSO from a server) to comply with the licence conditions.
Needs some feedback (@rcombs, @TFSThiagoBR98).
subtitles-octopus.js
?I'm not sure about the copyright notice granularity, perhaps it would be better to be coarser and merge same licence copyright notices per project?licensecheck
isn't always correct or able to determine the license (afaict the info for the currently included sources isn't wrong though missing a dual licensing). What to do about those non/mis-detections?Is everyone ok with requiringlicensecheck
for the build? Or would including a static, manually updated notice-text be preferable?It would be good, if someone could check that the way the attribution is done is actually correct de jure;same for the
LGPL-3.0-or-later
tag inpackage.json
If anyone else also already looked into this: Are there other tools to detect copyright and licence than
licensecheck
? How do they compare in accuracy, coverage and availability in repos?Btw,
src/unbrotli.js
isApache-2.0
licenced, requiring redistribution of the full text of Apache-2.0. Afaict there currently is no copy of Apache-2.0 inside the repo and with this it only is inbuild/license_fullnotice
.If anyone of the JSO maintainers wants to take this over to speed it up or because of better licence-copyright-knowledge, fell free to do so.