Skip to content

SPECS: Add lazygit Go dependencies#751

Open
cl2t wants to merge 26 commits into
openRuyi-Project:mainfrom
cl2t:lazygit-deps-1
Open

SPECS: Add lazygit Go dependencies#751
cl2t wants to merge 26 commits into
openRuyi-Project:mainfrom
cl2t:lazygit-deps-1

Conversation

@cl2t

@cl2t cl2t commented Jun 21, 2026

Copy link
Copy Markdown

Summary

Add the Go library dependencies needed to package lazygit (a terminal UI
for git). All 26 packages were generated with go2spec and hand-tuned
(official GitHub sources, correct licenses/sha256, trimmed descriptions,
%doc before %license), one package per commit. Each one builds
successfully on OBS for both x86_64 and riscv64.

Notable trims/fixes:

  • go-github-cli-go-gh-v2: trimmed to pkg/auth+pkg/config (lazygit only
    uses those), dropping the large survey/sprig/chroma/glamour dependency tree.
  • go-github-aybabtme-humanlog: dropped cmd/ (urfave/cli, rgbterm not needed).
  • go-github-jesseduffield-generics: dropped slices//list/ (incompatible
    with the packaged x/exp; only maps/set/orderedset are used downstream).
  • commit-pinned snapshots use 0+gitYYYYMMDD.<short> with the packaging date.
  • env-sensitive/self-tests (go-deadlock, karimkhaleel/jsonschema, fsnotify,
    clipboard) are tolerated/trimmed with rationale comments.

go-github-gdamore-tcell-v3 and lazygit itself are NOT in this PR: tcell/v3
v3.4.0 requires clipperhouse/uax29/v2 v2.7.0 while main currently ships
v2.3.0 (the graphemes.FromBytes API changed), which also affects 6 other
existing packages. That version bump needs maintainer coordination and will
be handled separately.

Related Issue

  • Resolves #

Checklist

Assisted-by: Claude Code:Opus 4.8

@openruyi-bot openruyi-bot Bot added AI Assistance AI is used to help with portions of code, tests, or documentation. Community: Student contribution Used by contributors that are currently students at an educational institution. BuildSystem: golangmodule Issue/PR related to golangmodule BuildSystem. Target: Rolling Targeting rolling/current branch. Workflow: Ready For Review Ready for review by anyone with domain expertise. labels Jun 21, 2026
@cl2t cl2t changed the title SPECS: Add lazygit Go dependencies (batch 1) SPECS: Add lazygit Go dependencies Jun 21, 2026
cl2t added 24 commits June 21, 2026 13:33
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>
cl2t added 2 commits June 21, 2026 13:33
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
Signed-off-by: cl2t <yihong.or@isrc.iscas.ac.cn>
@cl2t
cl2t force-pushed the lazygit-deps-1 branch from a6d1a76 to 384bd14 Compare June 21, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI Assistance AI is used to help with portions of code, tests, or documentation. BuildSystem: golangmodule Issue/PR related to golangmodule BuildSystem. Community: Student contribution Used by contributors that are currently students at an educational institution. Target: Rolling Targeting rolling/current branch. Workflow: Ready For Review Ready for review by anyone with domain expertise.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant