-
Notifications
You must be signed in to change notification settings - Fork 253
Comparing changes
Open a pull request
base repository: docker-archive/compose-cli
base: a0eabb3
head repository: docker-archive/compose-cli
compare: 6b231d6
- 9 commits
- 6 files changed
- 2 contributors
Commits on Jun 6, 2023
-
feat: display docker scout hints on build and pull
On `docker build` and `docker pull` commands, display a hint to `docker scout quickview`. Hints are disabled if quiet flag is used or if `DOCKER_SCOUT_HINTS` environment variable is set to a false (according to Go) value: `0`, `f`, `F`, `false`, `FALSE`, `False` In case of a `docker build` the `docker scout quickview` command doesn't need an argument as it will take the most recently built image by default. In case of a `docker pull` the pulled image is extracted from the command arguments. Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 635db3c - Browse repository at this point
Copy the full SHA 635db3cView commit details -
Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62c2e00 - Browse repository at this point
Copy the full SHA 62c2e00View commit details
Commits on Jun 12, 2023
-
ref: suggest management and check needed flags
only display the hints in main case, without progress, output or push flags Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 90058ec - Browse repository at this point
Copy the full SHA 90058ecView commit details -
chore: manage CLI Hints enable/disable behaviour
- cliHints entry in config.json - if not present, enabled by default - can be overridden by the DOCKER_CLI_HINTS environment variable Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1ceb12a - Browse repository at this point
Copy the full SHA 1ceb12aView commit details -
fix: ignore short flags too when finding pulled image
Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fac770a - Browse repository at this point
Copy the full SHA fac770aView commit details
Commits on Jun 13, 2023
-
ref: use
plugins
part of config fileTo avoid any conflict with the CLI, use the `plugins` section of the config. This section is read and saved by the CLI without the risk to remove the value in there. So it's a safe way to deal with this feature. As it's a cross plugin configuration (now for scout but goal is wider than that) then put it under a generic `-x-cli-hints` name so that other plugins might use it if needed. Value can be true/false, but is parsed against these exact two values instead of using the ParseBool. Both the environment variable and the config value are parsed the same way. Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8371dab - Browse repository at this point
Copy the full SHA 8371dabView commit details
Commits on Jun 15, 2023
-
Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a34334 - Browse repository at this point
Copy the full SHA 9a34334View commit details -
chore: handle BUILDKIT_PROGRESS to disable hints
the same way we check --progress flag, if it exists, disable Signed-off-by: Yves Brissaud <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb0c44c - Browse repository at this point
Copy the full SHA eb0c44cView commit details
Commits on Jun 21, 2023
-
Merge pull request #2252 from eunomie/docker-scout-cli-hints
feat: display docker scout hints on build and pull
Configuration menu - View commit details
-
Copy full SHA for 6b231d6 - Browse repository at this point
Copy the full SHA 6b231d6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff a0eabb3...6b231d6