Skip to content

Commit 9d67e53

Browse files
chore: update repository references from godaddy to agentnameservice (#45)
1 parent 2b1014a commit 9d67e53

77 files changed

Lines changed: 132 additions & 133 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,4 @@ jobs:
6565
args: release --clean
6666
env:
6767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
HOMEBREW_TAP_ANS_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_ANS_GITHUB_TOKEN }}
69-
SCOOP_BUCKET_ANS_GITHUB_TOKEN: ${{ secrets.SCOOP_BUCKET_ANS_GITHUB_TOKEN }}
68+
HOMEBREW_SCOOP_TAP_ANS_PAT: ${{ secrets.HOMEBREW_SCOOP_TAP_ANS_PAT }}

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ formatters:
2828
# with the given prefixes are grouped after 3rd-party packages.
2929
# Default: []
3030
local-prefixes:
31-
- github.com/godaddy/*
31+
- github.com/agentnameservice/*
3232

3333
golines:
3434
# Target maximum line length.

.goreleaser.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ builds:
2727
- -trimpath
2828
ldflags:
2929
- -s -w
30-
- -X github.com/godaddy/ans-sdk-go/cmd/ans-cli/cmd.version={{.Version}}
31-
- -X github.com/godaddy/ans-sdk-go/cmd/ans-cli/cmd.commit={{.ShortCommit}}
32-
- -X github.com/godaddy/ans-sdk-go/cmd/ans-cli/cmd.date={{.Date}}
30+
- -X github.com/agentnameservice/ans-sdk-go/cmd/ans-cli/cmd.version={{.Version}}
31+
- -X github.com/agentnameservice/ans-sdk-go/cmd/ans-cli/cmd.commit={{.ShortCommit}}
32+
- -X github.com/agentnameservice/ans-sdk-go/cmd/ans-cli/cmd.date={{.Date}}
3333

3434
archives:
3535
- id: ans-cli
@@ -52,12 +52,12 @@ brews:
5252
ids:
5353
- ans-cli
5454
repository:
55-
owner: godaddy
55+
owner: agentnameservice
5656
name: homebrew-ans
5757
branch: main
58-
token: "{{ .Env.HOMEBREW_TAP_ANS_GITHUB_TOKEN }}"
58+
token: "{{ .Env.HOMEBREW_SCOOP_TAP_ANS_PAT }}"
5959
directory: Formula
60-
homepage: "https://github.com/godaddy/ans-sdk-go"
60+
homepage: "https://github.com/agentnameservice/ans-sdk-go"
6161
description: "Command-line tool for the Agent Name Service (ANS) Registry"
6262
license: "MIT"
6363
commit_author:
@@ -74,12 +74,12 @@ scoops:
7474
ids:
7575
- ans-cli
7676
repository:
77-
owner: godaddy
77+
owner: agentnameservice
7878
name: scoop-ans
7979
branch: main
80-
token: "{{ .Env.SCOOP_BUCKET_ANS_GITHUB_TOKEN }}"
80+
token: "{{ .Env.HOMEBREW_SCOOP_TAP_ANS_PAT }}"
8181
directory: bucket
82-
homepage: "https://github.com/godaddy/ans-sdk-go"
82+
homepage: "https://github.com/agentnameservice/ans-sdk-go"
8383
description: "Command-line tool for the Agent Name Service (ANS) Registry"
8484
license: "MIT"
8585
commit_author:
@@ -102,5 +102,5 @@ changelog:
102102
release:
103103
mode: append
104104
github:
105-
owner: godaddy
105+
owner: agentnameservice
106106
name: ans-sdk-go

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ contributors about the change, discuss the best way to go about implementing it.
6565
> pull requests from branches on your fork. To do this, run:
6666
>
6767
> ```
68-
> git remote add upstream https://github.com/godaddy/ans-sdk-go.git
68+
> git remote add upstream https://github.com/agentnameservice/ans-sdk-go.git
6969
> git fetch upstream
7070
> git branch --set-upstream-to=upstream/main main
7171
> ```
@@ -140,6 +140,6 @@ guide with respect to patterns, naming, documentation and testing.
140140
- [General GitHub Documentation](https://help.github.com/)
141141
- [GitHub Pull Request documentation](https://help.github.com/send-pull-requests/)
142142
143-
[issues]: https://github.com/godaddy/ans-sdk-go/issues
143+
[issues]: https://github.com/agentnameservice/ans-sdk-go/issues
144144
[coc]: ./CODE_OF_CONDUCT.md
145145
[fork]: https://help.github.com/en/articles/fork-a-repo

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A command-line tool and Go SDK for the Agent Name Service (ANS) Registry Authority and Transparency Log.
44

55
- **`ans-cli`** ([cmd/ans-cli](cmd/ans-cli)) — the fastest way to register, verify, and manage agents from a terminal. Most users start here.
6-
- **Go SDK** (`github.com/godaddy/ans-sdk-go/ans`) — the library the CLI is built on. Embed it in Go services that need to register agents programmatically, verify agent badges, or query the Transparency Log.
6+
- **Go SDK** (`github.com/agentnameservice/ans-sdk-go/ans`) — the library the CLI is built on. Embed it in Go services that need to register agents programmatically, verify agent badges, or query the Transparency Log.
77

88
## API Specification Reference
99

@@ -19,12 +19,12 @@ Top two options shown; see [cmd/ans-cli/README.md#installation](cmd/ans-cli/READ
1919

2020
```bash
2121
# macOS / Linux
22-
brew install godaddy/ans/ans-cli
22+
brew install agentnameservice/ans/ans-cli
2323
```
2424

2525
```powershell
2626
# Windows (PowerShell)
27-
scoop bucket add ans https://github.com/godaddy/scoop-ans
27+
scoop bucket add ans https://github.com/agentnameservice/scoop-ans
2828
scoop install ans/ans-cli
2929
```
3030

@@ -90,7 +90,7 @@ For full per-command flag references and additional workflows, see [cmd/ans-cli/
9090
## SDK Installation
9191

9292
```bash
93-
go get github.com/godaddy/ans-sdk-go
93+
go get github.com/agentnameservice/ans-sdk-go
9494
```
9595

9696
## SDK Quick Start
@@ -105,8 +105,8 @@ import (
105105
"fmt"
106106
"log"
107107

108-
"github.com/godaddy/ans-sdk-go/ans"
109-
"github.com/godaddy/ans-sdk-go/models"
108+
"github.com/agentnameservice/ans-sdk-go/ans"
109+
"github.com/agentnameservice/ans-sdk-go/models"
110110
)
111111

112112
func main() {
@@ -174,7 +174,7 @@ import (
174174
"fmt"
175175
"log"
176176

177-
"github.com/godaddy/ans-sdk-go/ans"
177+
"github.com/agentnameservice/ans-sdk-go/ans"
178178
)
179179

180180
func main() {
@@ -429,7 +429,7 @@ import (
429429
"context"
430430
"time"
431431

432-
"github.com/godaddy/ans-sdk-go/ans"
432+
"github.com/agentnameservice/ans-sdk-go/ans"
433433
)
434434

435435
// Create agent client with badge verification
@@ -467,7 +467,7 @@ resp, err = agentClient.GetJSON(ctx, "https://other-agent.example.com/api/data",
467467
The `keygen` package provides utilities for key generation:
468468

469469
```go
470-
import "github.com/godaddy/ans-sdk-go/keygen"
470+
import "github.com/agentnameservice/ans-sdk-go/keygen"
471471

472472
// Generate RSA key pair
473473
keyPair, err := keygen.GenerateRSAKeyPairWithPEM(2048, nil)
@@ -493,7 +493,7 @@ API errors are returned as `*models.ResponseError`, which provides the HTTP stat
493493
import (
494494
"errors"
495495
"net/http"
496-
"github.com/godaddy/ans-sdk-go/models"
496+
"github.com/agentnameservice/ans-sdk-go/models"
497497
)
498498

499499
result, err := client.GetAgentDetails(ctx, agentID)

ans/agent_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"net/url"
1212
"time"
1313

14-
"github.com/godaddy/ans-sdk-go/verify"
14+
"github.com/agentnameservice/ans-sdk-go/verify"
1515
)
1616

1717
// AgentClient is an HTTP client that verifies ANS agent certificates before requests.

ans/agent_client_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/godaddy/ans-sdk-go/models"
14-
"github.com/godaddy/ans-sdk-go/verify"
13+
"github.com/agentnameservice/ans-sdk-go/models"
14+
"github.com/agentnameservice/ans-sdk-go/verify"
1515
)
1616

1717
func TestNewAgentClient(t *testing.T) {

ans/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"net/url"
1010
"strconv"
1111

12-
"github.com/godaddy/ans-sdk-go/internal/httputility"
13-
"github.com/godaddy/ans-sdk-go/models"
12+
"github.com/agentnameservice/ans-sdk-go/internal/httputility"
13+
"github.com/agentnameservice/ans-sdk-go/models"
1414
)
1515

1616
// Client represents an ANS Registry Authority API client

ans/client_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"testing"
1010
"time"
1111

12-
"github.com/godaddy/ans-sdk-go/models"
12+
"github.com/agentnameservice/ans-sdk-go/models"
1313
)
1414

1515
func TestNewClient(t *testing.T) {

ans/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"net/http"
66
"time"
77

8-
"github.com/godaddy/ans-sdk-go/models"
8+
"github.com/agentnameservice/ans-sdk-go/models"
99
)
1010

1111
const (

0 commit comments

Comments
 (0)