Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate config.yaml as valid config source; Add unit regression for correct config paths #1640

Merged
merged 9 commits into from
Mar 20, 2023

Commits on Mar 2, 2023

  1. Add pwd to config search path iff it contains a config

    Only add the pwd to the config search path if and only if it contains
    a config file that we expect.  This avoids incorrectly finding config
    files that may be specific to applictions other than syft.
    
    fixes: anchore#1634
    
    Signed-off-by: Aidan Delaney <adelaney21@bloomberg.net>
    AidanDelaney committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    51398ab View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. refactor: update to deprecate behavior pre v1.0.0

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    b88f11d View commit details
    Browse the repository at this point in the history
  2. chore: add nolint directive for SA

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    59f9061 View commit details
    Browse the repository at this point in the history
  3. test: add config discovery regressions

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    592deff View commit details
    Browse the repository at this point in the history
  4. test: add unit test cases for config coverage

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    2b0b596 View commit details
    Browse the repository at this point in the history
  5. chore: refactor tests to account for XDG path

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    898fc45 View commit details
    Browse the repository at this point in the history
  6. chore: update hidden to full

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    e9025e3 View commit details
    Browse the repository at this point in the history
  7. chore: update scope cli options to map cli default

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    7cf22a2 View commit details
    Browse the repository at this point in the history
  8. chore: restructure so xdg can be in same table

    Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
    spiffcs committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    dc0ce0e View commit details
    Browse the repository at this point in the history