Skip to content

feat: add the Chinese pinyin typing library recipe - #796

Merged
hivecommons-hive[bot] merged 4 commits into
projectbluefin:mainfrom
Karibhou:hive/495-libpinyin
Oct 30, 2026
Merged

hivecommons-hive[bot] merged 4 commits into
projectbluefin:mainfrom
Karibhou:hive/495-libpinyin

Conversation

@Karibhou

@Karibhou Karibhou commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary: This adds the build recipe for libpinyin, the library that lets Chinese speakers type by spelling words phonetically (pinyin) and get Chinese characters. Bluefin ships it today, so Utah needs it too for typing in Chinese. This is one step of a larger batch of language-support packages (#495), so that issue stays open.

What I need from you: Review this recipe; the Kyoto Cabinet dependency was imported by #767.


What changes

  • packages/libpinyin/: Fedora Rawhide recipe imported with tools/import_rawhide.py at dist-git commit f5e33b36fdf0b2a50220a9898511b85ac5468d52 (tree 18ccc2f2…). Unmodified. libpinyin.spec builds libpinyin, libpinyin-data, libpinyin-devel, libpinyin-tools and libzhuyin.
  • config/upstream-sources.json: libpinyin-2.11.92.tar.gz locked at the upstream SourceForge release over HTTPS (tools/bootstrap_upstream_sources.py proposed http://, which the skill says tools/validate.py rejects). I re-downloaded the archive over HTTPS: SHA-512 b0b35546…12ecf5, identical to Fedora's sources.
  • config/factory-build-backlog.toml: libpinyin and libpinyin-data moved from [areas.fonts-i18n] to [resolved] (recipe only; publication and runtime proof remain on parity(fonts-i18n): resolve factory outputs liberation-mono-fonts through unicode-ucd #495).
  • Regenerated: .packit.yaml, docs/architecture.md, reports/factory-build-backlog.json.
  • docs/skills/factory-build-backlog.md: new section on a build dependency that another PR imported.

Dependency order

libpinyin BuildRequires kyotocabinet-devel. That recipe was imported in #767 (long-tail, #501). PR CI validates configuration, and the post-merge rebuild orders by BuildRequires; a hosted build is still needed to verify the dependency resolves.

Remaining #495 scope

Per the maintainer's triage comment on #495: the 11 fonts are [wontfix] (#678); unicode-ucd, libhangul and m17n-db are resolved (#741); python3-langtable is resolved (#737). m17n-lib is still waiting on its providers in #788 and is not touched here.

Validation

  • just check: contract, validate (637 recipes), multimedia closure, workflow quoting, runtime contract and factory_build_backlog.py --check all pass.
  • just test/pytest: not run locally. The sandbox had no usable pytest environment for this checkout, so the Unit tests CI job is the first run.
  • No hosted build, publication or runtime evidence yet. That remains to be established after this PR merges.

Refs #495 — remaining: m17n-lib (blocked on #788) and the publication/runtime proof for the batch.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HRH6kmYArc1tz6tAqojfxb

— hive: backend=claude

Import libpinyin 2.11.92 from Fedora Rawhide dist-git (commit
f5e33b36fdf0) with its upstream release locked by SHA-512 over HTTPS.
The recipe also builds libpinyin-data, -devel, -tools and libzhuyin.
Move libpinyin and libpinyin-data from the fonts-i18n backlog area to
[resolved] and regenerate the Packit config, architecture counts and
backlog report.

libpinyin BuildRequires kyotocabinet-devel, which projectbluefin#767 imports; merge
that first. Record the cross-PR build dependency convention in the
factory-build-backlog skill.

Refs projectbluefin#495

Assisted-by: Claude Opus 5.5 via Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HRH6kmYArc1tz6tAqojfxb
Hive-Run: projectbluefin#495
Hive-Plan: issue-495-comment-next-pr-libpinyin
Hive-Spec: factory-build-backlog#closing-a-backlog-gap
Signed-off-by: Karibhou <157208370+Karibhou@users.noreply.github.com>
@hivecommons-hive hivecommons-hive Bot added author/clanker A contributor's own hive authored this PR under their login dco All commits are DCO signed-off role/contributor Author holds the contributor tier in this hive's registry; a human must lgtm/approve stage/050-review-pending Review swarm requested; awaiting a verdict for the current head role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act and removed role/contributor Author holds the contributor tier in this hive's registry; a human must lgtm/approve stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 28, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Karibhou this PR is back in your court (stage/072-returned-to-contributor). The hive will not merge it until the head changes.

Review asks:

  • the branch conflicts with the base and needs a rebase

Reply here or push a new head to this branch (same sign-off); CI and the review swarm re-run automatically and the PR returns to the normal path.

Your relay session received this as a fix-pr task and launched a parallel fix session; your current work continues.

@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Karibhou the hive has adopted this PR (stage/074-adopted-by-hive): the review asks stayed open (the branch conflicts with the base and needs a rebase) for 2h after the nudge and the relay nudge went unanswered. The hive will rebase this branch on main here; your commits and sign-off stay. Push a new head yourself at any time and the hive yields it back to you.

@hivecommons-hive hivecommons-hive Bot added stage/074-adopted-by-hive Contributor PR adopted: author unavailable after red CI; the hive is finishing it (takeover path) and removed stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act labels Oct 28, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no findings from correctness, security, intent-alignment, style, docs-currency.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hivecommons-hive hivecommons-hive Bot added the stage/stalled In its current stage longer than expected label Oct 29, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor

The hive adopted this PR (stage/074-adopted-by-hive) but its head f9e529577ccd has not moved for 12h18m and the hive has nothing it can push: adoption-stalled:fork-rehome-refused.

Blocker: this PR comes from a fork (Karibhou/utah-packages) and the hive cannot finish it on the fork's own branch. Moving its commits to hive/adopt-796 in this repository would run code no maintainer has reviewed with the repository's trusted CI (secrets, write tokens, no fork guards), so the hive did not. Ask (maintainer): review the change; if it should land, bring it into the repository yourself or follow the repository's process for fork pull requests, otherwise close it.

Moving to stage/085-needs-decision so a person sees it. This is not a merge-approval wait: the lane has not admitted this head.

@hivecommons-hive hivecommons-hive Bot added stage/085-needs-decision A human decision is owed: sentinel alert, hold/needs-decision label, human-only rule or parked issue and removed stage/074-adopted-by-hive Contributor PR adopted: author unavailable after red CI; the hive is finishing it (takeover path) stage/stalled In its current stage longer than expected labels Oct 29, 2026
Signed-off-by: Karibhou <157208370+Karibhou@users.noreply.github.com>
@Karibhou

Copy link
Copy Markdown
Contributor Author

hive-base-moved: merged main at 76ed1d97fefd5a1cb90b240c596a1237a3819328; reconciled source and backlog entries and regenerated reports.

@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/085-needs-decision A human decision is owed: sentinel alert, hold/needs-decision label, human-only rule or parked issue labels Oct 30, 2026
@Karibhou

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing the current package changes. No further code changes were requested; the branch now includes main and passed just check and just test.

— hive: backend=codex

@hivecommons-hive hivecommons-hive Bot added stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 30, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Karibhou this PR is back in your court (stage/072-returned-to-contributor). The hive will not merge it until the head changes.

Review asks:

  • the branch conflicts with the base and needs a rebase

Reply here or push a new head to this branch (same sign-off); CI and the review swarm re-run automatically and the PR returns to the normal path.

Queued in your relay fix queue (5 waiting): fixes are handed out before new work as soon as you have capacity.

@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Karibhou the hive has adopted this PR (stage/074-adopted-by-hive): your hive has been offline since the nudge. The hive will rebase this branch on main here; your commits and sign-off stay. Push a new head yourself at any time and the hive yields it back to you.

@hivecommons-hive hivecommons-hive Bot removed the stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act label Oct 30, 2026
@hivecommons-hive hivecommons-hive Bot added the stage/074-adopted-by-hive Contributor PR adopted: author unavailable after red CI; the hive is finishing it (takeover path) label Oct 30, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary: Re-checked this pull request after it was brought up to date with the main branch. The pinyin typing library recipe itself is unchanged from the version already approved, and the regenerated package counts line up. One small thing: the text added by this pull request still describes the Kyoto Cabinet database library as arriving in a future pull request, but that pull request has already been merged, so two sentences now read as out of date. Not blocking.


docs-currency (low, advisory)

The merge of main (73665d1) brought kyotocabinet-libs into config/factory-build-backlog.toml:372 as { name = "kyotocabinet-libs", pr = 767 } (#767 merged 2026-10-29), but the prose this PR adds still treats #767 as pending:

  • config/factory-build-backlog.toml:720 — "imported by #767, so it builds after that lands."
  • docs/skills/factory-build-backlog.md:205-209 — heading "Build dependencies imported by another open PR" and "whose recipe arrives in the long-tail PR #767".

Suggested wording, toml:

    # kyotocabinet-devel, imported by #767 (already in [resolved]).

Suggested wording, skill doc line 209:

arrived in the long-tail PR #767 (`kyotocabinet-libs`, #501). Pull-request CI

The PR body's "merge #767 first" instruction is likewise already satisfied.

No findings from: correctness, security, intent-alignment, style.

Confidence: 5/5 (safe)

— hive: agent=reviewer backend=copilot model=claude-fable-5.1 copilot=1.0.88

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The content looks fine. It needs a rebase and depends on #767, because BuildRequires: kyotocabinet-devel isn't on main yet.

Assisted-by: GPT-6 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Karibhou <157208370+Karibhou@users.noreply.github.com>
@Karibhou

Copy link
Copy Markdown
Contributor Author

hive-base-moved: merged main at 5454aad and resolved the shared configuration conflicts.

@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Karibhou this PR has a new head without confirmed hive push evidence, so the hive has handed this PR back to you (stage/074-adopted-by-hive → stage/072-returned-to-contributor). It will nudge again if CI stays red.

@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/074-adopted-by-hive Contributor PR adopted: author unavailable after red CI; the hive is finishing it (takeover path) labels Oct 30, 2026
Assisted-by: GPT-6 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Karibhou <157208370+Karibhou@users.noreply.github.com>
@Karibhou

Copy link
Copy Markdown
Contributor Author

Updated the dependency guidance in 903f84d and the PR description to reflect that #767 is merged. The hosted build and runtime evidence remain outstanding.

@hivecommons-hive hivecommons-hive Bot added stage/095-pre-merge-soak Lane admitted; the pre-merge soak window is running before the merge is attempted and removed stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 30, 2026
@hivecommons-hive
hivecommons-hive Bot merged commit 995f68b into projectbluefin:main Oct 30, 2026
21 checks passed
@hivecommons-hive

Copy link
Copy Markdown
Contributor
Evidence bundle `#796903f84d` sha256:1209a0a7c4a48d73bcf95db3fd957abd831b5e4ec00dfa6446aed6a1e78b8466 — download from the dashboard or `hivectl review evidence #796`.

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Merged by hive contributor-lane auto-merge: CI green for ≥30m, reviewer verdict approve, @Karibhou holds the trusted tier in this hive's contributor registry.

@hivecommons-hive hivecommons-hive Bot removed role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/095-pre-merge-soak Lane admitted; the pre-merge soak window is running before the merge is attempted labels Oct 30, 2026
@Karibhou
Karibhou deleted the hive/495-libpinyin branch November 15, 2026 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/clanker A contributor's own hive authored this PR under their login dco All commits are DCO signed-off

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants