Skip to content

fix(module)!: move module path to github.com/agentnameservice/ans - #92

Closed
kperry-godaddy wants to merge 1 commit into
mainfrom
chore/module-agentnameservice
Closed

fix(module)!: move module path to github.com/agentnameservice/ans#92
kperry-godaddy wants to merge 1 commit into
mainfrom
chore/module-agentnameservice

Conversation

@kperry-godaddy

Copy link
Copy Markdown
Member

What

Renames the Go module from github.com/godaddy/ans to github.com/agentnameservice/ans — the repo's actual home — in one shot:

  • go.mod module directive
  • all 208 Go import sites (pure mechanical swap, 486 lines symmetric)
  • README.md clone URL, CONTRIBUTING.md upstream remote + issues links

Why

The repo was transferred to agentnameservice/ans, but the module directive still declared the old path. Go refuses a module whose declared path differs from the requested one, so the canonical install path was broken:

go install github.com/agentnameservice/ans/cmd/ans-finder@latest   # ← works after this PR

This also unblocks listing the finder as an ARD reference implementation with a working quickstart.

Deliberately unchanged

  • CHANGELOG.md release links — historical; the GitHub transfer redirect keeps them resolving, and release-please owns the file
  • oss@godaddy.com contacts in SECURITY.md / CODE_OF_CONDUCT.md — project contacts, not the repo home
  • transparency.ans.godaddy.com schema URIs in the TL spec (and its embedded docsui copy) — production service hostnames served for historical-verifier compatibility

Breaking

Anyone importing github.com/godaddy/ans must switch to github.com/agentnameservice/ans. Until now the old path kept working via the GitHub transfer redirect; after this change only the canonical path resolves.

Verification

  • go build ./...go vet ./...
  • make lint (golangci-lint v2.11.4): 0 issues ✅
  • go test ./... -count=1: 40 packages pass ✅
  • go mod tidy: no dependency changes (go.sum untouched)

🤖 Generated with Claude Code

The repository moved from github.com/godaddy/ans to
github.com/agentnameservice/ans, but go.mod still declared the old
module path. Go refuses to fetch a module whose declared path differs
from the requested one, so 'go install github.com/agentnameservice/ans/cmd/...@latest'
was broken at the canonical home.

Rename the module directive and all 208 import sites, and point the
README clone URL and CONTRIBUTING upstream/issue links at the new home.

Deliberately unchanged:
- CHANGELOG.md release links (historical; the GitHub transfer redirect
  keeps them resolving)
- oss@godaddy.com contacts in SECURITY.md / CODE_OF_CONDUCT.md
  (project contacts, not the repo home)
- transparency.ans.godaddy.com schema URIs in the TL spec (production
  service hostnames served for historical-verifier compatibility)

BREAKING CHANGE: importers must switch from github.com/godaddy/ans to
github.com/agentnameservice/ans; the old import path no longer resolves
against this repository.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kperry-godaddy

Copy link
Copy Markdown
Member Author

Superseded by a re-push with DCO sign-off — force-push is blocked in this environment, so the signed commit lands via a fresh branch/PR.

Copilot AI 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.

Pull request overview

Updates the repository’s Go module path to match its canonical GitHub home (github.com/agentnameservice/ans), ensuring go get / go install work without module-path mismatch errors after the repo transfer.

Changes:

  • Renamed the module directive in go.mod to github.com/agentnameservice/ans.
  • Mechanically updated Go import paths from github.com/godaddy/ans/... to github.com/agentnameservice/ans/... across the codebase.
  • Updated repository URLs in contributor documentation (README.md, CONTRIBUTING.md).

Reviewed changes

Copilot reviewed 211 out of 211 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/demo/signproof/main.go Update internal import path to new module prefix
README.md Update clone URL to new GitHub org
internal/tl/service/statustoken.go Update internal imports to new module prefix
internal/tl/service/statustoken_test.go Update internal imports to new module prefix
internal/tl/service/statustoken_internal_test.go Update internal imports to new module prefix
internal/tl/service/schema.go Update internal imports to new module prefix
internal/tl/service/receipt.go Update internal imports to new module prefix
internal/tl/service/receipt_test.go Update internal imports to new module prefix
internal/tl/service/producersig.go Update internal imports to new module prefix
internal/tl/service/producersig_test.go Update internal imports to new module prefix
internal/tl/service/merkleproof.go Update internal imports to new module prefix
internal/tl/service/log.go Update internal imports to new module prefix
internal/tl/service/log_more_test.go Update internal imports to new module prefix
internal/tl/service/identitybadge.go Update internal imports to new module prefix
internal/tl/service/codec.go Update internal imports to new module prefix
internal/tl/service/checkpoint.go Update internal imports to new module prefix
internal/tl/service/badge.go Update internal imports to new module prefix
internal/tl/service/badge_internal_test.go Update internal imports to new module prefix
internal/tl/receipt/verify_helpers_test.go Update internal imports to new module prefix
internal/tl/receipt/statustoken.go Update internal imports to new module prefix
internal/tl/receipt/statustoken_test.go Update internal imports to new module prefix
internal/tl/receipt/smoke_verify_test.go Update internal imports to new module prefix
internal/tl/receipt/receipt_test.go Update internal imports to new module prefix
internal/tl/receipt/getters_test.go Update internal imports to new module prefix
internal/tl/receipt/generator.go Update internal imports to new module prefix
internal/tl/producerkey/memory_test.go Update internal imports to new module prefix
internal/tl/logstore/signer_errors_test.go Update internal imports to new module prefix
internal/tl/logstore/open_errors_test.go Update internal imports to new module prefix
internal/tl/logstore/log.go Update internal imports to new module prefix
internal/tl/logstore/log_test.go Update internal imports to new module prefix
internal/tl/logstore/jwssigner.go Update internal imports to new module prefix
internal/tl/logstore/jwssigner_test.go Update internal imports to new module prefix
internal/tl/logstore/getters_test.go Update internal imports to new module prefix
internal/tl/logstore/c2spsigner.go Update internal imports to new module prefix
internal/tl/logstore/c2spsigner_test.go Update internal imports to new module prefix
internal/tl/handler/handler.go Update internal imports to new module prefix
internal/tl/handler/handler_test.go Update internal imports to new module prefix
internal/tl/handler/handler_identity_test.go Update internal imports to new module prefix
internal/tl/handler/error_mapper_test.go Update internal imports to new module prefix
internal/tl/handler/empty_param_test.go Update internal imports to new module prefix
internal/tl/handler/empty_param_identity_test.go Update internal imports to new module prefix
internal/tl/handler/checkpoint.go Update internal imports to new module prefix
internal/tl/handler/admin_producerkeys.go Update internal imports to new module prefix
internal/tl/handler/admin_producerkeys_test.go Update internal imports to new module prefix
internal/tl/event/v1/event_test.go Update internal imports to new module prefix
internal/tl/event/v1/builder.go Update internal imports to new module prefix
internal/tl/event/identity/event.go Update internal imports to new module prefix
internal/tl/event/event.go Update internal imports to new module prefix
internal/tl/event/event_test.go Update internal imports to new module prefix
internal/tl/event/envelope_getters_test.go Update internal imports to new module prefix
internal/ra/service/v1event.go Update internal imports to new module prefix
internal/ra/service/renewal.go Update internal imports to new module prefix
internal/ra/service/renewal_expiry.go Update internal imports to new module prefix
internal/ra/service/renewal_expiry_test.go Update internal imports to new module prefix
internal/ra/service/registration.go Update internal imports to new module prefix
internal/ra/service/registration_test.go Update internal imports to new module prefix
internal/ra/service/registration_errors_test.go Update internal imports to new module prefix
internal/ra/service/order_flow_test.go Update internal imports to new module prefix
internal/ra/service/lifecycle.go Update internal imports to new module prefix
internal/ra/service/lifecycle_verifydns_test.go Update internal imports to new module prefix
internal/ra/service/lifecycle_test.go Update internal imports to new module prefix
internal/ra/service/leiverifier.go Update internal imports to new module prefix
internal/ra/service/identitykinds.go Update internal imports to new module prefix
internal/ra/service/identity.go Update internal imports to new module prefix
internal/ra/service/identity_test.go Update internal imports to new module prefix
internal/ra/service/identity_lei_test.go Update internal imports to new module prefix
internal/ra/service/identity_flow_test.go Update internal imports to new module prefix
internal/ra/service/helpers.go Update internal imports to new module prefix
internal/ra/service/helpers_test.go Update internal imports to new module prefix
internal/ra/service/feed.go Update internal imports to new module prefix
internal/ra/service/feed_test.go Update internal imports to new module prefix
internal/ra/service/dnsrecords.go Update internal imports to new module prefix
internal/ra/service/dnsrecords_test.go Update internal imports to new module prefix
internal/ra/service/dnsmismatch_test.go Update internal imports to new module prefix
internal/ra/service/discovery_default.go Update internal imports to new module prefix
internal/ra/service/agent_expiry.go Update internal imports to new module prefix
internal/ra/outbox/worker.go Update internal imports to new module prefix
internal/ra/outbox/worker_test.go Update internal imports to new module prefix
internal/ra/outbox/worker_errors_test.go Update internal imports to new module prefix
internal/ra/middleware/ownership.go Update internal imports to new module prefix
internal/ra/middleware/ownership_test.go Update internal imports to new module prefix
internal/ra/handler/v1renewal.go Update internal imports to new module prefix
internal/ra/handler/v1registration.go Update internal imports to new module prefix
internal/ra/handler/v1lifecycle.go Update internal imports to new module prefix
internal/ra/handler/v1lifecycle_direct_test.go Update internal imports to new module prefix
internal/ra/handler/v1events.go Update internal imports to new module prefix
internal/ra/handler/v1events_test.go Update internal imports to new module prefix
internal/ra/handler/v1certificates.go Update internal imports to new module prefix
internal/ra/handler/renewalmap.go Update internal imports to new module prefix
internal/ra/handler/registration.go Update internal imports to new module prefix
internal/ra/handler/order_dto_test.go Update internal imports to new module prefix
internal/ra/handler/lifecycle.go Update internal imports to new module prefix
internal/ra/handler/lifecycle_test.go Update internal imports to new module prefix
internal/ra/handler/identity.go Update internal imports to new module prefix
internal/ra/handler/identity_handler_test.go Update internal imports to new module prefix
internal/ra/handler/errors.go Update internal imports to new module prefix
internal/ra/handler/errors_internal_test.go Update internal imports to new module prefix
internal/ra/handler/dto.go Update internal imports to new module prefix
internal/ra/handler/dto_more_test.go Update internal imports to new module prefix
internal/ra/handler/dto_helpers_test.go Update internal imports to new module prefix
internal/port/store.go Update internal imports to new module prefix
internal/port/eventbus.go Update internal imports to new module prefix
internal/port/dns.go Update internal imports to new module prefix
internal/port/discovery.go Update internal imports to new module prefix
internal/port/certauthority.go Update internal imports to new module prefix
internal/lognote/lognote.go Update internal imports to new module prefix
internal/lognote/lognote_test.go Update internal imports to new module prefix
internal/finder/project/project.go Update internal imports to new module prefix
internal/finder/project/project_test.go Update internal imports to new module prefix
internal/finder/project/internal_test.go Update internal imports to new module prefix
internal/finder/poller/poller.go Update internal imports to new module prefix
internal/finder/poller/poller_test.go Update internal imports to new module prefix
internal/finder/poller/poller_edge_test.go Update internal imports to new module prefix
internal/finder/poller/httpclient.go Update internal imports to new module prefix
internal/finder/poller/httpclient_test.go Update internal imports to new module prefix
internal/finder/index/index.go Update internal imports to new module prefix
internal/finder/index/index_test.go Update internal imports to new module prefix
internal/finder/handler/validate.go Update internal imports to new module prefix
internal/finder/handler/handler.go Update internal imports to new module prefix
internal/finder/handler/handler_test.go Update internal imports to new module prefix
internal/finder/handler/handler_error_test.go Update internal imports to new module prefix
internal/finder/handler/dto.go Update internal imports to new module prefix
internal/finder/handler/conformance_test.go Update internal imports to new module prefix
internal/finder/feed/feed.go Update internal imports to new module prefix
internal/finder/feed/feed_test.go Update internal imports to new module prefix
internal/crypto/x509_test.go Update internal imports to new module prefix
internal/crypto/notekey_test.go Update internal imports to new module prefix
internal/crypto/keyhash_test.go Update internal imports to new module prefix
internal/crypto/jws.go Update internal imports to new module prefix
internal/crypto/jws_test.go Update internal imports to new module prefix
internal/crypto/jws_errorpaths_test.go Update internal imports to new module prefix
internal/crypto/jws_crit_test.go Update internal imports to new module prefix
internal/crypto/csr_test.go Update internal imports to new module prefix
internal/adapter/tlclient/client.go Update internal imports to new module prefix
internal/adapter/tlclient/client_test.go Update internal imports to new module prefix
internal/adapter/store/sqlitetl/store_test.go Update internal imports to new module prefix
internal/adapter/store/sqlitetl/sqlite.go Update internal imports to new module prefix
internal/adapter/store/sqlitetl/producerkeys.go Update internal imports to new module prefix
internal/adapter/store/sqlitetl/producerkeys_test.go Update internal imports to new module prefix
internal/adapter/store/sqlitetl/identityevents_test.go Update internal imports to new module prefix
internal/adapter/store/sqlitetl/events.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/store_test.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/store_edge_test.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/sqlite.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/search.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/filter.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/explore.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/cursor.go Update internal imports to new module prefix
internal/adapter/store/sqlitefinder/apply.go Update internal imports to new module prefix
internal/adapter/store/sqlite/stores_test.go Update internal imports to new module prefix
internal/adapter/store/sqlite/sqlite.go Update internal imports to new module prefix
internal/adapter/store/sqlite/revocation.go Update internal imports to new module prefix
internal/adapter/store/sqlite/renewal.go Update internal imports to new module prefix
internal/adapter/store/sqlite/order_persistence_test.go Update internal imports to new module prefix
internal/adapter/store/sqlite/identity.go Update internal imports to new module prefix
internal/adapter/store/sqlite/identity_test.go Update internal imports to new module prefix
internal/adapter/store/sqlite/feed.go Update internal imports to new module prefix
internal/adapter/store/sqlite/feed_test.go Update internal imports to new module prefix
internal/adapter/store/sqlite/endpoint.go Update internal imports to new module prefix
internal/adapter/store/sqlite/certificate.go Update internal imports to new module prefix
internal/adapter/store/sqlite/byoc.go Update internal imports to new module prefix
internal/adapter/store/sqlite/agent.go Update internal imports to new module prefix
internal/adapter/store/sqlite/agent_test.go Update internal imports to new module prefix
internal/adapter/leiverifier/verifier.go Update internal imports to new module prefix
internal/adapter/leiverifier/noop.go Update internal imports to new module prefix
internal/adapter/leiverifier/leiverifier_test.go Update internal imports to new module prefix
internal/adapter/keymanager/file.go Update internal imports to new module prefix
internal/adapter/keymanager/file_test.go Update internal imports to new module prefix
internal/adapter/eventbus/inmemory.go Update internal imports to new module prefix
internal/adapter/eventbus/inmemory_test.go Update internal imports to new module prefix
internal/adapter/docsui/docsui_test.go Update internal imports to new module prefix
internal/adapter/dns/noop.go Update internal imports to new module prefix
internal/adapter/dns/lookup.go Update internal imports to new module prefix
internal/adapter/dns/dns_test.go Update internal imports to new module prefix
internal/adapter/dns/dns_more_test.go Update internal imports to new module prefix
internal/adapter/discovery/registry/registry.go Update internal imports to new module prefix
internal/adapter/discovery/registry/registry_test.go Update internal imports to new module prefix
internal/adapter/discovery/ans/txt.go Update internal imports to new module prefix
internal/adapter/discovery/ans/txt_test.go Update internal imports to new module prefix
internal/adapter/discovery/ans/tlsa.go Update internal imports to new module prefix
internal/adapter/discovery/ans/tlsa_test.go Update internal imports to new module prefix
internal/adapter/discovery/ans/protocol.go Update internal imports to new module prefix
internal/adapter/discovery/ans/protocol_test.go Update internal imports to new module prefix
internal/adapter/discovery/ans/dnsaid.go Update internal imports to new module prefix
internal/adapter/discovery/ans/dnsaid_test.go Update internal imports to new module prefix
internal/adapter/discovery/ans/ansbadge.go Update internal imports to new module prefix
internal/adapter/discovery/ans/ansbadge_test.go Update internal imports to new module prefix
internal/adapter/didresolver/web.go Update internal imports to new module prefix
internal/adapter/didresolver/resolver_test.go Update internal imports to new module prefix
internal/adapter/didresolver/noop.go Update internal imports to new module prefix
internal/adapter/cert/validator.go Update internal imports to new module prefix
internal/adapter/cert/serverselfca.go Update internal imports to new module prefix
internal/adapter/cert/selfca.go Update internal imports to new module prefix
internal/adapter/cert/le_live_smoke_test.go Update internal imports to new module prefix
internal/adapter/cert/cert_test.go Update internal imports to new module prefix
internal/adapter/cert/acme.go Update internal imports to new module prefix
internal/adapter/cert/acme_test.go Update internal imports to new module prefix
internal/adapter/auth/static.go Update internal imports to new module prefix
internal/adapter/auth/static_test.go Update internal imports to new module prefix
internal/adapter/auth/oidc.go Update internal imports to new module prefix
internal/adapter/auth/oidc_e2e_test.go Update internal imports to new module prefix
internal/adapter/auth/admin_test.go Update internal imports to new module prefix
go.mod Change module directive to canonical path
CONTRIBUTING.md Update upstream remote + issues links
cmd/ans-verify/walk.go Update internal imports to new module prefix
cmd/ans-verify/walk_test.go Update internal imports to new module prefix
cmd/ans-verify/main.go Update internal imports to new module prefix
cmd/ans-tl/main.go Update internal imports to new module prefix
cmd/ans-tl/main_test.go Update internal imports to new module prefix
cmd/ans-ra/main.go Update internal imports to new module prefix
cmd/ans-finder/main.go Update internal imports to new module prefix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants