Skip to content

License and v0.1.0 release prep - #4

Merged
Timofei Larkin (lllamnyp) merged 2 commits into
mainfrom
chore/license-and-release-prep
Oct 2, 2026
Merged

Timofei Larkin (lllamnyp) merged 2 commits into
mainfrom
chore/license-and-release-prep

Conversation

@lllamnyp

Copy link
Copy Markdown
Member

Prepares this repo to be vendored as an upstream chart (per the Cozystack packaging handoff): a declared license and a deliberate chart version ahead of tagging v0.1.0.

What changed

  1. Add LICENSE — the standard, unmodified Apache License 2.0 text at the repo root. The Go sources already carried Apache-2.0 header boilerplate, but GitHub reported no declared license, which blocks anyone vendoring the chart under Apache-2.0 terms of their own.
  2. Attribute the copyright headers — replaced the Copyright 2026. placeholder with Copyright 2026 Timofei Larkin in every Go source header and in hack/boilerplate.go.txt, so make generate keeps stamping the same holder on new generated files. zz_generated.deepcopy.go was regenerated via make generate, not hand-edited.
  3. Set chart/address-controller/Chart.yaml's version to 0.1.0, replacing the 0.0.0 placeholder, to match appVersion ahead of the v0.1.0 tag. Dropped the now-stale Makefile comment about package-time stamping.

make manifests, go build ./..., and helm lint all pass clean; no changes to crds/ or templates/role.yaml.

Holder string flagged for review: headers now read Copyright 2026 Timofei Larkin — correct me before merging if you'd rather it read differently (e.g. a different name form, or no year).

The Go sources already carried Apache-2.0 boilerplate headers from the
kubebuilder scaffold, but a header is not a declared license — GitHub
reported this repo as unlicensed, which blocks anyone vendoring the
chart under their own Apache-2.0 terms. Add the standard, unmodified
Apache License 2.0 text at the repo root and replace the placeholder
"Copyright 2026." with a real holder in every source header and in
hack/boilerplate.go.txt, so make generate keeps stamping the same
holder on future files.

Assisted-By: LLM
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
Cozystack's update target vendors chart/address-controller/ with a
plain cp -r from the tagged commit, not through make helm-package, so
the literal Chart.yaml version is what ends up in a downstream vendor
tree. Replace the 0.0.0 placeholder with 0.1.0 to match appVersion and
the upcoming v0.1.0 tag, and drop the now-stale comment pointing at
package-time stamping.

Assisted-By: LLM
Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
@lllamnyp
Timofei Larkin (lllamnyp) marked this pull request as ready for review October 2, 2026 07:09
@lllamnyp
Timofei Larkin (lllamnyp) merged commit 7c9581a into main Oct 2, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant