Skip to content

use official develop section to configure watch command#11026

Merged
milas merged 1 commit intodocker:mainfrom
ndeloof:develop
Sep 20, 2023
Merged

use official develop section to configure watch command#11026
milas merged 1 commit intodocker:mainfrom
ndeloof:develop

Conversation

@ndeloof
Copy link
Copy Markdown
Contributor

@ndeloof ndeloof commented Sep 20, 2023

What I did
use compose-spec/compose-go#461 to configure watch command with develop`` user is warned about deprecated x-develop` field. A future Docker Compose release will drop support for this

Related issue

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

https://docker.atlassian.net/browse/ENV-315

@ndeloof ndeloof requested review from a team, StefanScherer, glours, laurazard, milas, nicksieger and ulyssessouza and removed request for a team September 20, 2023 07:55
@glours
Copy link
Copy Markdown
Contributor

glours commented Sep 20, 2023

You also need to update pkg/compose/watch_test.go with the new types from compose-go

@ndeloof ndeloof force-pushed the develop branch 2 times, most recently from 1cf4d0d to 0cd5d23 Compare September 20, 2023 09:56
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 20, 2023

Codecov Report

Patch coverage: 36.36% and project coverage change: -0.09% ⚠️

Comparison is base (d322ad9) 57.88% compared to head (807901a) 57.79%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11026      +/-   ##
==========================================
- Coverage   57.88%   57.79%   -0.09%     
==========================================
  Files         129      129              
  Lines       11121    11125       +4     
==========================================
- Hits         6437     6430       -7     
- Misses       4049     4058       +9     
- Partials      635      637       +2     
Files Changed Coverage Δ
pkg/compose/watch.go 36.47% <36.36%> (-0.44%) ⬇️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ndeloof ndeloof requested a review from a team September 20, 2023 14:31
@ndeloof ndeloof marked this pull request as ready for review September 20, 2023 15:24
@ndeloof ndeloof removed the request for review from a team September 20, 2023 15:24
Copy link
Copy Markdown
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Contributor

@milas milas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Also tested with include + watch and it works as expected now 🙌🏻

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.

3 participants