Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: docker-archive/compose-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a0eabb3
Choose a base ref
...
head repository: docker-archive/compose-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6b231d6
Choose a head ref
  • 9 commits
  • 6 files changed
  • 2 contributors

Commits on Jun 6, 2023

  1. 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]>
    eunomie committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    635db3c View commit details
    Browse the repository at this point in the history
  2. ref: get pulled image

    Signed-off-by: Yves Brissaud <[email protected]>
    eunomie committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    62c2e00 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. 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]>
    eunomie committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    90058ec View commit details
    Browse the repository at this point in the history
  2. 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]>
    eunomie committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1ceb12a View commit details
    Browse the repository at this point in the history
  3. fix: ignore short flags too when finding pulled image

    Signed-off-by: Yves Brissaud <[email protected]>
    eunomie committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    fac770a View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. ref: use plugins part of config file

    To 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]>
    eunomie committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8371dab View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. chore: fix header dates

    Signed-off-by: Yves Brissaud <[email protected]>
    eunomie committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    9a34334 View commit details
    Browse the repository at this point in the history
  2. 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]>
    eunomie committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    eb0c44c View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Merge pull request #2252 from eunomie/docker-scout-cli-hints

    feat: display docker scout hints on build and pull
    glours authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    6b231d6 View commit details
    Browse the repository at this point in the history
Loading