Skip to content

feat: Enable libsolv to expose file time to dnf plugins#17972

Open
mbearup wants to merge 1 commit into
microsoft:4.0from
mbearup:4.0
Open

feat: Enable libsolv to expose file time to dnf plugins#17972
mbearup wants to merge 1 commit into
microsoft:4.0from
mbearup:4.0

Conversation

@mbearup

@mbearup mbearup commented Jul 9, 2026

Copy link
Copy Markdown

To achieve parity with Azure Linux 3, we want to support virtual snapshots (package selection based on file time).
For Azure Linux 4, we want to pursue this as a dnf plugin (vs a direct modification to dnf).
Libsolv does not expose the package file time to dnf plugins, so this PR is a prerequisite in enabling that support.

@mbearup mbearup requested a review from a team as a code owner July 9, 2026 23:20
Copilot AI review requested due to automatic review settings July 9, 2026 23:20
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI 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.

Pull request overview

Adds libsolv support for exposing RPM-MD file timestamps to future DNF virtual-snapshot plugins.

Changes:

  • Parses <time file="..."> metadata into SOLVABLE_FILETIME.
  • Adds the patch through a dedicated libsolv overlay.
  • Refreshes generated specs and the component lock.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
base/comps/components.toml Moves customized libsolv out of the inline imports.
base/comps/libsolv/libsolv.comp.toml Defines the libsolv patch overlay.
base/comps/libsolv/0002-Make-file-time-available-for-dnf-plugins.patch Implements file-time parsing and identifier.
specs/l/libsolv/libsolv.spec Registers the patch and updates release metadata.
specs/l/libsolv/0002-Make-file-time-available-for-dnf-plugins.patch Provides the rendered patch copy.
locks/libsolv.lock Updates the component input fingerprint.

@mbearup mbearup changed the title Enable libsolv to expose file time to dnf plugins; a prerequisite for supporting virtual snapshots feat: Enable libsolv to expose file time to dnf plugins Jul 10, 2026
Copilot AI review requested due to automatic review settings July 10, 2026 16:13

Copilot AI 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.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings July 10, 2026 17:27

Copilot AI 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.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants