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

feat: Make license extractable from PeerTube #217

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

sorairolake
Copy link
Contributor

PeerTube can be set CC licenses to video.

https://github.com/Chocobozzz/PeerTube/blob/25639d01db0311da34f2e0acca1bcf7449b7a5b8/server/core/initializers/constants.ts#L570-L578

The version of CC BY and CC BY-SA licenses are unclear, but are probably version 4.0. This is a guess based on a function which converts the PeerTube license to the SPDX-License-Identifier.

https://github.com/Chocobozzz/PeerTube/blob/25639d01db0311da34f2e0acca1bcf7449b7a5b8/server/core/helpers/video.ts#L30-L40

@don-vip don-vip merged commit 1483b01 into toolforge:master Sep 25, 2024
@don-vip
Copy link
Collaborator

don-vip commented Sep 25, 2024

thank you!

@sorairolake sorairolake deleted the peertube-license branch September 25, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants