There should be a way to remove particular licenses or license expression from license expressions

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

@bhavesh200628-debug is already working on this.

Since Aug 30, 2026.

  • #133 by @bhavesh200628-debug — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
tooling

Research direction

Start by locating the license-expression object API and the tests for parsing or manipulating expression objects. Trace how individual licenses and nested license expressions are represented, then define the removal behavior for valid and invalid keys without string round-tripping. Done means targeted removal works on relevant expression shapes and the existing test suite passes.

Written by the indexing model from the issue text.

Description

This would be useful in the case where we want to remove an invalid license key from a license expression without converting that license expression to a string, then removing the license key from the string, then re-parsing the resulting license expression string back into a license expression object.

Dominant language
Python
Stars
74
Forks
38
PR merge metrics
No merged PRs in 30d

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 aboutcode-org/license-expression

All issues in aboutcode-org/license-expression

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.