[Rpm-maint] [rpm-software-management/rpm] plugins: extend API to allow file install (PR #3466)

Matteo Croce notifications at github.com
Fri Nov 22 15:31:05 UTC 2024


Extend the plugin API with two new methods:
- plugin_fsm_file_install_func
- plugin_fsm_file_archive_reader_func

The first one allows a plugin to take care of the file install, the second instead allows a plugin to handle the archive read.

This is used in the "reflink" plugin which uses CoW to extract archives
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3466

-- Commit Summary --

  * plugins: extend API to allow file install

-- File Changes --

    M include/rpm/rpmplugin.h (8)
    M include/rpm/rpmtypes.h (11)
    M lib/fsm.cc (37)
    M lib/rpmplugins.cc (85)
    M lib/rpmplugins.hh (19)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3466.patch
https://github.com/rpm-software-management/rpm/pull/3466.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3466
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3466 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241122/65bb2b42/attachment.htm>


More information about the Rpm-maint mailing list