Repository navigation
Move module, image and copyright to Cozystack - #5
Merged
Merged
Conversation
The repository now lives under the cozystack organization, so the project's copyright belongs to its authors collectively rather than to the original individual author. Update every source header and hack/boilerplate.go.txt, and regenerate zz_generated.deepcopy.go with controller-gen so its header follows the boilerplate. LICENSE carries the unmodified Apache-2.0 text with no named holder, so it needs no change. Assisted-By: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
The repository was transferred from lllamnyp/address-controller to cozystack/address-controller. Point everything that named the old owner at the new one: - Go module path github.com/cozystack/address-controller (go mod edit -module, imports rewritten, go mod tidy) and the kubebuilder PROJECT file. - Image ghcr.io/cozystack/address-controller in the Makefile, the chart default and the README. The release workflow already derives its image from github.repository, so CI needs no change. - org.opencontainers.image.source label, so GHCR links the new package to this repository. - Chart home/sources and the metallb-iad links, which also moved to the cozystack organization. Images already published under ghcr.io/lllamnyp are left untouched. Assisted-By: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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. Comment |
The Lint workflow was failing on main. Move the linter to the current release, v2.14.0, in both the workflow (golangci-lint-action v9, which requires v2) and the Makefile, and convert .golangci.yml with golangci-lint migrate. Bump checkout and setup-go in the same workflow. Fix what v2 reports instead of silencing it: the claim tests now share constants for the class, provisioner, namespace, claim name and claim UID, the claim helpers drop the namespace and name parameters that always received the same values, and updateClaimStatus preallocates the reported address list. Assisted-By: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
CI took its Go version from go.mod, which still said 1.23.0 (end of life), while the image is built with golang:1.26. Set go 1.26 with go mod edit and keep godebug default=go1.23 so runtime defaults don't change, matching metallb-iad. Move the test and release workflows to the current major versions of the checkout, setup-go and docker actions, which run on Node 24 instead of the deprecated Node 20. Assisted-By: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
The release builds a multi-arch image, and GHCR reads org.opencontainers.image.source from the index manifest; the Dockerfile LABEL only lands in the per-arch image configs. Have metadata-action emit its labels and annotations at the manifest and index levels and pass both to build-push-action, as metallb-iad does. Assisted-By: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
myasnikovdaniil
approved these changes
Oct 7, 2026
myasnikovdaniil
left a comment
There was a problem hiding this comment.
APPROVE. Checked locally, go mod tidy and make manifests generate leave no diff, build, vet and tests pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This repo was transferred from
lllamnyp/address-controllertocozystack/address-controller. This PR moves its code, image and copyright from the personal account to the org.hack/boilerplate.go.txtnow say "The Cozystack Authors".zz_generated.deepcopy.gowas regenerated with controller-gen v0.17.1.LICENSEis the unmodified Apache-2.0 text and names no holder, so it is unchanged.github.com/cozystack/address-controller. I usedgo mod edit -module, rewrote the imports, rango mod tidyand updated thePROJECTfile. Regenerating the CRDs and the ClusterRole produced no diff.ghcr.io/cozystack/address-controllerin the Makefile, the chart default (values.yaml) and the README. The Dockerfile'sorg.opencontainers.image.sourcelabel now points here, so GHCR links the new package to this repo.home/sourcesand the metallb-iad links point at the cozystack org..golangci.ymlwas converted withgolangci-lint migrate. The findings that had kept Lint red on main are fixed in the code: the claim tests share constants for repeated values, test helpers drop parameters that always got the same value, and the reported address list is preallocated.go 1.26, matching thegolang:1.26builder and metallb-iad.godebug default=go1.23keeps runtime defaults unchanged. The checkout, setup-go and docker actions are on their current major versions, which run on Node 24 instead of the deprecated Node 20.org.opencontainers.image.sourcefrom the index; metallb-iad does the same.The release workflow already builds its image name from
github.repositoryand requestspackages: write. Once this merges, the push to main will publishghcr.io/cozystack/address-controller:mainand:main-<sha>, and laterv*tags will publish semver tags. Nothing underghcr.io/lllamnypis touched.Downstream users still on the old names need follow-ups. metallb-iad imports
github.com/lllamnyp/address-controller/api/v1alpha1and must switch to the new module path once this merges. cozystack/cozystack#3382 still points at thelllamnyprepo and image.go build ./...,go vet ./...,go test ./...andgolangci-lint runall pass. Regenerating CRDs, RBAC and deepcopy with controller-gen produces no diff.