Changesets: bareos

master 6a61aa33

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
core: add handling of CFG_TYPE_DIR_OR_CMD in PropagateResource

This config type has been introduced recently
and wasn't handled by PropagateResource (Job/JobDefs).
mod - core/src/dird/dird_conf.cc Diff File

master 6d7b3dfd

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
systemtests python-bareos: add tests for the delete command
mod - systemtests/tests/python-bareos/python-bareos-unittest.py Diff File

master 1699bd1a

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
gtest: added test for db_list_ctx
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/test_db_list_ctx.cc Diff File

master 5d4cefed

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
core: inherit class db_list_ctx from BStringList

This change improves the handling of output from the "delete" command.
The changes are required to access the individual jobids in the list,
instead of having only access to the a string containing the comma seperated list of jobids.

The count() function has been replaced with the standard size() function.
The reset() function has been replaced with the standard clear() function.

cleanup

cleanup
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/cats/cats.cc Diff File
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_create.cc Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/backup.cc Diff File
mod - core/src/dird/bsr.cc Diff File
mod - core/src/dird/consolidate.cc Diff File
mod - core/src/dird/migrate.cc Diff File
mod - core/src/dird/ndmp_ndmmedia_db_helpers.cc Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_dotcmds.cc Diff File
mod - core/src/dird/ua_prune.cc Diff File
mod - core/src/dird/ua_purge.cc Diff File
mod - core/src/dird/ua_restore.cc Diff File
mod - core/src/dird/vbackup.cc Diff File
mod - core/src/dird/vbackup.h Diff File
mod - core/src/include/jcr.h Diff File
mod - core/src/lib/jcr.cc Diff File

master 658e6049

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
core: implement json output of delete command
mod - core/src/cats/cats.cc Diff File
mod - core/src/cats/cats.h Diff File
mod - core/src/dird/ua_cmds.cc Diff File
mod - core/src/dird/ua_purge.cc Diff File

master a62206e0

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
core: prevents a director crash when calling "configure add schedule"

The code to parse a schedule run directive calls the scan_err function
in case of a parse error.
However, it did assume, that scan_err terminates the director.
While this is true when parsing at the start of the director,
it isn't true, when called by the "configure add" command.

This patch improves the error handling, by exiting the parse function
when an error is detected.
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/run_conf.cc Diff File

master ac09b092

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
core: prevent crash when calling the setip command
mod - core/src/dird/ua_cmds.cc Diff File

master 8e0c4bdd

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
core: show command: JSON output for "show disabled"
mod - core/src/dird/ua_output.cc Diff File

master b983adbf

2020-09-21 20:17

joergs

Ported: N/A

Details Diff
core: prevent adding or showing Device resources

Devices are no config file resources.
They are only used internally, to represent Storages.
mod - core/src/dird/show_cmd_available_resources.h Diff File
mod - core/src/dird/ua_configure.cc Diff File
mod - core/src/lib/parse_conf.cc Diff File
mod - core/src/tests/show_cmd_available_resources_equals_config_resources.cc Diff File

master 8aac6319

2020-09-18 13:22

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000600 from bareos/dev/pstorz/master/terabyte-sizes

allow terabytes, tebibytes, petabytes,pebibytes, exabytes and exbibytes modifiers when specifying sizes
mod - core/src/lib/edit.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/lib/res.cc Diff File
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/test_edit.cc Diff File
mod - docs/manuals/source/Configuration/CustomizingTheConfiguration.rst Diff File

master 6ef336ab

2020-09-18 11:28

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Update core/src/tests/test_edit.cc

Co-authored-by: Andreas Rogge <andreas.rogge@bareos.com>
mod - core/src/tests/test_edit.cc Diff File

master e5438df6

2020-09-17 15:41

arogge

Ported: N/A

Details Diff
debian: no mysql/sqlite3 dbconfig-common install

This patch removes the dbconfig-common installation scripts for MySQL
and SQlite3.
Upgrades will still work.
mod - core/platforms/debian/CMakeLists.txt Diff File
mod - debian/bareos-database-mysql.install.in Diff File
mod - debian/bareos-database-sqlite3.install.in Diff File

bareos-18.2 602ee1a7

2020-09-17 15:02

arogge

Ported: N/A

Details Diff
Merge branch 'dev/arogge/bareos-18.2/TT4200674' into bareos-18.2
mod - core/src/plugins/filed/BareosFdPluginLDAP.py Diff File

master ff2fd7b3

2020-09-17 14:27

Jörg Steffens


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000602 from bareos/dev/joergs/master/config-dump-fix

Fixes newly introduced problems with the show command
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/lib/output_formatter_resource.cc Diff File
mod - core/src/lib/output_formatter_resource.h Diff File
mod - core/src/lib/res.cc Diff File
mod - systemtests/tests/python-bareos/python-bareos-unittest.py Diff File

bareos-19.2 d1721808

2020-09-17 12:45

arogge


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000601 from arogge/dev/arogge/bareos-19.2/TT4200674

Improve LDAP Plugin for Filedaemon (Backport PR 0000595 to bareos-19.2)
mod - core/src/plugins/filed/BareosFdPluginLDAP.py Diff File
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/data/image.tgz Diff File
mod - systemtests/environment.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/device/FileStorage.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/director/Director-local.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/testdata.py Diff File
add - systemtests/tests/py2plug-fd-ldap/testrunner Diff File

bareos-19.2 1f4ca4fa

2020-09-17 12:36

pstorz

Ported: N/A

Details Diff
systemtests: cmake: detect PYTHON before first use
mod - systemtests/CMakeLists.txt Diff File

master 1adc2058

2020-09-16 23:13

pstorz

Ported: N/A

Details Diff
docs: line breaks in dir(bareofd) output, fix typos
mod - docs/manuals/source/TasksAndConcepts/Plugins.rst Diff File

master fb388283

2020-09-16 20:10

joergs

Ported: N/A

Details Diff
core: fix for console command show in JSON mode names resource types in plural form.

While the JSON format should use the resource type in plural form,
the original form is still required when writing plain text config resources.
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/lib/output_formatter_resource.cc Diff File
mod - core/src/lib/output_formatter_resource.h Diff File
mod - core/src/lib/res.cc Diff File

bareos-18.2 d4c95afc

2020-09-16 19:43

arogge

Ported: N/A

Details Diff
filed: ldap - reformat with black for cherry-pick

This patch applies black formatting to BareosFdPluginLDAP.py so we can
successfully cherry-pick patches.
mod - core/src/plugins/filed/BareosFdPluginLDAP.py Diff File

master 2f26bd55

2020-09-16 19:05

joergs

Ported: N/A

Details Diff
systemtest python-bareos: adapt to modified keys
mod - systemtests/tests/python-bareos/python-bareos-unittest.py Diff File

master 30d8060b

2020-09-16 14:32

pstorz


Committer: arogge

Ported: N/A

Details Diff
tests: run systemtests during build and exclude broken tests

- Tests that are not reliable were marked with the label "broken"
and are excluded when running tests during build.

- Removed check for container environment to exclude tests.

- Adjusted test timeout to suffice when build system is busy.

- Buildsystem now requires all tests to pass
mod - core/platforms/packaging/bareos.spec Diff File
mod - core/src/plugins/filed/python/CMakeLists.txt Diff File
mod - core/src/tests/CMakeLists.txt Diff File
mod - debian/rules Diff File
mod - systemtests/CMakeLists.txt Diff File

master d90f4380

2020-09-16 12:54

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000595 from arogge/dev/arogge/master/TT4200674

Improve LDAP Plugin for Filedaemon
mod - core/src/plugins/filed/python/ldap/BareosFdPluginLDAP.py Diff File
mod - core/src/plugins/filed/python/ldap/bareos-fd-ldap.py Diff File
mod - systemtests/CMakeLists.txt Diff File
add - systemtests/data/image.tgz Diff File
mod - systemtests/environment.in Diff File
add - systemtests/tests/py2plug-fd-ldap/README.md Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/catalog/MyCatalog.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/client/bareos-fd.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/Catalog.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/PluginTest.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/fileset/SelfTest.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/BackupCatalog.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/RestoreFiles.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/job/backup-bareos-fd.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/jobdefs/DefaultJob.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Daemon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/messages/Standard.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Differential.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Full.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Incremental.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/pool/Scratch.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/profile/operator.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-dir.d/storage/File.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-fd.d/messages/Standard.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/device/FileStorage.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-dir.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/director/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/messages/Standard.conf Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/bconsole.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/client/FileDaemon-local.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/director/Director-local.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/monitor/bareos-mon.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/etc/bareos/tray-monitor.d/storage/StorageDaemon-local.conf.in Diff File
add - systemtests/tests/py2plug-fd-ldap/testdata.py Diff File
add - systemtests/tests/py2plug-fd-ldap/testrunner Diff File

bareos-18.2 6ee5c083

2020-09-15 22:20

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000590 from bareos/dev/pstorz/bareos-18.2/fedora-buildchain

18.2: adaptions for new cross build chain backport
mod - core/CMakeLists.txt Diff File
mod - core/platforms/win32/winbareos.nsi Diff File
mod - core/src/lib/crypto_openssl.cc Diff File
mod - core/src/lib/crypto_openssl.h Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

bareos-19.2 0db190b6

2020-09-15 22:19

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000589 from bareos/dev/pstorz/bareos-19.2/fedora-buildchain

19.2: adaptions for new cross build chain backport
mod - core/CMakeLists.txt Diff File
mod - core/platforms/win32/winbareos.nsi Diff File
mod - core/src/lib/crypto_openssl.cc Diff File
mod - core/src/lib/crypto_openssl.h Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master 8d5c1de6

2020-09-15 22:19

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000588 from bareos/dev/pstorz/master/fedora-buildchain

master: adaptions for new cross build chain
mod - core/platforms/win32/clientdialog.ini Diff File
mod - core/platforms/win32/winbareos.nsi Diff File
mod - core/src/lib/crypto_openssl.cc Diff File
mod - core/src/lib/crypto_openssl.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 225 226 227 228 229 230 231 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last