Skip to content

feat: add the Perl add-on that standardizes accented text - #783

Merged
hivecommons-hive[bot] merged 5 commits into
mainfrom
hive/505-perl-unicode-normalize
Oct 29, 2026
Merged

hivecommons-hive[bot] merged 5 commits into
mainfrom
hive/505-perl-unicode-normalize

Conversation

@Danathar

@Danathar Danathar commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary: This adds the build recipe for a small Perl add-on that puts accented and other Unicode text into one standard form, so text that looks the same compares as equal. The base system's full Perl package lists this add-on as required but does not supply it, so this fills that gap. This is one of three packages still open in this batch. It adds the recipe only; the hosted build and an install test still have to run.

What I need from you: Run the hosted package build for this branch, then review.


Changes

  • Import Fedora Rawhide perl-Unicode-Normalize 1.32 with tools/import_rawhide.py, from dist-git commit 78a89322be896c250fe1f3903327e2e71e9124f9 (tree 6d22cbee6a01d145640f9f584ffbc309db2041e2). The recipe is unmodified, so it stays eligible for the automatic Rawhide re-imports.
  • Lock the source in config/upstream-sources.json. The Fedora recipe builds from the CPAN Unicode-Normalize-1.26.tar.gz archive plus an upgrade patch to 1.32, so the lock pins that archive. Its version is the RPM Version: (1.32), as bootstrap would write it. The Fedora lookaside is the fallback URL.
  • Regenerate .packit.yaml and the docs/architecture.md counts, as the import workflow does.
  • Move perl-Unicode-Normalize from [areas.long-tail] to [resolved] as { name = "perl-Unicode-Normalize", pr = 783 }, and regenerate reports/factory-build-backlog.json. Backlog drops from 229 to 228 and resolved rises from 288 to 289. The audited 551-name set is unchanged.
  • Add a "Perl modules split out of Hummingbird's perl" section to docs/skills/factory-build-backlog.md.

Refs #505. This is partial source-family work. paps and prefixdevname remain open, and so do this package's hosted build, publication, and runtime acceptance. Consumer tracking: projectbluefin/utah#263.

Evidence

  • Upstream source: https://cpan.metacpan.org/authors/id/K/KH/KHW/Unicode-Normalize-1.26.tar.gz was downloaded on 2026-10-28. Its SHA-512 is 7f624d2e…ba077e0d, which matches the recipe's sources file. The Fedora lookaside copy has the same digest.
  • Hummingbird primary metadata (public-hummingbird/x86_64, fetched 2026-10-28):
    • No package provides perl(Unicode::Normalize).
    • Every perl metapackage build (4:5.42.2-524.1.hum1 through 525.2.hum1) has Requires: perl-Unicode-Normalize.
    • The module's runtime dependencies are all provided: perl(Carp), perl(Exporter), perl(constant), perl(XSLoader), perl(bytes), and perl(:MODULE_COMPAT_5.42.x).
    • Build-only dependencies (perl-Devel-PPPort, perl-generators, perl-ExtUtils-MakeMaker) come from the pinned Fedora 44 buildroot.
  • The optional perl-Unicode-Normalize-tests subpackage requires perl-Test-Harness, which Hummingbird does not ship. That subpackage is not an audited name.
  • Utah's baselines/triage.toml at 1bc07242296d039bca80412ec2b0e68579a61d3e has no entry for this name, so this import reverses no waiver.

Validation

  • just check: passed. This covers the factory contract, validate, multimedia, workflow quoting, the runtime contract, factory_build_backlog.py --check (228 entries, 214 pending), and pytest (1390 passed, 2 skipped).
  • just test: same pytest result.
  • pre-commit run --all-files: not run, because pre-commit is not installed in this environment. CI runs it.
  • No hosted Packit/mock build was dispatched from this session. No binary NEVRA, OCI digest, or install result is claimed.
  • Proposed runtime acceptance: install perl-Unicode-Normalize from Hummingbird plus the factory only, then run perl -MUnicode::Normalize=NFD,NFC -e 'print NFC(NFD("\x{e9}")) eq "\x{e9}" ? "ok\n" : "fail\n"'.

— hive: backend=claude model=claude-opus-5-5

🤖 Generated with Claude Code

Danathar and others added 2 commits October 28, 2026 14:24
Import Fedora Rawhide perl-Unicode-Normalize 1.32 from dist-git commit
78a89322be896c250fe1f3903327e2e71e9124f9, unmodified. Lock the CPAN
Unicode-Normalize-1.26 archive the recipe patches up to 1.32, with the
Fedora lookaside as fallback; register it in Packit and refresh the
architecture counts.

Hummingbird's perl metapackage requires perl-Unicode-Normalize but does
not ship it. Move the name from the long-tail backlog area to [resolved]
and regenerate the backlog report. Record the source-lock and dependency
findings in the backlog skill.

Refs #505

Hive-Run: #505
Hive-Plan: issue-505 implementation step 3 (perl-Unicode-Normalize source family)
Hive-Spec: factory-build-backlog#closing-a-backlog-gap
Assisted-by: Claude Opus 5.5 via Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Danathar <Danathar@users.noreply.github.com>
Fill in the pr field on the perl-Unicode-Normalize [resolved] record now
that the import PR has a number.

Refs #505

Hive-Run: #505
Hive-Plan: issue-505 implementation step 5 (closing record)
Hive-Spec: factory-build-backlog#closing-a-backlog-gap
Assisted-by: Claude Opus 5.5 via Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Danathar <Danathar@users.noreply.github.com>
@hivecommons-hive hivecommons-hive Bot linked an issue Oct 28, 2026 that may be closed by this pull request
21 tasks
@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/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 28, 2026
@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 28, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Danathar 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; your current task is parked (claim kept alive) until this PR is green.

@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: This review checked the new Perl add-on recipe from five angles. The recipe is a byte-for-byte copy of Fedora's, the source archive matches its published checksum, and all the repository's own checks pass. One small bookkeeping slip: the record that marks this package as resolved was filed under the heading of an unrelated earlier batch, which would mislead whoever reads that list later.

What I need from you: Move the resolved entry under its own comment line (suggested patch below).


style

config/factory-build-backlog.toml:636 — the new { name = "perl-Unicode-Normalize", pr = 783 } entry sits between pinfo and python3-llfuse inside the block introduced by the comment # Dev-tools wave (landing PR #587): user-facing CLI tools from projectbluefin/utah#392. (line 622). Every other single-package recipe import in [resolved] gets its own comment naming its tracking issue (e.g. lines 345-351: ntfs-3g-system-compression/#488, langtable/#494, uchardet/#508). A reader of this file will attribute the Perl module to the #587 dev-tools wave.

--- a/config/factory-build-backlog.toml
+++ b/config/factory-build-backlog.toml
@@ -344,6 +344,8 @@ packages = [
     { name = "libgee" },
     # NTFS-3G read-only plugin recipe for #488; hosted build, publication and runtime proof remain open.
     { name = "ntfs-3g-system-compression", pr = 771 },
+    # Recipe import only (Hummingbird's perl requires it but does not ship it); build, publication and runtime proof remain on #505.
+    { name = "perl-Unicode-Normalize", pr = 783 },
     # Language data recipe; build/publication and consumer proof remain tracked in #494.
     { name = "langtable", pr = 700 },
@@ -633,7 +635,6 @@ packages = [
     { name = "pinfo", commit = "c2c7cd8c3f440a81b9aafe204bc9d22b0532fe0e", pr = 587, published_run = 40626803772, published_nevra = "pinfo-0:0.6.13-11.hum1.bfin.x86_64" },
-    { name = "perl-Unicode-Normalize", pr = 783 },
     { name = "python3-llfuse", pr = 587 },

reports/factory-build-backlog.json is order-independent (tools/factory_build_backlog.py:421-422 sorts), so no regeneration is needed.

Verified at head cb80c82: all eight files under packages/perl-Unicode-Normalize/ are identical to dist-git 78a89322; Unicode-Normalize-1.26.tar.gz from metacpan hashes to the locked SHA-512 (config/upstream-sources.json:6083, packages/perl-Unicode-Normalize/sources:1); tools/validate.py → validated 636 source RPMs (631 rawhide, 5 upstream) and tools/factory_build_backlog.py --check → 228 entries, 214 pending, matching docs/architecture.md:146 and reports/factory-build-backlog.json. Not verified here: the hosted build and the perl(:MODULE_COMPAT_5.42.x) match against the Fedora 44 buildroot perl, which the PR body already defers to the hosted build.

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

Confidence: 5/5 (safe)

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

Conflicts resolved by keeping both sides:
- config/upstream-sources.json: perl-Unicode-Normalize's lock plus the
  six locks that landed on main (645 entries, no duplicates).
- docs/skills/factory-build-backlog.md: both new sections.
Generated counts taken from main and moved by this PR's own delta:
- docs/architecture.md: 644 -> 645 recipes (640 rawhide).
- reports/factory-build-backlog.json: long-tail pending 84 -> 83,
  perl-Unicode-Normalize leaves the pending list, totals 217/298.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SnzFs53Qcer1xDySyxv1Vj
Signed-off-by: Danathar <berths-purger-0g@icloud.com>
@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act and removed stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act stage/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 29, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Danathar 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 (2 waiting): fixes are handed out before new work as soon as you have capacity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SnzFs53Qcer1xDySyxv1Vj
Signed-off-by: Danathar <berths-purger-0g@icloud.com>
@hivecommons-hive hivecommons-hive Bot added stage/050-review-pending Review swarm requested; awaiting a verdict for the current head and removed stage/072-returned-to-contributor Contributor PR: CI red, changes requested or conflicting; diagnosis posted, author must act labels Oct 29, 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-review after the branch picked up the latest main twice. Nothing new was introduced by those merges: the set of files this change adds or edits is unchanged, and the shared bookkeeping files merged cleanly. One earlier tidy-up note is still open, and the numbers quoted in the description have drifted since the merge.


Reviewed head 0b085f3 (delta from cb80c82: merges 19a726b, 0b085f3, both of main; PR-vs-main footprint still the same 16 files).

style

  • Still present from the earlier review: config/factory-build-backlog.toml:635 files { name = "perl-Unicode-Normalize", pr = 783 } inside the block headed # Dev-tools wave (landing PR #587) (line 619), between two pr = 587 entries. Other recent single-package records (e.g. udftools/uresourced/xfsprogs, lines 739-741) are appended at the end of [resolved]. Advisory, not blocking. Fix: delete line 635 and append after line 741:
        { name = "xfsprogs", pr = 782 },
        # Dual-life Perl core module required by Hummingbird's perl metapackage (#505).
        { name = "perl-Unicode-Normalize", pr = 783 },
    

intent-alignment

  • PR body says "Backlog drops from 229 to 228 and resolved rises from 288 to 289"; after the main merges the regenerated reports/factory-build-backlog.json:1125-1127 reads backlog: 213, resolved: 302. Same one-entry move, just stale prose — please refresh the numbers in the description.

No findings from: correctness, security, 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 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 29, 2026
@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Danathar 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.

1 similar comment
@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Danathar 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

@Danathar 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 29, 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 29, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SnzFs53Qcer1xDySyxv1Vj
Signed-off-by: Danathar <berths-purger-0g@icloud.com>
@hivecommons-hive

Copy link
Copy Markdown
Contributor

@Danathar 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 29, 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 only what changed since the last review: this update pulls the latest main branch into the add-on's branch. The merge is clean, the shared catalog files were regenerated consistently, and the recipe itself is unchanged. Two small bookkeeping notes from the earlier review are still open; neither blocks merging.


Read at head d6cd680a (delta from 0b085f35 is the merge commit only; the other five commits are main's own #809/#784/#811/#787/#814). reports/factory-build-backlog.json:20-29,1083-1093 and docs/architecture.md:81,133-144,163 agree with the 649 recipe directories at head.

intent-alignment (low, still present) — PR body says "Backlog drops from 229 to 228 and resolved rises from 288 to 289" and "228 entries, 214 pending", but after merging main the regenerated report reads backlog 207→206, resolved 307→308, pending 194→193 (reports/factory-build-backlog.json:1086-1091). Please refresh those three sentences in the body so the record matches the file.

style (low, still present) — config/factory-build-backlog.toml:630 files perl-Unicode-Normalize between pinfo and python3-llfuse, inside the block introduced by the # Dev-tools wave (landing PR #587) comment at line 614. Sibling imports that landed on main add their own comment (e.g. oddjob at lines 747-750, ImageMagick at 690-692). Suggested fix: delete line 630 and append before ] at line 751:

     { name = "oddjob", pr = 784 },
     { name = "oddjob-mkhomedir", pr = 784 },
+    # Perl dual-life module Hummingbird's perl requires but does not ship (#505); recipe coverage only.
+    { name = "perl-Unicode-Normalize", pr = 783 },
 ]

No findings from: correctness, security, 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 a16e920 into main Oct 29, 2026
21 checks passed
@hivecommons-hive

Copy link
Copy Markdown
Contributor
Evidence bundle `#783d6cd680` sha256:7121cdbecf5c66ab622e8cfa14ca6839c085a4796de3693f42f7e6604246efc7 — download from the dashboard or `hivectl review evidence #783`.

@hivecommons-hive

Copy link
Copy Markdown
Contributor

Merged by hive contributor-lane auto-merge: CI green for ≥30m, reviewer verdict approve, @Danathar holds the merger 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/050-review-pending Review swarm requested; awaiting a verdict for the current head labels Oct 29, 2026
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.

1 participant