-
Notifications
You must be signed in to change notification settings - Fork 278
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
py3-charset-normalizer/3.4.1 package update #38320
Conversation
octo-sts
bot
commented
Dec 24, 2024
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
Gen AI suggestions to solve the build error: Based on the error log and the melange YAML file, I can identify the issue: • Detected Error: The repository URL appears to be incorrect - "https://github.com/jawah/charset_normalizer.git" • Error Category: Version/Configuration • Failure Point: Git checkout step in the pipeline • Root Cause Analysis: The repository URL is incorrect. The correct repository for charset-normalizer is "https://github.com/Ousret/charset_normalizer.git" • Suggested Fix: pipeline:
- uses: git-checkout
with:
repository: https://github.com/Ousret/charset_normalizer.git
tag: ${{package.version}}
expected-commit: c7197b7b425835dd7abf028f45e6b533060886e3 • Explanation: The current URL points to a non-existent repository (jawah/charset_normalizer). The package is actually maintained by Ousret on GitHub. The build system cannot fetch the source code from an invalid repository URL. • Additional Notes:
• References:
|
Gen AI suggestions to solve the build error: • Detected Error: "Expected commit c7197b7b425835dd7abf028f45e6b533060886e3 for 3.4.1, found ffdf7f5f08beb0ceb92dc0637e97382ba27cecfa" • Error Category: Version/Commit • Failure Point: Git checkout step in the pipeline • Root Cause Analysis: The expected commit hash in the melange YAML doesn't match the actual commit hash for the tag 3.4.1 in the repository. This is likely due to an incorrect commit hash being specified in the configuration. • Suggested Fix: Update the expected-commit hash in the git-checkout step: - uses: git-checkout
with:
repository: https://github.com/jawah/charset_normalizer.git
tag: ${{package.version}}
expected-commit: ffdf7f5f08beb0ceb92dc0637e97382ba27cecfa • Explanation: The build system verifies the commit hash as a security measure to ensure the exact version of code being built. The current configuration expects commit c7197b7... but the tag 3.4.1 actually points to ffdf7f5... Updating the expected-commit to match the actual commit hash for the tag will resolve the verification failure. • Additional Notes:
• References:
|
Signed-off-by: Dentrax <furkan.turkal@chainguard.dev>
Gen AI suggestions to solve the build error: • Detected Error: Repository not found or inaccessible when attempting git checkout from "https://github.com/jawah/charset_normalizer.git" • Error Category: Version/Configuration • Failure Point: git-checkout pipeline step • Root Cause Analysis: The repository URL is incorrect. The actual repository is "Ousret/charset_normalizer" not "jawah/charset_normalizer" • Suggested Fix: pipeline:
- uses: git-checkout
with:
repository: https://github.com/Ousret/charset_normalizer.git
tag: ${{package.version}}
expected-commit: ffdf7f5f08beb0ceb92dc0637e97382ba27cecfa
update:
enabled: true
github:
identifier: Ousret/charset_normalizer • Explanation: The build is failing because it cannot access the specified repository. The charset-normalizer package is maintained by Ousret on GitHub, not jawah. Updating to the correct repository URL will allow the git-checkout step to succeed. • Additional Notes:
• References:
|
Signed-off-by: Dentrax <furkan.turkal@chainguard.dev>