Codeberg/Design
Archived
23
51
Fork
You've already forked Design
4

LibreJS compliance #33

Closed
opened 2021年06月25日 04:37:56 +02:00 by yp · 4 comments

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 ```
Collaborator
Copy link

@momar Could you take a look at adding this?

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

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.
Collaborator
Copy link

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
Copy link

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 2021年07月26日 09:35:59 +02:00
Commenting is not possible because the repository is archived.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
Kind: Breaking
Kind: Bug
Kind: Documentation
Kind: Enhancement
Kind: Feature
Kind: Maintenance
Kind: Public Relations

Design relevant outside of Codeberg
Kind: Question
Kind: Security
Kind: Testing
Kind: Web Design
Part: Color Palette
Part: Design Kit

Codeberg Design Kit
Part: Fonts
Part: Logo
Part: Navbar

Codeberg's navigation bar
Part: Themes

Gitea themes
Priority: Critical

The priority is critical
Priority: High

The priority is high
Priority: Low

The priority is low
Priority: Medium

The priority is medium
Reviewed: Confirmed

Something has been confirmed
Reviewed: Duplicate

Something exists already
Reviewed: Invalid

Something was marked as invalid
Reviewed: Wontfix

Something won't be fixed
Status: Blocked
Status: Completed

Work is complete
Status: Help wanted
Status: In progress

Work is in progress
Status: Needs feedback

Feedback is needed
Status: Stale
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Design#33
Reference in a new issue
Codeberg/Design
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?