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

Use OS default config dirs + minor fixes #357

Merged
merged 4 commits into from
Jan 10, 2024
Merged

Use OS default config dirs + minor fixes #357

merged 4 commits into from
Jan 10, 2024

Conversation

spiarh
Copy link
Contributor

@spiarh spiarh commented Jan 2, 2024

  • Please check if the PR fulfills these requirements
  • The commit message follows the conventional commits guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

@spiarh spiarh force-pushed the spiarh_minor_fixes branch 5 times, most recently from 76df696 to 7c28525 Compare January 5, 2024 09:25
@spiarh spiarh marked this pull request as ready for review January 5, 2024 09:55
@spiarh spiarh requested review from a team as code owners January 5, 2024 09:55
@prit342 prit342 assigned prit342 and unassigned prit342 Jan 5, 2024
Copy link
Contributor

@ricfeatherstone ricfeatherstone left a comment

Choose a reason for hiding this comment

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

We need to discuss markdown auto formatting

- [//]: # (TODO document commands)
+ [//]: # "TODO document commands"

- |----------|-----------------------------------------------------------------------------------------------------------------|
+ | --------- | --------------------------------------------------------------------------------------------------------------- 

internal/cli/config.go Show resolved Hide resolved
internal/logging/factory.go Outdated Show resolved Hide resolved
Copy link
Contributor

@ricfeatherstone ricfeatherstone left a comment

Choose a reason for hiding this comment

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

LGTM

spiarh and others added 4 commits January 10, 2024 10:01
feat: use XDG_CONFIG_HOME for linux
style: improve readability
feat: ensure bucket name is configured
fix: ensure defer is always executed
style: specify which variable we are looking for for aws region
fix: set default log level to Info
docs: remove for loop when building AMIs
fix: use multi-arch image digests
style: use same var name for amiBuilder in container/simulator cmd
fix: remove unnecessary error wrapping
fix: specify ansible config path explicitly with ANSIBLE_CONFIG
refactor: use MkdirAll instead of Stat+Mkdir
feat: add config print-dir flag for conveniency

Signed-off-by: ludo <controlplane@spiarh.fr>
Signed-off-by: ludo <controlplane@spiarh.fr>
Signed-off-by: ludo <controlplane@spiarh.fr>
@spiarh spiarh merged commit 7b0258b into main Jan 10, 2024
5 checks passed
@ricfeatherstone ricfeatherstone deleted the spiarh_minor_fixes branch January 10, 2024 09:25
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