-
Notifications
You must be signed in to change notification settings - Fork 417
ruby3.2-console/1.29.0 package update #33420
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
Conversation
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, the build is failing during the patch application step. Here are the steps to fix this issue:
Here's what you can do to resolve this:
cat packages/ruby3.2-console/patches/*.patch
cd /tmp
git clone https://github.com/socketry/console
cd console
git checkout v1.29.0
# Make your changes to console.gemspec
git diff > new.patch
pipeline:
- uses: git-checkout
- uses: strip
- name: update-gemspec
runs: |
sed -i 's/problematic_line/new_line/' console.gemspec
package:
name: ruby3.2-console
version: 1.29.0
epoch: 0
description: "Ruby console"
# ...
environment:
contents:
packages:
- build-base
- ruby-3.2
- ruby-3.2-dev
- git
- patch
pipeline:
- uses: git-checkout
- uses: patch
with:
patches:
- patches/fix-gemspec.patch # Make sure this path is correctThe key is to either:
Try these steps and rebuild the package. |
|
Gen AI suggestions to solve the build error: Based on the error log, the build is failing during the patch application step. Here are the steps to fix this issue:
cat console.gemspec.rej
pipeline:
- uses: git-checkout
- uses: patch
with:
patches:
- patches/new.patch # Update this path
# Make sure the patch uses unified diff format
# Should start with lines like:
# --- a/console.gemspec
# +++ b/console.gemspec
make MELANGE_EXTRA_OPTS="--create-build-log --cache-dir=.melangecache" REPO="./packages" package/ruby3.2-console -j1If you need more specific help, please share the content of your current patch and the melange YAML file. |
Signed-off-by: Mark McCormick <mark.mccormick@chainguard.dev>
Package ruby3.2-console: Click to expand/collapsePackage ruby3.2-console:
(
"""
# Generated by melange
pkgname = ruby3.2-console
- pkgver = 1.27.0-r2
+ pkgver = 1.29.0-r0
arch = x86_64
- size = 157035
+ size = 160647
origin = ruby3.2-console
pkgdesc = Beautiful logging for Ruby.
url =
- commit = a6fe3dfbbe8c1228bacc7880b2b57bf28c9c8b38
- builddate = 1729889163
+ commit = a89b3166b39887206ae0ab8cd2e63f0324a7728a
+ builddate = 1731283206
license = MIT
depend = ruby-3.2
... // 2 identical lines
depend = ruby3.2-fiber-storage
depend = ruby3.2-json
- datahash = dc7b0ff0f8ea1c44df7024a4f7983487004d18d8af1b23a8a6d579715019b678
+ datahash = 7a66613bea475be246af7082205a84918c15d8002be470419a867731f3b539ea
"""
)
Added: /usr/lib/ruby/gems/3.2.0/gems/console-1.29.0/bake/console.rb |
Package update, plus the Git patch needed to be re-generated for this release.