SPECS: Add lazygit Go dependencies - #751
Open
cl2t wants to merge 42 commits into
Open
Conversation
misaka00251
requested changes
Jul 21, 2026
misaka00251
left a comment
Member
There was a problem hiding this comment.
%prep should be under %description in any circumstances.
| Name: go-github-gookit-assert | ||
| Version: 0.1.1 | ||
| Release: %autorelease | ||
| Summary: Provides some of the commonly used tool functions for assertions in Go unit tests. 提供了一些常用的 Go 单元测试中用于断言的工具函数等,没有外部依赖 |
Member
There was a problem hiding this comment.
Delete the Chinese characters.
| Name: go-github-gookit-color | ||
| Version: 1.6.1 | ||
| Release: %autorelease | ||
| Summary: 🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库,支持16色,256色,RGB色彩渲染输出,使用类似于 Print/Sprintf,兼容并支持 Windows 环境的色彩渲染 |
Member
There was a problem hiding this comment.
Delete the Chinese characters.
| Name: go-github-integrii-flaggy | ||
| Version: 1.8.0 | ||
| Release: %autorelease | ||
| Summary: Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies. |
Member
There was a problem hiding this comment.
Suggested change
| Summary: Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies. | |
| Summary: Idiomatic Go input parsing with subcommands, positional values, and flags at any position. |
| %define _name fsnotify.v1 | ||
| %define go_import_path gopkg.in/fsnotify.v1 | ||
|
|
||
| Name: go-gopkg-fsnotify.v1 |
Member
There was a problem hiding this comment.
Should it be go-gopkg-fsnotify-v1?
| %define _name fuzzy-patricia.v3 | ||
| %define go_import_path gopkg.in/ozeidan/fuzzy-patricia.v3 | ||
|
|
||
| Name: go-gopkg-ozeidan-fuzzy-patricia.v3 |
Member
There was a problem hiding this comment.
Should it be go-gopkg-ozeidan-fuzzy-patricia-v3?
| humanlog reads structured log streams in JSON or logfmt format from standard | ||
| input and renders them as human-friendly, colorized output. | ||
|
|
||
| %package -n go-github-aybabtme-humanlog |
Member
There was a problem hiding this comment.
Align with the rest of the spec file.
added 3 commits
September 3, 2026 12:17
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
cl2t
force-pushed
the
lazygit-deps-1
branch
3 times, most recently
from
September 3, 2026 07:36
fb6ad41 to
fdddf3a
Compare
misaka00251
approved these changes
Sep 3, 2026
added 9 commits
September 3, 2026 17:34
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
added 29 commits
September 3, 2026 17:34
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the remaining lazygit Go dependency packages that are not yet in
main,and update the existing
go-github-charmbracelet-xpackage so its bundledx/ansi,x/cellbuf, andx/termsources export usable providers.This revision rebases onto current
mainand drops 13 source packages thatlanded independently while the PR was open, so this branch no longer overwrites
existing specs:
go-github-gookit-assert,go-github-gookit-colorgo-github-h2non-parth,go-github-henvic-httprettygo-github-huandu-xstrings,go-github-invopop-jsonschemago-github-masterminds-goutils,go-github-mgutz-ansigo-github-nbio-st,go-github-samber-logo-github-sanity-io-litter,go-github-shopspring-decimalgo-github-urfave-cliReviewer-driven and follow-up changes retained in this revision:
github.com/cli/go-gh/v2v2.13.0 modulechromaandgojqcommands with reusable noarch Gosource subpackages
%prepsection after%descriptiongopkg.inpackages with a hyphenated-vNsuffix, as requested inreview (
go-gopkg-fsnotify-v1,go-gopkg-ozeidan-fuzzy-patricia-v3,go-gopkg-h2non-gock-v1); thego(...)providers still use the upstreamimport paths
TestCliRun/stream_option_with_unterminated_input, whose expectedencoding/jsonerror text (unexpected EOF) no longer matches distro Go(
unexpected end of JSON input)go-github-gdamore-tcell-v3and lazygit itself remain outside this PR. Theirpackaging is still blocked by the repository's older
clipperhouse/uax29/v2provider versus the API required by tcell/v3.Related Issue
Validation
pre-commitpasses for all 42 touched spec filesgit diff --name-status origin/main...HEADshows 41 added specs and onemodification (
go-github-charmbracelet-x)home:cl_2:pr751-rebase-puremainsucceeds for all 42source packages on both
x86_64andriscv64chromaandgojqeach produce an architecture-specific command RPM and anoarch Go source subpackage
go-github-charmbracelet-xRPM exports:go(github.com/charmbracelet/x/ansi) = 0.11.6go(github.com/charmbracelet/x/cellbuf) = 0.0.15go(github.com/charmbracelet/x/term) = 0.2.2go(github.com/cli/go-gh/v2) = 2.13.0and contain no AI co-author trailers
Checklist
I have read the openRuyi Code of Conduct and agree to abide by it.
I have read the AI-Assisted Contribution Policy, and this Pull Request includes non-trivial AI-assisted content.
Assisted-by: Claude Code:Opus 4.8
Assisted-by: Claude Code:GPT-5.6 Sol
Assisted-by: Grok:Grok 4.6