Skip to content

chore: rename module path to github.com/traefik/assimilis/v2#8

Merged
traefiker merged 1 commit into
traefik:mainfrom
mmatur:chore/v2-module-path
May 13, 2026
Merged

chore: rename module path to github.com/traefik/assimilis/v2#8
traefiker merged 1 commit into
traefik:mainfrom
mmatur:chore/v2-module-path

Conversation

@mmatur

@mmatur mmatur commented May 13, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Renames the Go module from github.com/traefik/assimilis to github.com/traefik/assimilis/v2 so that v2.x tags can be resolved by go install and go get.

Motivation

With a v2 tag, Go's semantic import versioning requires the module path to end in /v2. Without that suffix, go install github.com/traefik/assimilis/cmd/assimilis@v2.0.1 fails with invalid version: module contains a go.mod file, so module path must match major version. Downstream consumers (traefik/traefik, traefik/traefikee) had to pin a commit SHA instead of the tag.

Updates go.mod, the two internal imports in cmd/assimilis/, the test file, the Makefile LDFLAGS prefix and the goreleaser ldflags.

Additional Notes

v2.0.1 cannot be reused — a new tag (e.g. v2.0.2) must be cut after merge, then downstream pins bumped to @v2.0.2.

@bpsoraggi bpsoraggi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit f24903d into traefik:main May 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug/fix a bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants