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

Merge config files hierarchically and add support for config profiles #3337

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

kzantow
Copy link
Contributor

@kzantow kzantow commented Oct 15, 2024

Description

This PR introduces changes to the configuration loading to support hierarchical configuration (loading local .syft.yaml, and a global ~/.syft.yaml, for examplpe), support for multiple configuration files (using multiple -c flags, etc.), and configuration profiles.

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have added unit tests that cover changed behavior
  • I have tested my code in common scenarios and confirmed there are no regressions
  • I have added comments to my code, particularly in hard-to-understand sections

@wagoodman wagoodman added the enhancement New feature or request label Oct 21, 2024
@kzantow kzantow merged commit 759b898 into anchore:main Oct 23, 2024
12 checks passed
@kzantow kzantow deleted the feat/multilevel-configuration branch October 23, 2024 16:16
@willmurphyscode willmurphyscode changed the title feat: multi-level configuration and profiles Merge config files hierarchically and add support for config profiles Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants