Skip to content

Commit 78c0a3c

Browse files
authored
Merge pull request #2000 from dgageot/rename-package
Remove package to github.com/docker/docker-agent
2 parents bbb76a4 + cb001a2 commit 78c0a3c

400 files changed

Lines changed: 1532 additions & 1532 deletions

File tree

Some content is hidden

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

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ linters:
8080
files:
8181
- "**/*.go"
8282
deny:
83-
- pkg: github.com/docker/cagent/internal
83+
- pkg: github.com/docker/docker-agent/internal
8484
desc: don't use /internal/ from /pkg/
8585
old_yaml:
8686
files:
@@ -141,7 +141,7 @@ formatters:
141141
sections:
142142
- standard
143143
- default
144-
- prefix(github.com/docker/cagent)
144+
- prefix(github.com/docker/docker-agent)
145145
gofmt:
146146
rewrite-rules:
147147
- pattern: 'interface{}'

CHANGELOG.md

Lines changed: 201 additions & 201 deletions
Large diffs are not rendered by default.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN --mount=type=bind,from=osxcross,src=/osxsdk,target=/xx-sdk \
3636
if [ "$TARGETOS" != "darwin" ]; then
3737
export XX_GO_PREFER_C_COMPILER=zig
3838
fi
39-
xx-go build -trimpath -tags no_audio -ldflags "-s -w -linkmode=external -X 'github.com/docker/cagent/pkg/version.Version=$GIT_TAG' -X 'github.com/docker/cagent/pkg/version.Commit=$GIT_COMMIT'" -o /binaries/docker-agent-$TARGETOS-$TARGETARCH .
39+
xx-go build -trimpath -tags no_audio -ldflags "-s -w -linkmode=external -X 'github.com/docker/docker-agent/pkg/version.Version=$GIT_TAG' -X 'github.com/docker/docker-agent/pkg/version.Commit=$GIT_COMMIT'" -o /binaries/docker-agent-$TARGETOS-$TARGETARCH .
4040
xx-verify --static /binaries/docker-agent-$TARGETOS-$TARGETARCH
4141
if [ "$TARGETOS" = "windows" ]; then
4242
mv /binaries/docker-agent-$TARGETOS-$TARGETARCH /binaries/docker-agent-$TARGETOS-$TARGETARCH.exe

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ vars:
1010
sh: git rev-parse HEAD
1111
GO_SOURCES: "**/*.go"
1212
BUILD_ARGS: '--build-arg GIT_TAG="{{.GIT_TAG}}" --build-arg GIT_COMMIT="{{.GIT_COMMIT}}"'
13-
LDFLAGS: '-X "github.com/docker/cagent/pkg/version.Version={{.GIT_TAG}}" -X "github.com/docker/cagent/pkg/version.Commit={{.GIT_COMMIT}}"'
13+
LDFLAGS: '-X "github.com/docker/docker-agent/pkg/version.Version={{.GIT_TAG}}" -X "github.com/docker/docker-agent/pkg/version.Commit={{.GIT_COMMIT}}"'
1414

1515
tasks:
1616
default:

cmd/root/a2a.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package root
33
import (
44
"github.com/spf13/cobra"
55

6-
"github.com/docker/cagent/pkg/a2a"
7-
"github.com/docker/cagent/pkg/cli"
8-
"github.com/docker/cagent/pkg/config"
9-
"github.com/docker/cagent/pkg/telemetry"
6+
"github.com/docker/docker-agent/pkg/a2a"
7+
"github.com/docker/docker-agent/pkg/cli"
8+
"github.com/docker/docker-agent/pkg/config"
9+
"github.com/docker/docker-agent/pkg/telemetry"
1010
)
1111

1212
type a2aFlags struct {

cmd/root/acp.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55

66
"github.com/spf13/cobra"
77

8-
"github.com/docker/cagent/pkg/acp"
9-
"github.com/docker/cagent/pkg/config"
10-
"github.com/docker/cagent/pkg/paths"
11-
"github.com/docker/cagent/pkg/telemetry"
8+
"github.com/docker/docker-agent/pkg/acp"
9+
"github.com/docker/docker-agent/pkg/config"
10+
"github.com/docker/docker-agent/pkg/paths"
11+
"github.com/docker/docker-agent/pkg/telemetry"
1212
)
1313

1414
type acpFlags struct {

cmd/root/alias.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"github.com/mattn/go-runewidth"
1010
"github.com/spf13/cobra"
1111

12-
"github.com/docker/cagent/pkg/cli"
13-
"github.com/docker/cagent/pkg/config"
14-
"github.com/docker/cagent/pkg/paths"
15-
"github.com/docker/cagent/pkg/telemetry"
16-
"github.com/docker/cagent/pkg/userconfig"
12+
"github.com/docker/docker-agent/pkg/cli"
13+
"github.com/docker/docker-agent/pkg/config"
14+
"github.com/docker/docker-agent/pkg/paths"
15+
"github.com/docker/docker-agent/pkg/telemetry"
16+
"github.com/docker/docker-agent/pkg/userconfig"
1717
)
1818

1919
func newAliasCmd() *cobra.Command {

cmd/root/api.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88

99
"github.com/spf13/cobra"
1010

11-
"github.com/docker/cagent/pkg/cli"
12-
"github.com/docker/cagent/pkg/config"
13-
"github.com/docker/cagent/pkg/server"
14-
"github.com/docker/cagent/pkg/session"
15-
"github.com/docker/cagent/pkg/telemetry"
11+
"github.com/docker/docker-agent/pkg/cli"
12+
"github.com/docker/docker-agent/pkg/config"
13+
"github.com/docker/docker-agent/pkg/server"
14+
"github.com/docker/docker-agent/pkg/session"
15+
"github.com/docker/docker-agent/pkg/telemetry"
1616
)
1717

1818
type apiFlags struct {

cmd/root/completion.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
"github.com/spf13/cobra"
1010

11-
"github.com/docker/cagent/pkg/config"
12-
"github.com/docker/cagent/pkg/userconfig"
11+
"github.com/docker/docker-agent/pkg/config"
12+
"github.com/docker/docker-agent/pkg/userconfig"
1313
)
1414

1515
func completeRunExec(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {

cmd/root/debug.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import (
88
"github.com/goccy/go-yaml"
99
"github.com/spf13/cobra"
1010

11-
"github.com/docker/cagent/pkg/cli"
12-
"github.com/docker/cagent/pkg/config"
13-
"github.com/docker/cagent/pkg/sessiontitle"
14-
"github.com/docker/cagent/pkg/team"
15-
"github.com/docker/cagent/pkg/teamloader"
16-
"github.com/docker/cagent/pkg/telemetry"
11+
"github.com/docker/docker-agent/pkg/cli"
12+
"github.com/docker/docker-agent/pkg/config"
13+
"github.com/docker/docker-agent/pkg/sessiontitle"
14+
"github.com/docker/docker-agent/pkg/team"
15+
"github.com/docker/docker-agent/pkg/teamloader"
16+
"github.com/docker/docker-agent/pkg/telemetry"
1717
)
1818

1919
type debugFlags struct {

0 commit comments

Comments
 (0)