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

Git data fallbacks #1587

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Git data fallbacks #1587

merged 2 commits into from
Oct 22, 2024

Conversation

luhring
Copy link
Contributor

@luhring luhring commented Oct 22, 2024

This improves Melange builds + SBOM generation in two ways:

  1. Use the directory containing the build config for the git auto-detection.
  2. When auto-detection doesn't completely work, fallback to filler values ("unknown"). In a future PR, we might introduce some sort of "strict" flag that get Melange to fail if the correct (non-fallback) values aren't all available.

Instead of the CWD of the melange process.

Signed-off-by: Dan Luhring <[email protected]>
imjasonh
imjasonh previously approved these changes Oct 22, 2024
@imjasonh imjasonh merged commit ef5f488 into chainguard-dev:main Oct 22, 2024
36 checks passed
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