Skip to content

Commit 1bf05d4

Browse files
committed
Add Contributor Licensing
1 parent 579d775 commit 1bf05d4

8 files changed

Lines changed: 497 additions & 8 deletions

File tree

.github/CLA-SIGNATURES.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# CLA Signatures
2+
3+
This file tracks contributors who have signed the Contributor License Agreement (CLA).
4+
5+
**Note:** This file is maintained by project maintainers. Contributors do not need to edit this file.
6+
7+
---
8+
9+
## Individual Contributors
10+
11+
| GitHub Username | Full Name | Date Signed | Method | Status |
12+
|----------------|-----------|-------------|--------|--------|
13+
| example-user | John Doe | 2025-12-31 | GitHub Comment | ✅ Active |
14+
15+
---
16+
17+
## Corporate Contributors
18+
19+
| Company Name | Signatory Name | Date Signed | Method | Employees Covered | Status |
20+
|--------------|----------------|-------------|--------|-------------------|--------|
21+
| Example Corp | Jane Smith (CTO) | 2025-12-31 | Email | 5 | ✅ Active |
22+
23+
---
24+
25+
## How to Add Signatures
26+
27+
**For Maintainers:**
28+
29+
1. When a contributor comments "I have read and agree to the CLA" on their PR, add them to the Individual Contributors table
30+
2. When a company submits a signed CCLA via email, add them to the Corporate Contributors table
31+
3. Update the status if a CLA is revoked or expires
32+
33+
**Signature Methods:**
34+
- `GitHub Comment` - Commented on PR
35+
- `Email` - Sent signed PDF to cla@hypercart.com
36+
- `DocuSign` - Electronic signature via DocuSign
37+
38+
**Status Values:**
39+
-`Active` - CLA is valid
40+
- ⚠️ `Pending` - Awaiting signature verification
41+
-`Revoked` - CLA has been revoked
42+
- 🕐 `Expired` - Corporate CLA needs renewal
43+
44+
---
45+
46+
## Verification
47+
48+
Before merging a PR, verify:
49+
50+
1. ✅ Contributor is listed in this file with "Active" status
51+
2. ✅ If corporate contributor, verify employee is listed in CCLA
52+
3. ✅ Date signed is before the PR submission date
53+
54+
---
55+
56+
**Last Updated:** 2025-12-31
57+

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
## Description
2+
3+
<!-- Provide a brief description of your changes -->
4+
5+
## Type of Change
6+
7+
<!-- Mark the relevant option with an "x" -->
8+
9+
- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
10+
- [ ] ✨ New feature (non-breaking change which adds functionality)
11+
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
12+
- [ ] 📝 Documentation update
13+
- [ ] 🧪 Test update
14+
- [ ] ♻️ Refactoring (no functional changes)
15+
16+
## Related Issue
17+
18+
<!-- Link to the issue this PR addresses, if applicable -->
19+
20+
Fixes #(issue number)
21+
22+
## Changes Made
23+
24+
<!-- List the specific changes made in this PR -->
25+
26+
-
27+
-
28+
-
29+
30+
## Testing
31+
32+
<!-- Describe the tests you ran to verify your changes -->
33+
34+
- [ ] Ran `dist/tests/run-fixture-tests.sh` - All tests pass
35+
- [ ] Tested against real WordPress plugin/theme
36+
- [ ] Added new test fixtures (if applicable)
37+
- [ ] Verified no new issues in `dist/tests/fixtures/clean-code.php`
38+
39+
## Checklist
40+
41+
<!-- Mark completed items with an "x" -->
42+
43+
- [ ] My code follows the project's coding standards
44+
- [ ] I have updated the documentation (README.md, CHANGELOG.md)
45+
- [ ] I have added tests that prove my fix/feature works
46+
- [ ] All new and existing tests pass
47+
- [ ] I have updated CHANGELOG.md with my changes
48+
- [ ] **I have read and agree to the [Contributor License Agreement (CLA)](../CLA.md)**
49+
50+
## CLA Signature
51+
52+
<!-- REQUIRED: By submitting this PR, you must agree to the CLA -->
53+
54+
**For first-time contributors:** Please comment below with:
55+
56+
```
57+
I have read and agree to the CLA
58+
```
59+
60+
This is a one-time requirement. Once signed, you can contribute to all future PRs without re-signing.
61+
62+
**Questions about the CLA?** See [CLA.md](../CLA.md) or email cla@hypercart.com
63+
64+
---
65+
66+
## Additional Notes
67+
68+
<!-- Any additional information that reviewers should know -->
69+

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [1.0.59] - 2025-12-31
99

10+
### Added
11+
- **Contributor License Agreement (CLA)** - Added CLA requirement for contributors
12+
- Created `CLA.md` - Individual Contributor License Agreement
13+
- Created `CLA-CORPORATE.md` - Corporate Contributor License Agreement
14+
- Updated `CONTRIBUTING.md` with CLA signing instructions
15+
- Updated `README.md` to mention CLA requirement
16+
- Updated `LICENSE-SUMMARY.md` with CLA information
17+
- CLA is fully compatible with Apache 2.0 and dual-license model
18+
- Based on Apache Software Foundation's CLA template
19+
- Allows contributions to be distributed under both open source and commercial licenses
20+
1021
### Changed
1122
- **Baseline File Renamed** - Renamed `.neochrome-baseline` to `.hcc-baseline` (HCC = Hypercart Code Check)
1223
- Updated default baseline filename in `check-performance.sh`

CLA-CORPORATE.md

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
# Corporate Contributor License Agreement (CCLA)
2+
3+
**WP Code Check by Hypercart**
4+
**Copyright 2025 Hypercart (a DBA of Neochrome, Inc.)**
5+
6+
---
7+
8+
## Corporate Contributor License Agreement
9+
10+
Thank you for your interest in contributing to WP Code Check ("the Project") by Hypercart, a DBA of Neochrome, Inc. ("Hypercart", "we", "us", or "our").
11+
12+
This Corporate Contributor License Agreement ("Agreement") documents the rights granted by corporations to Hypercart. This Agreement covers contributions from employees of the corporation and does not change the corporation's rights to use its own Contributions for any other purpose.
13+
14+
By signing this Agreement, the corporation accepts and agrees to the following terms and conditions for its present and future Contributions submitted to Hypercart.
15+
16+
---
17+
18+
## 1. Definitions
19+
20+
**"Corporation"** means the legal entity making this Agreement with Hypercart.
21+
22+
**"You"** (or **"Your"**) means the Corporation.
23+
24+
**"Contribution"** means any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by the Corporation or its employees to Hypercart for inclusion in, or documentation of, the Project.
25+
26+
**"Submit"** means any form of electronic, verbal, or written communication sent to Hypercart or its representatives.
27+
28+
---
29+
30+
## 2. Grant of Copyright License
31+
32+
Subject to the terms and conditions of this Agreement, You hereby grant to Hypercart and to recipients of software distributed by Hypercart a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to:
33+
34+
- Reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works
35+
- **Distribute Your Contributions under multiple licenses**, including but not limited to:
36+
- The Apache License 2.0 (open source)
37+
- Commercial licenses offered by Hypercart
38+
- Any other license that Hypercart deems appropriate for the Project
39+
40+
This grant explicitly allows Hypercart to include Your Contributions in both the open source version (Apache 2.0) and commercial versions of the Project.
41+
42+
---
43+
44+
## 3. Grant of Patent License
45+
46+
Subject to the terms and conditions of this Agreement, You hereby grant to Hypercart and to recipients of software distributed by Hypercart a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer Your Contributions.
47+
48+
If any entity institutes patent litigation against You or any other entity alleging that Your Contribution, or the Project to which You have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement shall terminate as of the date such litigation is filed.
49+
50+
---
51+
52+
## 4. Corporate Representations
53+
54+
You represent that:
55+
56+
1. **You are legally entitled to grant the above licenses.**
57+
2. **Each employee making Contributions is authorized to do so** on behalf of the Corporation.
58+
3. **Contributions are original creations** of the Corporation or its employees, or the Corporation has sufficient rights to grant the licenses herein.
59+
4. You will maintain a list of employees authorized to make Contributions and provide it to Hypercart upon request.
60+
61+
---
62+
63+
## 5. Employee Obligations
64+
65+
You agree that:
66+
67+
1. Each employee making Contributions must still sign an Individual Contributor License Agreement (ICLA)
68+
2. The ICLA covers contributions that may not be owned by the Corporation
69+
3. You will notify Hypercart if any employee's authorization to contribute is revoked
70+
71+
---
72+
73+
## 6. Notification of Changes
74+
75+
You agree to notify Hypercart of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect.
76+
77+
---
78+
79+
## 7. Dual Licensing Acknowledgment
80+
81+
You acknowledge and agree that:
82+
83+
1. The Project is dual-licensed under the Apache License 2.0 (open source) and commercial licenses offered by Hypercart
84+
2. Your Contributions may be distributed under both licensing models
85+
3. Hypercart may offer commercial licenses that include Your Contributions without additional compensation to You
86+
4. The open source version (Apache 2.0) will always remain available to the community
87+
5. You retain the right to use Your Contributions for any purpose outside of the Project
88+
89+
---
90+
91+
## 8. Corporate Information and Signature
92+
93+
### Corporation Details
94+
95+
```
96+
Corporation Legal Name: _________________________________
97+
98+
Corporation Address: ____________________________________
99+
100+
____________________________________
101+
102+
____________________________________
103+
104+
Country: ________________________________________________
105+
106+
Point of Contact Name: __________________________________
107+
108+
Point of Contact Email: _________________________________
109+
110+
Point of Contact Phone: _________________________________
111+
```
112+
113+
### Authorized Signatory
114+
115+
```
116+
Signatory Name: _________________________________________
117+
118+
Signatory Title: ________________________________________
119+
120+
Signatory Email: ________________________________________
121+
122+
Date: ___________________________________________________
123+
124+
Signature: ______________________________________________
125+
```
126+
127+
**Note:** The signatory must have legal authority to bind the Corporation to this Agreement.
128+
129+
---
130+
131+
## 9. Initial List of Designated Employees
132+
133+
Please list employees authorized to make Contributions (attach additional pages if needed):
134+
135+
```
136+
1. Name: __________________ Email: __________________ GitHub: __________________
137+
138+
2. Name: __________________ Email: __________________ GitHub: __________________
139+
140+
3. Name: __________________ Email: __________________ GitHub: __________________
141+
142+
4. Name: __________________ Email: __________________ GitHub: __________________
143+
144+
5. Name: __________________ Email: __________________ GitHub: __________________
145+
```
146+
147+
**To add or remove employees from this list, please email:** `cla@hypercart.com`
148+
149+
---
150+
151+
## 10. How to Submit This Agreement
152+
153+
Please submit the completed and signed CCLA via:
154+
155+
- **Email:** `cla@hypercart.com` (PDF attachment)
156+
- **DocuSign:** Request electronic signature link from `cla@hypercart.com`
157+
- **Postal Mail:** (Contact us for mailing address if required)
158+
159+
---
160+
161+
## 11. Questions?
162+
163+
For questions about this CCLA, please contact:
164+
- **Email:** cla@hypercart.com
165+
- **GitHub Issues:** https://github.com/YOUR_ORG/wp-code-check/issues
166+
167+
---
168+
169+
**This CCLA is based on the Apache Software Foundation's Corporate Contributor License Agreement and is designed to be fully compatible with the Apache License 2.0 while supporting Hypercart's dual-license model.**
170+
171+
---
172+
173+
**Copyright 2025 Hypercart (a DBA of Neochrome, Inc.)**
174+

0 commit comments

Comments
 (0)