Changesets: bareos
master 61bdac1a 2014-04-14 20:25 Marco van Wieringen Ported: N/A Details Diff |
Rework dlopen of plugins. Allow plugins to do lazy symbol binding when loading and allow the symbols to be global so in the python plugins we can load the dynload modules which are not linked against libpython. Otherwise we get symbol errors on load. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/lib/plugins.c | Diff File | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
master 4e524f68 2014-04-14 19:29 Ported: N/A Details Diff |
Fix warnings from merged code. | ||
mod - src/qt-console/bat_conf.cpp | Diff File | ||
mod - src/qt-tray-monitor/tray_conf.cpp | Diff File | ||
master b34fdea1 2014-04-14 19:11 Marco van Wieringen Ported: N/A Details Diff |
Fix some errors detected by coverity. | ||
mod - src/dird/dir_plugins.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/filed/accurate.h | Diff File | ||
mod - src/filed/fd_plugins.c | Diff File | ||
mod - src/lib/ini.c | Diff File | ||
mod - src/lib/res.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
master bded1e0c 2014-04-14 19:10 Ported: N/A Details Diff |
Fix warnings from merged code. | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/plugins/filed/test-plugin-fd.c | Diff File | ||
playground 185f00a4 2014-04-14 18:25 Ported: N/A Details Diff |
Rework dlopen of plugins. Allow plugins to do lazy symbol binding when loading and allow the symbols to be global so in the python plugins we can load the dynload modules which are not linked against libpython. Otherwise we get symbol errors on load. |
||
mod - autoconf/configure.in | Diff File | ||
mod - src/lib/plugins.c | Diff File | ||
mod - src/win32/compat/include/mingwconfig.h | Diff File | ||
master a41444d4 2014-04-14 17:11 Ported: N/A Details Diff |
Fix some errors detected by coverity. | ||
mod - src/dird/dir_plugins.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/filed/accurate.h | Diff File | ||
mod - src/filed/fd_plugins.c | Diff File | ||
mod - src/lib/ini.c | Diff File | ||
mod - src/lib/res.c | Diff File | ||
mod - src/stored/sd_plugins.c | Diff File | ||
master 5a777f4a 2014-04-11 16:25 Marco van Wieringen Ported: N/A Details Diff |
Fix packaging for new Python examples. Also created for debian the missing install files. |
||
add - debian/bareos-director-python-plugin.install | Diff File | ||
add - debian/bareos-filedaemon-python-plugin.install | Diff File | ||
add - debian/bareos-storage-python-plugin.install | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
playground 42b8c4c1 2014-04-11 14:25 Marco van Wieringen Ported: N/A Details Diff |
Fix packaging for new Python examples. Also created for debian the missing install files. |
||
add - debian/bareos-director-python-plugin.install | Diff File | ||
add - debian/bareos-filedaemon-python-plugin.install | Diff File | ||
add - debian/bareos-storage-python-plugin.install | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
master df09528a 2014-04-11 14:24 Maik Aussendorf Committer: Marco van Wieringen Ported: N/A Details Diff |
FD python plugin baseclass and sample plugins Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
add - src/plugins/filed/BareosFdPluginBaseclass.py | Diff File | ||
add - src/plugins/filed/BareosFdPluginLocalFileset.py | Diff File | ||
add - src/plugins/filed/BareosFdWrapper.py | Diff File | ||
add - src/plugins/filed/bareos-fd-local-fileset.py | Diff File | ||
add - src/plugins/filed/bareos-fd-mock-test.py | Diff File | ||
master b6724852 2014-04-11 13:14 Marco van Wieringen Ported: N/A Details Diff |
Add packaging of LMDB. | ||
mod - debian/bareos-common.install | Diff File | ||
mod - debian/rules | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
playground c96b8a9f 2014-04-11 12:24 Maik Aussendorf Committer: Marco van Wieringen Ported: N/A Details Diff |
FD python plugin baseclass and sample plugins Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
add - src/plugins/filed/BareosFdPluginBaseclass.py | Diff File | ||
add - src/plugins/filed/BareosFdPluginLocalFileset.py | Diff File | ||
add - src/plugins/filed/BareosFdWrapper.py | Diff File | ||
add - src/plugins/filed/bareos-fd-local-fileset.py | Diff File | ||
add - src/plugins/filed/bareos-fd-mock-test.py | Diff File | ||
playground 62e63709 2014-04-11 11:14 Marco van Wieringen Ported: N/A Details Diff |
Add packaging of LMDB. | ||
mod - debian/bareos-common.install | Diff File | ||
mod - debian/rules | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos.nsi | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
master 53b0e899 2014-04-10 13:04 Marco van Wieringen Ported: N/A Details Diff |
Use Py_InitializeEx() instead of Py_Initialize(). | ||
mod - src/plugins/filed/python-fd.c | Diff File | ||
playground ee96b58a 2014-04-10 11:04 Marco van Wieringen Ported: N/A Details Diff |
Use Py_InitializeEx() instead of Py_Initialize(). | ||
mod - src/plugins/filed/python-fd.c | Diff File | ||
bareos-13.2 fcb5da98 2014-04-10 11:04 Ported: N/A Details Diff |
Use Py_InitializeEx() instead of Py_Initialize(). | ||
mod - src/plugins/filed/python-fd.c | Diff File | ||
master 4b418ab8 2014-04-09 17:54 Marco van Wieringen Ported: N/A Details Diff |
Tweak docs. | ||
mod - README.scsicrypto | Diff File | ||
playground e9e33c6f 2014-04-09 15:54 Marco van Wieringen Ported: N/A Details Diff |
Tweak docs. | ||
mod - README.scsicrypto | Diff File | ||
bareos-13.2 4338d7c6 2014-04-09 12:52 Committer: mvwieringen Ported: N/A Details Diff |
Use config file settings to configure database Let the database configuration scripts get the configuration parameter from the director config file. Now, the scripts try to get there values in following order: 1. environment variable (db_name, db_user, db_password) 2. director config file 3. fallback value (from configure) Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - scripts/bareos-config-lib.sh.in | Diff File | ||
mod - src/cats/create_bareos_database.in | Diff File | ||
mod - src/cats/ddl/creates/mysql.sql | Diff File | ||
mod - src/cats/ddl/creates/postgresql.sql | Diff File | ||
mod - src/cats/ddl/creates/sqlite3.sql | Diff File | ||
mod - src/cats/ddl/grants/mysql-readonly.sql | Diff File | ||
mod - src/cats/ddl/grants/mysql.sql | Diff File | ||
mod - src/cats/ddl/updates/mysql.2001_2002.sql | Diff File | ||
mod - src/cats/drop_bareos_database.in | Diff File | ||
mod - src/cats/drop_bareos_tables.in | Diff File | ||
mod - src/cats/grant_bareos_privileges.in | Diff File | ||
mod - src/cats/make_bareos_tables.in | Diff File | ||
mod - src/cats/update_bareos_tables.in | Diff File | ||
master cfd0d453 2014-04-09 12:10 Marco van Wieringen Ported: N/A Details Diff |
Rebuild configure and config.h | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
playground 2b8e629f 2014-04-09 10:10 Marco van Wieringen Ported: N/A Details Diff |
Rebuild configure and config.h | ||
mod - autoconf/config.h.in | Diff File | ||
mod - configure | Diff File | ||
master 64e8575e 2014-04-08 22:49 Joerg Steffens Committer: Marco van Wieringen Ported: N/A Details Diff |
remove mysql user bareos@% and tries to avoid problems with make_bareos_tables when called multiple times Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - src/cats/ddl/creates/mysql.sql | Diff File | ||
mod - src/cats/ddl/creates/postgresql.sql | Diff File | ||
mod - src/cats/ddl/creates/sqlite3.sql | Diff File | ||
mod - src/cats/ddl/updates/mysql.2001_2002.sql | Diff File | ||
master c752fd8d 2014-04-08 20:49 Committer: mvwieringen Ported: N/A Details Diff |
remove mysql user bareos@% and tries to avoid problems with make_bareos_tables when called multiple times Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - src/cats/ddl/creates/mysql.sql | Diff File | ||
mod - src/cats/ddl/creates/postgresql.sql | Diff File | ||
mod - src/cats/ddl/creates/sqlite3.sql | Diff File | ||
mod - src/cats/ddl/updates/mysql.2001_2002.sql | Diff File | ||
master b72aff3d 2014-04-05 12:10 Marco van Wieringen Ported: N/A Details Diff |
Remove old versions of libraries. | ||
mod - src/lmdb/Makefile.in | Diff File | ||
mod - src/ndmp/Makefile.in | Diff File | ||
master ce2ad8f5 2014-04-05 12:10 Marco van Wieringen Ported: N/A Details Diff |
Bump version number. | ||
mod - configure | Diff File | ||
mod - platforms/packaging/bareos-Debian_6.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-Debian_7.0.dsc | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.1.dsc | Diff File | ||
mod - platforms/packaging/bareos-Univention_3.2.dsc | Diff File | ||
mod - platforms/packaging/bareos-xUbuntu_10.04.dsc | Diff File | ||
mod - platforms/packaging/bareos-xUbuntu_12.04.dsc | Diff File | ||
mod - platforms/packaging/bareos.changes | Diff File | ||
mod - platforms/packaging/bareos.dsc | Diff File | ||
mod - platforms/packaging/bareos.spec | Diff File | ||
mod - platforms/win32/mingw-debugsrc-devel.spec | Diff File | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
mod - po/POTFILES.in | Diff File | ||
mod - po/de.po | Diff File | ||
mod - po/es.po | Diff File | ||
mod - po/fr.po | Diff File | ||
mod - po/it.po | Diff File | ||
mod - po/nl.po | Diff File | ||
mod - po/pl.po | Diff File | ||
mod - po/sv.po | Diff File | ||
mod - po/uk.po | Diff File | ||
mod - src/include/version.h | Diff File | ||
master a636cdfb 2014-04-05 12:10 Marco van Wieringen Ported: N/A Details Diff |
Implement some missing functionality in python-fd plugin. - Implement bEventHandleBackupFile event. Implemented the missing code for handling the bEventHandleBackupFile event by calling a new entry point (handle_backup_file) in the python module and passing it in a savepacket structure with the file being processed. The return codes are also fixed along the way things work now like this: - bRC_OK: Options plugin will do backup e.g. call IOmethod in plugin. - bRC_Skip: Options plugin want to skip the backup of this file. - bRC_Core: Options plugin want the Bareos core to do the backup of the file. - bRC_*: Error abort backing up. - Implement check_file() method. Implemented the missing code for handling the check_file() method by calling a new entry point (check_file) in the python module and passing it the filename of the file currently being processed. - Implement create_file() method. Allow a python script to do everything a normal C-plugin can also do in the create_file() plugin method. For this we needed to implement the RestorePacket structure in Python and create a dummy create_file method in python that returns CF_EXTRACT in the create_status field of the restore_packet structure. - Implement event filtering for certain events. Some events get generated via a different code path and were up until now not filtered using the is_event_enabled() function. Added support to the following functions: - plugin_option_handle_file() - plugin_save() - plugin_estimate() - plugin_name_stream() Also refactored the code along the way. |
||
mod - src/filed/backup.c | Diff File | ||
mod - src/filed/fd_plugins.c | Diff File | ||
mod - src/plugins/filed/bareos-fd.py | Diff File | ||
mod - src/plugins/filed/python-fd.c | Diff File | ||
mod - src/plugins/filed/python-fd.h | Diff File |