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

[Proposal] — Include licenses in software packages #107

Open
flexseth opened this issue May 15, 2024 · 0 comments
Open

[Proposal] — Include licenses in software packages #107

flexseth opened this issue May 15, 2024 · 0 comments

Comments

@flexseth
Copy link
Contributor

flexseth commented May 15, 2024

Examples in this repo represent a starting point for code that is open source, but no license is explicitly provided.

If someone adapts part of the repo, works on it, and then ships code or includes it in a public repository, they are offering the software up without a license.

The GPL covers WordPress Core files, but there isn't a license defined by default in the plugins folder - where many of these modules may be found or iterated on.

Proposal

Introduce the idea of licensing in the block development examples repo.

The why

As software developers level up their skills, ultimately it would be good to know about licensing of proprietary software. The Block Development Examples repo offers boilerplate code for developers to learn and build software out, so it's possible to also introduce the idea of how they should expect their clients to be able to use and re-distribute the software.

Setting expectations for what future users, contributors and collaborators, should be able to do and expect of the software.

Use, modify, re-distribute - etc....

Some packages include a license in their manifest, such as the SlotFill example

However, no license file is provided in the codebase for this example.

Licensing use cases

Contributor builds the packages via the provided pnpm workflow

  • a standard license could be included via the scaffolded files
  • use the same license that applies to WordPress Core (GPL v2+)

Using an individual block/plugin

  • request / require (via the "new" workflow) - a license to be bundled with the software example

WordPress's license

Please let me know your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant