Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Custom Licenses

Open
#24 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
json
Domain
tooling

Research direction

Start by reading the SPDX references linked in the issue and the requirements introduced by PR #22. Define how custom license identifiers and their metadata would be represented in the CPS specification, including the example fields and license expression usage. Done means the proposal is precise enough to implement and review.

Written by the indexing model from the issue text.

Description

enhancement

Currently SPDX license identifiers are encouraged, with https://github.com/cps-org/cps/pull/22 required.
SPDX defines LicenseRef-.* to use custom licenses (See here and here).
I think cps should also define something so that custom license ids could be defined and used in the license expression so that custom licenses could be represented.
We could use the fields from https://spdx.github.io/spdx-spec/v2.2.2/other-licensing-information-detected/:
Maybe something like this:

{
  "Name": "sample",
  "Description": "Sample CPS",
  "License": "LicenseRef-MyLicense",
  "license-definitions": {
    "LicenseRef-MyLicense": {
      "name": "MyLicense maybe with special characters",
      "see-also": "http://example.com/licenses/our-license",
      "comment": "This is a comment",
      "extracted-text": "Do whatever you want with this code"
    }    
  }
}
Dominant language
Python
Stars
191
Forks
13
Avg merge
6d 23h
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cps-org/cps

All issues in cps-org/cps

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.