Skip to content

Conversation

@nimdrak
Copy link

@nimdrak nimdrak commented Oct 25, 2025

This commit introduces a new paremeter in NewArtifactStore, to allow external consumers to register a callback function for artifact-related events.

The following methods now invoke the event callback if one is provided:

  • Remove
  • Pull
  • Push
  • Add
  • Extract
  • ExtractTarStream

Fixes #27260 containers/podman#27324

@github-actions github-actions bot added the common Related to "common" package label Oct 25, 2025
podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Oct 25, 2025
@podmanbot
Copy link

✅ A new PR has been created in buildah to vendor these changes: containers/buildah#6451

@nimdrak nimdrak changed the title Fixed #27260 Add NewArtifactStoreWithEventCallback for events of artifact feat(libartifact): Add NewArtifactStoreWithEventCallback for artifact events Oct 26, 2025
Copy link
Contributor

@mtrmac mtrmac left a comment

Choose a reason for hiding this comment

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

Just a quick skim, looking at the API. I didn’t actually review the implementation much at all.

Cc: @baude .

podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Oct 28, 2025
@nimdrak nimdrak changed the title feat(libartifact): Add NewArtifactStoreWithEventCallback for artifact events feat(libartifact): Modify NewArtifactStore signature for artifact events Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to "common" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants