Skip to content

go.mod: bump github.com/docker/docker, docker/ci v28.5.0-dev#13093

Closed
thaJeztah wants to merge 1 commit intodocker:mainfrom
thaJeztah:use_transitional
Closed

go.mod: bump github.com/docker/docker, docker/ci v28.5.0-dev#13093
thaJeztah wants to merge 1 commit intodocker:mainfrom
thaJeztah:use_transitional

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Jul 24, 2025

Testing the transitional "v28.5" release, which updates the v28.x
version to migrate to the new moby/api and moby/client modules.

testing;

in this variant, buildx has not been updated, and no local changes were made to either compose or buildx. Without this transitional package, compose fails to build if other dependencies (buildx in this case) have not transitioned to the new modules;

go mod tidy
go: downloading github.com/docker/buildx v0.26.1
go: finding module for package github.com/docker/docker/api/types/image
go: finding module for package github.com/docker/docker/client
go: finding module for package github.com/docker/docker/api/types/mount
go: finding module for package github.com/docker/docker/api/types/container
go: finding module for package github.com/docker/docker/api/types/network
go: finding module for package github.com/docker/docker/api/types/system
go: downloading github.com/docker/docker/api v0.0.0-20250724011546-fcb916ad1731
go: downloading github.com/docker/docker/client v0.0.0-20250724011546-fcb916ad1731
go: found github.com/docker/docker/api/types/image in github.com/docker/docker/api v0.0.0-20250724011546-fcb916ad1731
go: found github.com/docker/docker/client in github.com/docker/docker/client v0.0.0-20250724011546-fcb916ad1731
go: found github.com/docker/docker/api/types/container in github.com/docker/docker/api v0.0.0-20250724011546-fcb916ad1731
go: found github.com/docker/docker/api/types/mount in github.com/docker/docker/api v0.0.0-20250724011546-fcb916ad1731
go: found github.com/docker/docker/api/types/network in github.com/docker/docker/api v0.0.0-20250724011546-fcb916ad1731
go: found github.com/docker/docker/api/types/system in github.com/docker/docker/api v0.0.0-20250724011546-fcb916ad1731
go: github.com/docker/compose/v2/pkg/compose imports
        github.com/docker/buildx/build imports
        github.com/docker/docker/api/types/image: github.com/docker/docker/api@v0.0.0-20250724011546-fcb916ad1731: parsing go.mod:
        module declares its path as: github.com/moby/moby/api
                but was required as: github.com/docker/docker/api

This variant aliases the old API package to the new module, so the API package only contains aliases (except for some things that should be pinned);

tree vendor/github.com/docker/docker/api
vendor/github.com/docker/docker/api
├── README.md
├── common.go
├── swagger-gen.yaml
├── swagger.yaml
└── types
    ├── aliases.go
    ├── auxprogress
    │   └── aliases.go
    ├── blkiodev
    │   └── aliases.go
    ├── build
    │   └── aliases.go
    ├── checkpoint
    │   └── aliases.go
    ├── common
    │   └── aliases.go
    ├── container
    │   └── aliases.go
    ├── events
    │   └── aliases.go
    ├── filters
    │   └── aliases.go
    ├── image
    │   └── aliases.go
    ├── mount
    │   └── aliases.go
    ├── network
    │   └── aliases.go
    ├── registry
    │   └── aliases.go
    ├── swarm
    │   └── aliases.go
    ├── system
    │   └── aliases.go
    ├── time
    │   └── aliases.go
    ├── types_deprecated.go
    ├── versions
    │   └── aliases.go
    └── volume
        └── aliases.go

Under the hood, it's already using the new module (github.com/moby/moby/api);

tree -d vendor/github.com/moby/moby/api
vendor/github.com/moby/moby/api
├── stdcopy
└── types
    ├── auxprogress
    ├── blkiodev
    ├── build
    ├── checkpoint
    ├── common
    ├── container
    ├── events
    ├── filters
    ├── image
    ├── mount
    ├── network
    ├── registry
    ├── storage
    ├── strslice
    ├── swarm
    │   └── runtime
    ├── system
    ├── time
    ├── versions
    └── volume

(I'm using vendoring purely to show / illustrate what's used)

What I did

Related issue

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@thaJeztah thaJeztah force-pushed the use_transitional branch 2 times, most recently from 3a677c9 to 8732a2c Compare July 31, 2025 09:31
@thaJeztah thaJeztah changed the title testing transitional 28.x release with modules go.mod: bump github.com/docker/docker, docker/ci v28.4.0-dev Jul 31, 2025
@thaJeztah thaJeztah force-pushed the use_transitional branch 2 times, most recently from 7b36de6 to 1d92b9e Compare July 31, 2025 15:57
@thaJeztah thaJeztah changed the title go.mod: bump github.com/docker/docker, docker/ci v28.4.0-dev go.mod: bump github.com/docker/docker, docker/ci v28.5.0-dev Aug 20, 2025
@thaJeztah thaJeztah force-pushed the use_transitional branch 5 times, most recently from 3277735 to 97ac679 Compare September 1, 2025 11:31
Testing the transitional "v28.5" release, which updates the v28.x
version to migrate to the new moby/api and moby/client modules.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants