atagtm
f7ee9c8a0c
feat(os): add FreeBSD support
...
Signed-off-by: atagtm <donisos1146@gmail.com>
2025-07-11 10:44:45 +02:00
mountdisk
b046a5ef72
chore: fix some minor issues in the comments
...
Signed-off-by: mountdisk <mountdisk@icloud.com>
2025-07-02 07:31:00 +02:00
Nicolas De Loof
6fa173124a
(reactoring) avoid a global variable by introducing logConsumer decorator
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-07-01 12:29:05 +02:00
Jeff Carter
0f9e6ab832
Fix the generated manifest for compose artifacts so that the empty config is not added as a layer.
...
Signed-off-by: Jeff Carter <jeff.carter@docker.com>
2025-06-11 16:51:51 +02:00
tongjicoder
2e71440bee
refactor: use slices.Contains to simplify code
...
Signed-off-by: tongjicoder <tongjicoder@icloud.com>
2025-05-27 11:45:26 +02:00
Guillaume Lours
f5491328bb
remove support of Synchronize File Shares integration with Docker Desktop
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-04-22 15:29:23 +02:00
Sebastiaan van Stijn
13cd780f30
migrate to use github.com/moby/go-archive
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-04-17 13:28:49 +02:00
Adel Sevastianov
846161d447
Fix linting issue with resp.Body.Close()
...
Signed-off-by: Adel Sevastianov <102406080+Saracomethstein@users.noreply.github.com>
2025-04-09 15:25:53 +02:00
Adel Sevastianov
0bcc629fbe
refactor: improve Desktop client structure
...
Signed-off-by: Adel Sevastianov <102406080+Saracomethstein@users.noreply.github.com>
2025-04-09 15:25:53 +02:00
Sebastiaan van Stijn
cf2fc2005c
go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1
...
full diff:
- https://github.com/docker/docker/compare/v27.5.1...v28.0.0
- https://github.com/docker/cli/compare/v27.5.1...v28.0.0
- https://github.com/docker/buildx/compare/v0.20.1...v0.21.1
Co-authored-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-02-21 15:23:25 +01:00
Guillaume Lours
840288895e
add --with-env flag to publish command
...
this flag allow publishing env variables in the Compose OCI artifact
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-01-29 15:45:00 +01:00
Nicolas De Loof
25cfa66a91
bump buildx v0.20.1 and docker v27.5.0
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-23 09:13:37 +01:00
Nicolas De Loof
ed10804e0f
manage watch
applied to mulitple services
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-22 12:05:58 +01:00
Sebastiaan van Stijn
446e00520c
format code with gofumpt
...
Format the code with gofumpt to prevent my IDE from reformatting
every time I open a file. gofumpt provides a superset of gofmt,
so should not impact users that are not using gofumpt.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-12-17 16:50:14 +01:00
Guillaume Lours
3f5898f8d0
push empty descriptor layer when using OCI version 1.1 for Compose artifact
...
it fixes a repository creation issue when pushing the 1st time a Compose OCI artifact on the Hub
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-11-13 13:36:31 +01:00
Guillaume Lours
a000978980
remove ArtifactType from Config in OCI v1.1 definition of the artifact
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-11-05 15:10:56 +01:00
Guillaume Lours
517f87a372
bump google.golang.org/grpc to v1.67.1
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-10-29 12:07:34 +01:00
Guillaume Lours
26064d4b60
allow usage of -f flag with oci Compose artifact
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-10-25 17:36:04 +02:00
David Scott
38e3d670a9
desktop: allow this client to be identified via user-agent
...
Previously the HTTP requests were sent with a generic Go-http-client
user-agent which made it hard to determine where the requests are
coming from. It's important that we can find clients so that they
can be updated if APIs change in future.
Signed-off-by: David Scott <dave@recoil.org>
2024-10-15 13:59:49 +02:00
Joana Hrotko
407d825705
Remove feature flag integration with Docker Desktop for ComposeUI and ComposeNav
...
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
2024-10-07 20:08:12 +02:00
Suleiman Dibirov
d9df7aab6e
fix(push): Fix unexpected EOF on alpha publish
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
2024-09-30 10:38:18 +02:00
Alexandr Hacicheant
16652ed26a
Fixed possible nil
pointer dereference
...
Signed-off-by: Alexandr Hacicheant <a.hacicheant@gmail.com>
2024-09-13 22:10:35 +02:00
Guillaume Lours
24a281fa5d
bump buildkit to v0.14.0 and buildx to v0.15.0
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-06-18 10:52:41 +02:00
Nicolas De Loof
1adc4cb16f
drop COMPOSE_EXPERIMENTAL_OTEL as docker/cli has opentelemetry in
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-05-24 10:27:23 +02:00
Guillaume Lours
2ed40e8042
add gui/composeview as part of available commands
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-05-23 19:19:59 +02:00
Nicolas De Loof
7ad73c2899
fix opentelemetry
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-05-23 15:58:24 +02:00
Kirill A. Korinsky
fb25e88a03
Backport OpenBSD patches
...
Here a trivial patch whcih I've used inside OpenBSD port to build it
Signed-off-by: Kirill A. Korinsky <kirill@korins.ky>
2024-05-22 11:35:37 +02:00
Guillaume Lours
3635303372
add new navigation menu to open Compose app configuration in Docker Desktop
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-05-22 11:34:10 +02:00
Milas Bowman
fd532a37e7
fix(desktop): remove overly-aggressive feature flag check ( #11748 )
2024-04-19 16:06:57 -04:00
Nicolas De Loof
b3792dd258
progress for resource can be restarted after more Working event comes
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-04-15 22:05:46 +02:00
Milas Bowman
3371227794
chore(desktop): revised feature detection for file shares
...
Unfortunately, the feature flag mechanism for experimental features
isn't adequate. To avoid some edge cases where Compose might try to
use Synchronized file shares with Desktop when the feature isn't
available, we need to query a new endpoint.
Before we move any of this out of experimental, we need to improve
the integration here with Desktop & Compose so that we get all the
necessary feature/experiment state up-front to reduce the quantity
of IPC calls needed up-front.
For now, there's some intentional redundancy to avoid making this
extra call if we can avoid it. The actual endpoint is very cheap/
fast, but every IPC call is a potential point of of failure, so
it's worth it.
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2024-03-22 18:16:27 +01:00
Joana Hrotko
e9dc82011f
Add Navigation Menu to compose up
...
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
2024-03-22 17:48:25 +01:00
Nicolas De Loof
3b541b071c
Bump docker v26.0.0
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-03-22 14:33:56 +01:00
Milas Bowman
db4ed89528
feat(desktop): synchronized file share integration ( #11614 )
2024-03-20 14:41:24 -04:00
Milas Bowman
1b5fa3b93f
feat(experiments): add experimental feature state ( #11633 )
...
Use environment variable for global opt-out and Docker Desktop (if
available) to determine specific experiment states.
In the future, we'll allow per-feature opt-in/opt-out via env vars
as well, but currently there is a single `COMPOSE_EXPERIMENTAL` env
var that can be used to opt-out of all experimental features
independently of Docker Desktop configuration.
2024-03-20 13:44:27 +00:00
Guillaume Lours
4f97edf355
reduce timeout of the Otel tracing command
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-03-18 08:40:36 +01:00
Milas Bowman
17d4229e57
feat(desktop): add Docker Desktop detection and client skeleton ( #11593 )
2024-03-12 09:47:41 -04:00
Guillaume Lours
9b0d1ffcf8
Add a fallback check of Watch pid on Windows
...
False positives were detected when checking the previous watch process state
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-02-19 15:01:38 +01:00
Nicolas De Loof
0aad322140
use listeners to collect include metrics
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-02-15 11:20:09 +01:00
Guillaume Lours
a220043ca0
Merge pull request #11497 from milas/rm-docker-cp-syncer
...
chore(watch): remove old `docker cp` implementation
2024-02-14 21:26:05 +01:00
jhrotko
16c8099cf8
Use listener for file metadata
...
Signed-off-by: jhrotko <joana.hrotko@docker.com>
2024-02-14 16:51:56 +00:00
Milas Bowman
d203402998
chore(watch): remove old docker cp
implementation
...
This has not been the default for quite a while and required
setting an environment variable to revert back.
The tar implementation is more performant and addresses several
edge cases with the original `docker cp` version, so it's time
to fully retire it.
The scaffolding for multiple sync implementations remains to
support future experimentation here.
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2024-02-13 12:56:53 -05:00
jhrotko
2eca9313c2
Add OTEL specs: build, depends_on, capabilities (gpu/tpu)
...
Signed-off-by: jhrotko <joana.hrotko@docker.com>
2024-02-09 10:55:07 +00:00
Milas Bowman
acf2ffb0c7
feat(tracing): add project hash attr
...
Hash the project config and add it as an attribute. This can be
used to group multiple spans.
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2024-02-08 15:47:25 +01:00
Milas Bowman
d688d3bf22
fix(tracing): batch span exports to prevent blocking
...
This was a bad configuration (my fault) that meant each span was
exported synchronously, as it ended. That can cause weird behavior
such as stuttering/blocking.
There's really no reason to NOT use the batch processor, it's the
recommended way to configure it. In the future, it might make sense
to tune the intervals based on the fact that Compose is a CLI vs
a long-running server app, but we handle flushing out on exit
already, so it's not a huge deal.
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2024-01-17 21:17:16 +01:00
Nicolas De Loof
575f2ed7f2
watch: remove requirements for tar binary and for sync target to be rw
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-01-09 15:43:34 +01:00
Laura Brehm
7781b7c992
deps: update docker/cli to fix go version selection issue
...
see: 70216b662d
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2023-12-19 14:15:16 +00:00
Nicolas De Loof
26aca867d8
avoid use of service.Name when iterating on project.Services
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2023-12-05 18:54:31 +01:00
Nicolas De Loof
138facea62
project.Services is a map
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2023-12-05 18:54:31 +01:00
Nicolas De Loof
cda04f288e
adopt compose-go/v2
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2023-12-05 18:54:31 +01:00