Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction API feedback #52

Open
laenion opened this issue Jan 25, 2021 · 1 comment
Open

Transaction API feedback #52

laenion opened this issue Jan 25, 2021 · 1 comment

Comments

@laenion
Copy link
Collaborator

laenion commented Jan 25, 2021

transactional-update 3.0 introduces a new experimental C++ API for handling Transactions. There is no separate documentation yet, but the current interface for Transaction management can be found in https://github.com/openSUSE/transactional-update/blob/master/lib/Transaction.h

In the near future Snapshot management and a C binding will follow.

If you are interested in using any of these APIs please speak up here so the API can be shaped according to your needs.

@Conan-Kudo
Copy link
Member

I'm using this for the libdnf plugin for transactional updates: https://code.opensuse.org/microos/libdnf-plugin-txnupd

This is intended to be an alternative to the transactional-update(8) method that would work with Micro DNF and PackageKit.

laenion added a commit that referenced this issue Jul 5, 2022
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this issue Aug 9, 2022
https://build.opensuse.org/request/show/993808
by user fos + dimstar_suse
- Version 4.0.0 (final)
  - Changed "List" method of Snapshot D-Bus interface to return a map of properties instead of a comma separated list of strings; this will allow retrieving the snapshot properties even if they contain a comma in their value [boo#1202147]
  - Remove "Snapshot.hpp" as a public API for now - all public functionality is part of SnapshotManager.hpp
  - Add header file documentation for SnapshotManager.hpp
  - Add method to delete snapshot [gh#openSUSE/transactional-update#52]
  - Allow setting description of snapshot [gh#openSUSE/transactional-update#55]
  - create_dirs_from_rpmdb: set SELinux file context of missing directories [gh#openSUSE/transactional-update#84], [bsc#1197242]
  - Fix broken logrotate due to typo in config file [gh#openSUSE/transactional-update#87]
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

No branches or pull requests

2 participants