LibreJS compliance #33

Closed
opened 11 months ago by yp · 4 comments
yp commented 11 months ago

Continuing the discussion from Codeberg/Documentation#145, is codeberg.js the only script that will be loaded on docs.codeberg.org? It looks like it is generated, and a simple way to make it librejs compliant is to add a post processing step of prepending the following line to codeberg.js

// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat

and appending the following line

// @license-end
Continuing the discussion from https://codeberg.org/Codeberg/Documentation/issues/145, is [codeberg.js](https://codeberg.org/Codeberg/Design/src/branch/master/design-kit/codeberg.js) the only script that will be loaded on docs.codeberg.org? It looks like it is generated, and a simple way to make it librejs compliant is to add a post processing step of prepending the following line to codeberg.js ``` // @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat ``` and appending the following line ``` // @license-end ```
n commented 11 months ago
Collaborator

@momar Could you take a look at adding this?

@momar Could you take a look at adding this?
Owner

Sure, but it's definitely not at the top of my priorities right now. If you want to create a PR I can merge it - in https://codeberg.org/Codeberg/Design/src/branch/master/design-kit/build.js#L57 the built JavaScript file is written, you can just modify it before that. The license of this repo is CC0.

Sure, but it's definitely not at the top of my priorities right now. If you want to create a PR I can merge it - in https://codeberg.org/Codeberg/Design/src/branch/master/design-kit/build.js#L57 the built JavaScript file is written, you can just modify it before that. The license of this repo is CC0.
n commented 11 months ago
Collaborator

The license of this repo is CC0.

Doesn't that conflict with Halfmoon's license?

> The license of this repo is CC0. Doesn't that conflict with Halfmoon's license?
Owner

Oh wait, you're right, the codeberg.js file only contains Halfmoon right now & has an additional license header! So, the part before the for loop is MIT, the part inside the for loop is CC0. Also, I just saw that there's a typo there (codebergCSS instead of codebergJS), but it doesn't matter as we don't have any custom script files right now.

Oh wait, you're right, the codeberg.js file only contains Halfmoon right now & has an additional license header! So, the part before the for loop is MIT, the part inside the for loop is CC0. Also, I just saw that there's a typo there (`codebergCSS` instead of `codebergJS`), but it doesn't matter as we don't have any custom script files right now.
n referenced this issue from a commit 10 months ago
n added the
Kind: Feature
Part: Design Kit
labels 10 months ago
n closed this issue 10 months ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.