Skip to content

Commit e46b42c

Browse files
committed
chore: relicense from GPL-3.0-only to PolyForm-Noncommercial-1.0.0
Switch to source-available licensing that prohibits commercial use while allowing personal, research, education, nonprofit, and government use. - Replace GPL-3.0-only with PolyForm-Noncommercial-1.0.0 across all files - Update SPDX headers in all 38 source files - Add CLA.md (Indie Open Source Tiny CLA) - Add CLA Assistant Lite GitHub Action workflow - Update REUSE.toml, Cargo.toml, README.md, and CLAUDE.md - Verify REUSE 3.3 compliance (40/40 files)
1 parent 15f0b74 commit e46b42c

41 files changed

Lines changed: 240 additions & 275 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
22
#
3-
# SPDX-License-Identifier: GPL-3.0-only
3+
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
44

55
github: Sephyi

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
22
#
3-
# SPDX-License-Identifier: GPL-3.0-only
3+
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
44

55
name: CI
66

.github/workflows/cla.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
2+
#
3+
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
4+
5+
name: CLA Assistant
6+
7+
on:
8+
issue_comment:
9+
types: [created]
10+
pull_request_target:
11+
types: [opened, closed, synchronize]
12+
13+
permissions:
14+
actions: write
15+
contents: write
16+
pull-requests: write
17+
statuses: write
18+
19+
jobs:
20+
cla:
21+
if: |
22+
(github.event_name == 'pull_request_target')
23+
|| (github.event_name == 'issue_comment' && github.event.comment.body == 'recheck')
24+
|| (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, 'I have read the CLA'))
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: contributor-assistant/github-action@v2.6.1
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
with:
31+
path-to-document: "CLA.md"
32+
path-to-signatures: "signatures/cla.json"
33+
branch: "development"
34+
allowlist: "Sephyi,dependabot[bot],github-actions[bot]"
35+
custom-notsigned-prcomment: >-
36+
Thank you for your contribution! Before we can merge this PR,
37+
you need to sign the Contributor License Agreement (CLA.md).
38+
To sign, please reply with a comment containing exactly:
39+
`I have read the CLA Document and I hereby sign the CLA.`
40+
You only need to sign once.
41+
custom-pr-sign-comment: "I have read the CLA Document and I hereby sign the CLA."
42+
lock-pullrequest-aftermerge: false

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
22
#
3-
# SPDX-License-Identifier: GPL-3.0-only
3+
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
44

55
# --- OS / Editor -------------------------------------------------------------
66

CLA.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
3+
4+
SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
5+
-->
6+
7+
# Contributor License Agreement
8+
9+
Based on the [indieopensource.com Tiny CLA](https://github.com/indieopensource/tiny-cla).
10+
11+
---
12+
13+
I, _{contributor name}_, give **Sephyi** permission to license my
14+
contributions on any terms they like. I am giving them this license in
15+
order to make it possible for them to accept my contributions into their
16+
project.
17+
18+
**As far as the law allows, my contributions come as is, without any
19+
warranty or condition, and I will not be liable to anyone for any damages
20+
related to this software or this license, under any kind of legal
21+
claim.**
22+
23+
---
24+
25+
## How to sign
26+
27+
When you open a pull request, a bot will comment asking you to sign this
28+
CLA. Reply with a comment containing the following text:
29+
30+
```
31+
I have read the CLA Document and I hereby sign the CLA.
32+
```
33+
34+
Your signature will be recorded automatically. You only need to sign
35+
once — it applies to all future contributions.

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
33
4-
SPDX-License-Identifier: GPL-3.0-only
4+
SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
55
-->
66

77
# CommitBee
@@ -115,14 +115,14 @@ src/
115115
### Toolchain
116116

117117
- Rust edition 2024, MSRV 1.85
118-
- License: GPL-3.0-only (REUSE compliant)
118+
- License: PolyForm-Noncommercial-1.0.0 (REUSE compliant)
119119
- Dev deps: `tempfile`, `assert_cmd`, `predicates`, `wiremock`, `insta`, `proptest`
120120

121121
### REUSE / SPDX Headers
122122

123123
- All files use `reuse annotate` format: blank comment separator between SPDX lines
124124
- `reuse lint` — verify compliance
125-
- `reuse annotate --copyright "Sephyi <me@sephy.io>" --license GPL-3.0-only --year 2026 <file>` — add header
125+
- `reuse annotate --copyright "Sephyi <me@sephy.io>" --license PolyForm-Noncommercial-1.0.0 --year 2026 <file>` — add header
126126
- REUSE.toml `[[annotations]]` — for files that can't have inline headers (Cargo.lock, tests/snapshots/**)
127127

128128
### Running Tests

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
22
#
3-
# SPDX-License-Identifier: GPL-3.0-only
3+
# SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
44

55
[package]
66
name = "commitbee"
77
version = "0.1.0"
88
edition = "2024"
99
rust-version = "1.85"
1010
description = "AI-powered commit message generator"
11-
license = "GPL-3.0-only"
11+
license = "PolyForm-Noncommercial-1.0.0"
1212

1313
[dependencies]
1414
# CLI

LICENSES/GPL-3.0-only.txt

Lines changed: 0 additions & 232 deletions
This file was deleted.
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
PolyForm Noncommercial License 1.0.0
2+
3+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
4+
5+
Acceptance
6+
7+
In order to get any license under these terms, you must agree to them
8+
as both strict obligations and conditions to all your licenses.
9+
10+
Copyright License
11+
12+
The licensor grants you a copyright license for the software to do
13+
everything you might do with the software that would otherwise infringe
14+
the licensor's copyright in it for any permitted purpose. However, you
15+
may only distribute the software according to Distribution License and
16+
make changes or new works based on the software according to Changes
17+
and New Works License.
18+
19+
Distribution License
20+
21+
The licensor grants you an additional copyright license to distribute
22+
copies of the software. Your license to distribute covers distributing
23+
the software with changes and new works permitted by Changes and New
24+
Works License.
25+
26+
Notices
27+
28+
You must ensure that anyone who gets a copy of any part of the software
29+
from you also gets a copy of these terms or the URL for them above, as
30+
well as copies of any plain-text lines beginning with "Required Notice:"
31+
that the licensor provided with the software. For example:
32+
33+
Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
34+
35+
Changes and New Works License
36+
37+
The licensor grants you an additional copyright license to make changes
38+
and new works based on the software for any permitted purpose.
39+
40+
Patent License
41+
42+
The licensor grants you a patent license for the software that covers
43+
patent claims the licensor can license, or becomes able to license, that
44+
you would infringe by using the software.
45+
46+
Noncommercial Purposes
47+
48+
Any noncommercial purpose is a permitted purpose.
49+
50+
Personal Uses
51+
52+
Personal use for research, experiment, and testing for the benefit of
53+
public knowledge, personal study, private entertainment, hobby projects,
54+
amateur pursuits, or religious observance, without any anticipated
55+
commercial application, is use for a permitted purpose.
56+
57+
Noncommercial Organizations
58+
59+
Use by any charitable organization, educational institution, public
60+
research organization, public safety or health organization,
61+
environmental protection organization, or government institution is use
62+
for a permitted purpose regardless of the source of funding or
63+
obligations resulting from the funding.
64+
65+
Fair Use
66+
67+
You may have "fair use" rights for the software under the law. These
68+
terms do not limit them.
69+
70+
No Other Rights
71+
72+
These terms do not allow you to sublicense or transfer any of your
73+
licenses to anyone else, or prevent the licensor from granting licenses
74+
to anyone else. These terms do not imply any other licenses.
75+
76+
Patent Defense
77+
78+
If you make any written claim that the software infringes or contributes
79+
to infringement of any patent, your patent license for the software
80+
granted under these terms ends immediately. If your company makes such a
81+
claim, your patent license ends immediately for work on behalf of your
82+
company.
83+
84+
Violations
85+
86+
The first time you are notified in writing that you have violated any of
87+
these terms, or done anything with the software not covered by your
88+
licenses, your licenses can nonetheless continue if you come into full
89+
compliance with these terms, and take practical steps to correct past
90+
violations, within 32 days of receiving notice. Otherwise, all your
91+
licenses end immediately.
92+
93+
No Liability
94+
95+
As far as the law allows, the software comes as is, without any warranty
96+
or condition, and the licensor will not be liable to you for any damages
97+
arising out of these terms or the use or nature of the software, under
98+
any kind of legal claim.
99+
100+
Definitions
101+
102+
The licensor is the individual or entity offering these terms, and the
103+
software is the software the licensor makes available under these terms.
104+
105+
You refers to the individual or entity agreeing to these terms.
106+
107+
Your company is any legal entity, sole proprietorship, or other kind of
108+
organization that you work for, plus all organizations that have control
109+
over, are under the control of, or are under common control with that
110+
organization. Control means ownership of substantially all the assets of
111+
an entity, or the power to direct its management and policies by vote,
112+
contract, or otherwise. Control can be direct or indirect.
113+
114+
Your licenses are all the licenses granted to you for the software under
115+
these terms.
116+
117+
Use means anything you do with the software requiring one of your
118+
licenses.

PRD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!--
22
SPDX-FileCopyrightText: 2026 Sephyi <me@sephy.io>
33
4-
SPDX-License-Identifier: GPL-3.0-only
4+
SPDX-License-Identifier: PolyForm-Noncommercial-1.0.0
55
-->
66

77
# CommitBee — Product Requirements Document

0 commit comments

Comments
 (0)