Skip to content

docs: add the missing Apache-2.0 LICENSE file - #358

Open
Andrei Kvapil (kvaps) wants to merge 1 commit into
mainfrom
docs/add-license
Open

docs: add the missing Apache-2.0 LICENSE file#358
Andrei Kvapil (kvaps) wants to merge 1 commit into
mainfrom
docs/add-license

Conversation

@kvaps

@kvaps Andrei Kvapil (kvaps) commented Aug 12, 2026

Copy link
Copy Markdown
Member

What this PR does

This repository has no LICENSE file. Not at the root, not anywhere in the tree — GET /repos/cozystack/etcd-operator/license returns 404 and GitHub reports no licence for the repository.

Meanwhile every source file carries the Apache-2.0 header (Copyright 2023 Timofey Larkin., see hack/boilerplate.go.txt) and the README states:

License

Apache 2.0. See LICENSE.

So the terms the sources point at are not actually present in the repository.

This matters beyond tidiness: etcd-operator ships into the Cozystack distribution three ways — the controller image (packages/system/etcd-operator/values.yaml), the CRDs (packages/system/etcd-operator-crds/Makefile), and the etcd-migrate binary baked into the platform-migrations image (packages/core/platform/images/migrations/Dockerfile). A component in the artifact adopters install, with no repository-level licence grant, is a finding any licence review will raise.

This adds the verbatim Apache License 2.0 text. No terms change: it makes explicit the licence the file headers have asserted since 2023.

Summary by CodeRabbit

  • Documentation
    • Added the Apache License, Version 2.0, covering usage rights, redistribution requirements, contributions, trademarks, warranties, and liability.

Every source file in this repository carries the Apache-2.0 header and the
README states "Apache 2.0. See LICENSE", but that file has never existed.
GitHub therefore reports no licence for the repository, and the terms the
sources refer to are not actually present.

This adds the verbatim Apache License 2.0 text. No terms change: it makes
explicit the licence the file headers have asserted since 2023.

Assisted-By: Claude
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d131675a-655e-41fe-b798-ff90601cc91c

📥 Commits

Reviewing files that changed from the base of the PR and between a60dd56 and aef356b.

📒 Files selected for processing (1)
  • LICENSE

📝 Walkthrough

Walkthrough

The repository adds the complete Apache License, Version 2.0 text in a new LICENSE file. No exported or public declarations change.

Changes

Repository licensing

Layer / File(s) Summary
Add Apache License text
LICENSE
The repository adds Apache License, Version 2.0 terms covering use, reproduction, modification, distribution, contributions, trademarks, warranties, liability, and license notices.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: androndo, lllamnyp

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the addition of the missing Apache-2.0 LICENSE file.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/add-license

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 12, 2026
@kvaps
Andrei Kvapil (kvaps) marked this pull request as ready for review August 12, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant