Changesets: bareos
master c5b510dc 2023-11-24 13:59 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master eb042a09 2023-11-24 10:52 Bareos Bot Committer: GitHub Ported: N/A Details Diff |
Merge pull request 0001602 Remove unnecessary loader/module split in Python modules for the FD |
||
mod - CHANGELOG.md | Diff File | ||
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-ldap-python-plugin | Diff File | ||
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-python-plugins-common | Diff File | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
rm - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py | Diff File | ||
mod - core/src/plugins/filed/python/ldap/bareos-fd-ldap.py | Diff File | ||
rm - core/src/plugins/filed/python/mariabackup/BareosFdPluginMariabackup.py | Diff File | ||
mod - core/src/plugins/filed/python/mariabackup/bareos-fd-mariabackup.py | Diff File | ||
rm - core/src/plugins/filed/python/percona-xtrabackup/BareosFdPluginPerconaXtraBackup.py | Diff File | ||
mod - core/src/plugins/filed/python/percona-xtrabackup/bareos-fd-percona-xtrabackup.py | Diff File | ||
rm - core/src/plugins/filed/python/postgres/BareosFdPluginPostgres.py | Diff File | ||
mod - core/src/plugins/filed/python/postgres/bareos-fd-postgres.py | Diff File | ||
mod - core/src/plugins/filed/python/postgresql/bareos-fd-postgresql.py | Diff File | ||
rm - core/src/plugins/filed/python/pyfiles/BareosFdPluginLocalFileset.py | Diff File | ||
mod - core/src/plugins/filed/python/pyfiles/BareosFdWrapper.py | Diff File | ||
mod - core/src/plugins/filed/python/pyfiles/bareos-fd-local-fileset.py | Diff File | ||
rm - core/src/plugins/filed/python/vmware/BareosFdPluginVMware.py | Diff File | ||
mod - core/src/plugins/filed/python/vmware/bareos-fd-vmware.py | Diff File | ||
mod - core/src/vmware/vmware_plugin/CMakeLists.txt | Diff File | ||
mod - debian/bareos-filedaemon-ldap-python-plugin.install.in | Diff File | ||
mod - debian/bareos-filedaemon-mariabackup-python-plugin.install.in | Diff File | ||
mod - debian/bareos-filedaemon-percona-xtrabackup-python-plugin.install.in | Diff File | ||
mod - debian/bareos-filedaemon-postgresql-python-plugin.install.in | Diff File | ||
mod - debian/bareos-filedaemon-python-plugins-common.install.in | Diff File | ||
mod - debian/bareos-vmware-plugin.install | Diff File | ||
mod - systemtests/tests/py3plug-fd-postgres/testrunner-default | Diff File | ||
mod - systemtests/tests/py3plug-fd-postgres/testrunner-roles | Diff File | ||
mod - systemtests/tests/py3plug-fd-postgresql/testrunner-roles | Diff File | ||
mod - systemtests/tests/python-bareos/etc/bareos/bareos-dir.d/fileset/PluginOptionsTest.conf.in | Diff File | ||
rm - systemtests/tests/python-bareos/python-modules/bareos_fd_pluginoptions/__init__.py | Diff File | ||
master df6847b5 2023-11-24 10:52 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master 91d07546 2023-11-23 20:50 Ported: N/A Details Diff |
systemtests: add test for new python config files | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/PluginConfigTestBothFiles.conf.in | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/PluginConfigTestDefaultsFile.conf.in | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/PluginConfigTestNoFile.conf.in | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/PluginConfigTestOverridesFile.conf.in | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-fd.d/plugin_defaults.ini | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-fd.d/plugin_overrides.ini | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/python-modules/config-test-module.py | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/testrunner-config | Diff File | ||
master de1dd5b2 2023-11-23 20:43 Ported: N/A Details Diff |
python-fd: provide config-file handling this patch extends BareosFdPluginBaseclass to provide a standard way to work with plugin configuration files. When the plugin options parser encounters one of the options defaults_file or overrides_file, it will treat the values as a path to an ini-style configuration file and will try to read it. The resulting options are added with precedence overrides_file, plugin definition, defaults_file. The code will consume the defaults_file and overrides_file options, so the plugin will not see them later. |
||
mod - core/src/plugins/filed/python/pyfiles/BareosFdPluginBaseclass.py | Diff File | ||
master 399b037a 2023-11-23 20:41 Ported: N/A Details Diff |
python-fd: allow getting configuration file path This patch adds bVarUsedConfig that provides the path to the configuration that the fd uses. This will contain something like `/etc/bareos/bareos-fd.d/*/*.conf`. |
||
mod - core/src/filed/fd_plugins.cc | Diff File | ||
mod - core/src/filed/fd_plugins.h | Diff File | ||
mod - core/src/plugins/filed/python/module/bareosfd.cc | Diff File | ||
mod - core/src/plugins/filed/python/module/bareosfd.h | Diff File | ||
mod - core/src/tests/CMakeLists.txt | Diff File | ||
mod - core/src/tests/test_fd_plugins.cc | Diff File | ||
master 4d2196b3 2023-11-23 17:09 SamuelBoerlin Committer: Bareos Bot Ported: N/A Details Diff |
restore: make fileregex more like file parameter | ||
mod - core/src/dird/ua_restore.cc | Diff File | ||
mod - systemtests/tests/restore/testrunner-restore-fileregex | Diff File | ||
master e252cc70 2023-11-23 13:23 Ported: N/A Details Diff |
python-fd: merge postgres plugin into one file | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
rm - core/src/plugins/filed/python/postgres/BareosFdPluginPostgres.py | Diff File | ||
mod - core/src/plugins/filed/python/postgres/bareos-fd-postgres.py | Diff File | ||
mod - debian/bareos-filedaemon-postgresql-python-plugin.install.in | Diff File | ||
master 24598afc 2023-11-23 12:25 Ported: N/A Details Diff |
python-fd: merge vmware plugin into one file | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
rm - core/src/plugins/filed/python/vmware/BareosFdPluginVMware.py | Diff File | ||
mod - core/src/plugins/filed/python/vmware/bareos-fd-vmware.py | Diff File | ||
mod - core/src/vmware/vmware_plugin/CMakeLists.txt | Diff File | ||
mod - debian/bareos-vmware-plugin.install | Diff File | ||
master a597c884 2023-11-23 09:48 Ported: N/A Details Diff |
systemtests: fix problem in postgres tests | ||
mod - systemtests/tests/py3plug-fd-postgres/testrunner-default | Diff File | ||
mod - systemtests/tests/py3plug-fd-postgres/testrunner-roles | Diff File | ||
master ad220929 2023-11-22 18:23 Ported: N/A Details Diff |
systemtests: don't depend on LocalFileset plugin | ||
mod - systemtests/tests/python-bareos/etc/bareos/bareos-dir.d/fileset/PluginOptionsTest.conf.in | Diff File | ||
rm - systemtests/tests/python-bareos/python-modules/bareos_fd_pluginoptions/__init__.py | Diff File | ||
master f560fe6b 2023-11-22 17:06 Ported: N/A Details Diff |
python-fd: merge xtrabackup plugin into one file | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
rm - core/src/plugins/filed/python/percona-xtrabackup/BareosFdPluginPerconaXtraBackup.py | Diff File | ||
mod - core/src/plugins/filed/python/percona-xtrabackup/bareos-fd-percona-xtrabackup.py | Diff File | ||
mod - debian/bareos-filedaemon-percona-xtrabackup-python-plugin.install.in | Diff File | ||
master d15edfa8 2023-11-22 16:45 Ported: N/A Details Diff |
python-fd: merge local-fileset into one file | ||
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-python-plugins-common | Diff File | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
rm - core/src/plugins/filed/python/pyfiles/BareosFdPluginLocalFileset.py | Diff File | ||
mod - core/src/plugins/filed/python/pyfiles/bareos-fd-local-fileset.py | Diff File | ||
mod - debian/bareos-filedaemon-python-plugins-common.install.in | Diff File | ||
master 4922b502 2023-11-22 16:42 Ported: N/A Details Diff |
python-fd: merge mariabackup plugin files | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
rm - core/src/plugins/filed/python/mariabackup/BareosFdPluginMariabackup.py | Diff File | ||
mod - core/src/plugins/filed/python/mariabackup/bareos-fd-mariabackup.py | Diff File | ||
mod - debian/bareos-filedaemon-mariabackup-python-plugin.install.in | Diff File | ||
master 775d0885 2023-11-22 16:37 Ported: N/A Details Diff |
python-fd: merge ldap plugin into a single file | ||
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-ldap-python-plugin | Diff File | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - core/src/plugins/filed/python/CMakeLists.txt | Diff File | ||
rm - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py | Diff File | ||
mod - core/src/plugins/filed/python/ldap/bareos-fd-ldap.py | Diff File | ||
mod - debian/bareos-filedaemon-ldap-python-plugin.install.in | Diff File | ||
master f5f5eec0 2023-11-22 16:34 Ported: N/A Details Diff |
python-fd: make failed plugin-load fatal Just returning bRC_Error from load_bareos_plugin() is apparently not enough to make Bareos fail the backup. Thus we emit an M_FATAL instead of an M_ERROR to fast-fail the job. This also fixes a subtle bug in the class decorator: as we weren't returning the class, the class itself was not available under its name which could lead to strange effects. |
||
mod - core/src/plugins/filed/python/pyfiles/BareosFdWrapper.py | Diff File | ||
master 9c58c8c7 2023-11-22 15:04 Ported: N/A Details Diff |
postgresql plugin: improve compatibility This patch makes the plugin compatible to PostgreSQL 10 again. |
||
mod - core/src/plugins/filed/python/postgresql/bareos-fd-postgresql.py | Diff File | ||
mod - systemtests/tests/py3plug-fd-postgresql/testrunner-roles | Diff File | ||
master 2c9735d7 2023-11-22 11:31 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
python-fd: prepare for 3.12 | ||
mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
master 440e3da0 2023-11-22 10:37 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
python-fd: fix multi plugin setups | ||
mod - core/src/plugins/filed/python/plugin_private_context.h | Diff File | ||
mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
master 909e5fa9 2023-11-22 08:58 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
reload: fix race condition The base config path may change on a reload! |
||
mod - core/src/dird/reload.cc | Diff File | ||
master 5ce7f477 2023-11-22 08:44 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
reload: fix race condition is_reloading can written to/ read from multiple different threads at the same time. As such we cannot just do a test-then-set approach (even if each of those operations were atomic). Instead we need to atomically test _and_ set the flag to actually prevent two different threads from entering. |
||
mod - core/src/dird/reload.cc | Diff File | ||
master 18d9ce09 2023-11-22 08:43 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
jcr: fix compiler warnings std::find_if is sometimes declared as [[nodiscard]]. As such we should not ignore its return value. This commit also slightly refactors the code to remove the use of std::find_if alltogether. |
||
mod - core/src/include/jcr.h | Diff File | ||
mod - core/src/lib/jcr.cc | Diff File | ||
master 73a3ec43 2023-11-21 19:55 Committer: arogge Ported: N/A Details Diff |
macos: add missing library required for macOS >= 14. Fixes 0001565: bareos-fd crash on macOS 14.1 Sonoma |
Affected Issues 0001565 |
|
mod - core/CMakeLists.txt | Diff File | ||
master 6b7237cb 2023-11-21 19:47 Committer: arogge Ported: N/A Details Diff |
cmake: set ENABLE_NLS=1 only if not defined | ||
mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
master 8722ba13 2023-11-21 13:11 Committer: arogge Ported: N/A Details Diff |
macos: use homebrew path | ||
mod - core/CMakeLists.txt | Diff File | ||
mod - core/cmake/BareosFindAllLibraries.cmake | Diff File | ||
mod - core/cmake/FindReadline.cmake | Diff File | ||
mod - core/src/plugins/CMakeLists.txt | Diff File |