Skip to content

refactor: extract PackageInfo to a dedicated pkg - #316

Open
upils wants to merge 1 commit into
canonical:mainfrom
upils:common-pkginfo
Open

refactor: extract PackageInfo to a dedicated pkg#316
upils wants to merge 1 commit into
canonical:mainfrom
upils:common-pkginfo

Conversation

@upils

@upils upils commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator
  • Have you signed the CLA?

Introduce a source-agnostic pkgutil.Info describing a fetched package, replacing
archive.PackageInfo. Debian archives and the upcoming store can now both report
package metadata without depending on each other, and manifestutil no longer
imports archive directly. The digest is modelled as a cache.DigestKind plus a
single Digest value instead of one field per algorithm, so a SHA3-384 digest is
representable; validatePackage rejects any kind the manifest cannot record yet.

No behavior change: the manifest still records SHA256 digests only.

@upils upils added the Simple Nice for a quick look on a minute or two label Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Simple Nice for a quick look on a minute or two

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant