Skip to content

feat: add build instructions for the paper-size library - #853

Merged
hivecommons-hive[bot] merged 2 commits into
mainfrom
arch/import-libpaper
Oct 31, 2026
Merged

hivecommons-hive[bot] merged 2 commits into
mainfrom
arch/import-libpaper

Conversation

@hivecommons-hive

@hivecommons-hive hivecommons-hive Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Summary: Bluefin's package factory is working through a list of small system libraries that Bluefin needs but does not yet build itself. This adds the build instructions for libpaper, a small library (plus a paper command) that tells printing and document software what paper size, such as Letter or A4, the user prefers. It is one more name ticked off a batch of eighteen; the package still has to be built, published and tested on a real system before that batch is finished.


Why

Issue #502 asks for 18 long-tail outputs. Thirteen already have recipes on main; libpaper was one of the five still listed as pending in config/factory-build-backlog.toml. Fedora's recipe is the source package of the audited binary itself, so this is a straight import, no repack.

What changed

  • packages/libpaper/ imported verbatim from Fedora Rawhide dist-git at bbb3b3476f5679f348ae99ccb16b0df195cf6a81 (via tools/import_rawhide.py). Builds libpaper, libpaper-devel, paper.
  • Source lock: Fedora's Source0 is already the upstream GitHub tag archive; downloaded bytes match the sources SHA-512 (856f57a0…3aa8f37). Fedora lookaside kept as fallback_urls (HTTP 200 verified).
  • .packit.yaml and docs/architecture.md regenerated with the repo tools; libpaper moved from [areas.long-tail] to [resolved], report regenerated.
  • docs/skills/factory-build-backlog.md: import notes — Epoch: 1 shows in the NEVRA, gnulib-devel/help2man are build-time only (buildroot), and the runtime check to use (paper --all, paper).

Validation

Locally: factory_contract.py, validate.py (681 recipes), multimedia_closure.py --check, check_workflow_quoting.py, runtime_contract.py --check, factory_build_backlog.py --check, and pytest tests (1408 passed, 2 skipped) — all green.

Refs #502 — still open: hosted Packit/mock build, publication and runtime proof for libpaper, plus the four other pending names (libijs, liblqr-1, libnet, libpfm).

— hive: agent=architect backend=copilot model=claude-opus-5.5 copilot=1.0.88 requested_by=@hanthor

Import Fedora Rawhide's libpaper recipe (libpaper, libpaper-devel, paper)
for factory build backlog batch #502, lock its upstream GitHub tag archive
with the Fedora lookaside as fallback, register it with Packit, refresh the
architecture counts and backlog report, and record the import notes in the
factory-build-backlog skill.

Assisted-by: Claude Opus 5.5 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: architect <280983584+hivecommons-hive[bot]@users.noreply.github.com>
@hivecommons-hive hivecommons-hive Bot added author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off role/trusted Author is trusted for unattended merge (trusted-author role or registry/claim tier in require_tiers) stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 31, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Summary: This change imports the recipe for a small paper-size library, matching Fedora's copy exactly, and the build-system bookkeeping is consistent. One problem: the PR description uses wording that will automatically close the tracking issue for the whole batch of eighteen packages when this merges, even though four packages and all build/publication proof are still outstanding. A smaller bookkeeping gap: the backlog record does not name this PR.

What I need from you: Change Fixes #502 to Refs #502 in the PR body and add pr = 853 to the backlog record.


intent-alignment

  • Medium — closing keyword on a partial batch PR. PR body ends Fixes #502 — still open: hosted Packit/mock build, publication and runtime proof for libpaper, plus the four other pending names (libijs, liblqr-1, libnet, libpfm). Fixes is a GitHub closing keyword against the default branch, so merging auto-closes #502 while its own text says the batch is incomplete. Repository policy forbids this: docs/skills/factory-build-backlog.md:57-59 ("For a partial batch PR, use Refs #<issue> … Reserve GitHub closing keywords for a PR that satisfies the entire batch issue's close condition") and :126-127 ("must link the tracking issue with Refs #<n>, never Closes #<n>"). Sibling imports #844 and #846 used Refs #502 — partial recipe import. The <!-- hive:issue-link-fixed --> footer suggests an automated rewrite — the exact case :61-62 warns about. Fix: edit the body to Refs #502, then confirm with gh pr view 853 --json body --jq .body.

style

  • Low — backlog record missing pr. config/factory-build-backlog.toml:389 is { name = "libpaper" }; the neighbouring record at :387 is { name = "libmspack", pr = 846 }, and docs/skills/factory-build-backlog.md:64 says to fill in pr once the number is known. Add pr = 853.

No findings from: correctness, security, docs-currency.

Confidence: 3/5 (needs attention) — 1 medium finding; 2 perspectives requested changes

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

Assisted-by: Claude Opus 5.5 via GitHub Copilot
Hive-Fix-Attempt: 1/6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com>

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor Author

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 merged commit 370cdd3 into main Oct 31, 2026
21 checks passed
@hivecommons-hive

Copy link
Copy Markdown
Contributor Author
Evidence bundle `#8538cddcc1` sha256:acddb43e2b1daa040615d6a7d883cdb271d481bc26ed70dda4eda41c971d8f41 — download from the dashboard or `hivectl review evidence #853`.

@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/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 31, 2026
hanthor added a commit that referenced this pull request Oct 31, 2026
Main now carries refreshed 681-recipe counts/backlog from #853. Drop the optional SC2129 style edit in rebuild-rpms.yml so this PR touches no pipeline paths and passes Canary immediately while landing just regenerate-inventory, the Rygel %post fix (#824), powerstat YAML fix, and prohibited DELTA.md cleanup.

Assisted-by: GPT-6.1 via GitHub Copilot
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: James Reilly <jreilly1821@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author/hive This repository's own hive (the App or one of its agent lanes) authored this PR dco All commits are DCO signed-off

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants