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

Improve Errors and Update Readme #16

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

debasishbsws
Copy link
Member

  • Refactored the error handling to use fmt.Errorf instead of log.Println and os.Exit. This allows to return errors from the RunE function, which is a more idiomatic approach in Cobra applications.

  • I've updated the README to reflect the changes in how the --packages and --replaces works now.

@debasishbsws
Copy link
Member Author

debasishbsws commented Jan 17, 2024

I am signing the commits using gitsign following https://docs.sigstore.dev/signing/gitsign/
Why the cert are not getting verified? Is there anything I should look on?

@debasishbsws
Copy link
Member Author

Is it because of


And I need to have chainguard.dev email account that matches with the regex?
chainguard-enforce docs is not clear.
/cc @hectorj2f

@hectorj2f hectorj2f merged commit f98e8e9 into chainguard-dev:main Jan 17, 2024
4 of 5 checks passed
@hectorj2f
Copy link
Member

thanks @debasishbsws! I merged your PR.

@debasishbsws debasishbsws deleted the Readme-update branch January 17, 2024 13:55
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.

2 participants