Skip to content

fix(release): dedupe crate versions from two sources; prepare v0.1.0-beta.6 - #360

Merged
SpecterAoD merged 1 commit into
mainfrom
fix/release-dedupe-licenses
Nov 28, 2026
Merged

SpecterAoD merged 1 commit into
mainfrom
fix/release-dedupe-licenses

Conversation

@SpecterAoD

Copy link
Copy Markdown
Owner

DE: Der Release-Lauf zum signierten Tag v0.1.0-beta.5 ist beim Debian-Paket gescheitert („Abhängigkeitsbaum und Cargo-Metadaten stimmen nicht überein“). Es wurde nichts veröffentlicht (auch kein Entwurf).

  • Ursache: Seit Close R6 provider secret lifetimes #334 ist argon2 0.6.0 vendored und zieht base64ct 1.8.3 von crates.io, während PQKeep selbst die Vendor-Kopie von base64ct 1.8.3 nutzt. scripts/release_deb_licenses.py zählte nach (Name, Version) → ein Eintrag Differenz.
  • Behebung: neue Funktion select_packages: dieselbe Version aus zwei Quellen wird einmal aufgeführt, nur bei gleichem Lizenzausdruck und gleichen Lizenzdateien (SHA-256); sonst Abbruch wie bisher. Tests scripts/test_release_deb_licenses.py (gleich → einmal, abweichend → Abbruch, fehlend → Abbruch). Lokal für x86_64 und aarch64 geprüft (je 121 Crates). Der Abhängigkeitsbaum selbst bleibt unverändert (gehört zu Memory: audit secret lifetime, core dumps and process boundaries #147).
  • Version: Da Release-Tags per Ruleset nicht geändert/gelöscht werden dürfen, folgt v0.1.0-beta.6 (Entscheidung Maintainer): Cargo.toml/Cargo.lock, CHANGELOG [0.1.0-beta.6] mit Hinweis „beta.5 getaggt, nicht veröffentlicht“ und neuem Abschnitt Release tooling, README, ROADMAP, Release-Notizen docs/releases/v0.1.0-beta.6.md; Hilfetexte und Doku „lesbar ab beta.6“ statt beta.5.
  • Advisory GHSA-9vh5-2vch-2r68 (Entwurf) auf „behoben in 0.1.0-beta.6“, betroffen <= 0.1.0-beta.5 umgestellt.
  • Dieser PR löst den Release-Workflow aus (Pfad scripts/release_*.py) – damit wird das Debian-Paket bereits hier gebaut und geprüft.

EN: The release run for the signed tag v0.1.0-beta.5 failed while building the Debian package; nothing was published. Cause: since #334 base64ct 1.8.3 is present both vendored and from crates.io, and the license check counted by (name, version). Fix: select_packages lists the same version once, only with an identical license expression and license files, else aborts; tests. Because release tags are protected, v0.1.0-beta.6 follows (maintainer decision): version, changelog, README, ROADMAP, release notes, "readable from beta.6" texts. This PR triggers the release workflow, so packaging is verified here.

🤖 Generated with Claude Code

…beta.6

DE: Der Release-Lauf für v0.1.0-beta.5 scheiterte beim Debian-Paket: base64ct 1.8.3 kommt seit #334 als Vendor-Kopie und von crates.io, die Lizenzprüfung zählte nach Name/Version. Jetzt wird dieselbe Version einmal aufgeführt, nur bei gleicher Lizenz und gleichen Lizenzdateien (sonst Abbruch); Tests. Da der Tag v0.1.0-beta.5 geschützt ist, folgt v0.1.0-beta.6: Version, CHANGELOG (beta.5 getaggt, nicht veröffentlicht), README, ROADMAP, Release-Notizen, Hilfetexte „lesbar ab beta.6“.
EN: The release run for v0.1.0-beta.5 failed while building the Debian package: since #334 base64ct 1.8.3 comes as a vendored copy and from crates.io, and the license check counted by name/version. The same version is now listed once, only with the same license and license files (else abort); tests. As the tag v0.1.0-beta.5 is protected, v0.1.0-beta.6 follows: version, changelog (beta.5 tagged, not released), README, ROADMAP, release notes, help texts "readable from beta.6".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T18:28:19.457427Z 076a052 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SpecterAoD
SpecterAoD merged commit c9f6d66 into main Nov 28, 2026
41 checks passed
@SpecterAoD
SpecterAoD deleted the fix/release-dedupe-licenses branch November 28, 2026 18:52
@github-project-automation github-project-automation Bot moved this from Backlog to Done in PQKeep Roadmap Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant