Changesets: bareos
master 3feab89f 2024-01-08 13:46 Bareos Bot Committer: GitHub Ported: N/A Details Diff |
Merge pull request #1636 core: add build patch for `sprintf` in macos builds |
||
mod - .matrix.yml | Diff File | ||
mod - AUTHORS | Diff File | ||
mod - CHANGELOG.md | Diff File | ||
mod - core/src/tests/job_control_record.cc | Diff File | ||
master 90a29b50 2024-01-08 13:46 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master 7e8c73f3 2024-01-08 13:26 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
systemtests: remove duplicate entry | ||
mod - systemtests/CMakeLists.txt | Diff File | ||
master 680a0756 2024-01-08 12:58 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
scripts: fix check_for_zombie_jobs Trying to connect to a dead deamon takes around 15 secs, so doing it 20 times takes around 15 * 20 = 300 secs. Which means the test will time out, which is not very helpful. Now the test tries to wait for only the amount of time it was given (+- one extra attempt). |
||
mod - systemtests/scripts/functions | Diff File | ||
master 85fc344b 2024-01-08 11:40 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
matrix.yml: remove end of life FreeBSD 12.4 | ||
mod - .matrix.yml | Diff File | ||
master cb0eb70c 2024-01-05 07:24 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
authors: add rui chen to authors file | ||
mod - AUTHORS | Diff File | ||
master a54b0759 2024-01-05 07:02 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
bnet-server-tcp: fix close_socket for windows | ||
mod - core/src/lib/bnet_server_tcp.cc | Diff File | ||
master 989b8736 2024-01-05 06:49 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
thread-list: fix not properly deleting move constructor | ||
mod - core/src/lib/thread_list.h | Diff File | ||
master 27333f57 2024-01-04 15:19 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
ktls: remove use of "hardcoded" port value | ||
mod - core/src/tests/ktls.cc | Diff File | ||
master 4a327e62 2024-01-04 15:11 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
bnet-server-tcp: split up creating+binding and listening Instead of bnetservertcp doing open() + bind() + listen() all on its own, we instead split it up so that you can give the tcp server some already prepared sockets. This can be used for great effect in unit tests, where you can now 1) create the sockets inside the test with port set to 0 2) give those sockets to the tcp server to listen to 3) query the selected (free) port with getsockname This way you do not have to hardcode any ports inside the unit tests. This also another step in disentangling the socket code and the bareos core since you now do not need to read the address/port from the configuration. Hopefully we can in the future unit tests sockets without needing full blown config parsers. |
||
mod - core/src/dird/socket_server.cc | Diff File | ||
mod - core/src/dird/socket_server.h | Diff File | ||
mod - core/src/filed/socket_server.cc | Diff File | ||
mod - core/src/lib/bnet_server_tcp.cc | Diff File | ||
mod - core/src/lib/bnet_server_tcp.h | Diff File | ||
mod - core/src/stored/socket_server.cc | Diff File | ||
master d569a558 2024-01-03 08:55 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
checkpoints-test: fix comparing bad numbers The test was comparing the number of files that the fd send to the sd (this is the number displayed in the backup summary) to the number of files that get restored (which is equal to the number of files that the sd sends to the director). This of course does not make sense and can cause problems if the cancel does not happen fast enough. Since in that case the fd might continue sending files to the sd with the sd never having the chance to send those to the director. The fix is simple: we need to check the backup log and add up all checkpoint batch inserts instead. This should be equal to the number of files that the sd send to the director. For easier debugging I also added tracing to the test. |
||
mod - systemtests/tests/checkpoints/testrunner-checkpoints-on-cancel | Diff File | ||
master 9ec4dcde 2024-01-02 15:25 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
jobs: add version information to joblog Sadly on the fd side there is no easy way to do it for each job automatically. At the moment I added it manually to backup and restore jobs. We will see if we want to add them somewhere else as well. |
||
mod - core/src/dird/job.cc | Diff File | ||
mod - core/src/filed/backup.cc | Diff File | ||
mod - core/src/filed/dir_cmd.cc | Diff File | ||
mod - core/src/filed/restore.cc | Diff File | ||
mod - core/src/stored/fd_cmds.cc | Diff File | ||
master 0ff4f67c 2024-01-02 12:52 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
ktls-test: add tls module detection | ||
mod - core/src/tests/ktls.cc | Diff File | ||
master 80f2f651 2024-01-02 10:00 Sebastian Sura Committer: Bareos Bot Ported: N/A Details Diff |
heartbeat: change api | ||
mod - core/src/filed/backup.cc | Diff File | ||
mod - core/src/filed/dir_cmd.cc | Diff File | ||
mod - core/src/filed/filed_jcr_impl.h | Diff File | ||
mod - core/src/filed/heartbeat.cc | Diff File | ||
mod - core/src/filed/heartbeat.h | Diff File | ||
master e79d40ba 2023-12-27 17:58 gmueller2000privat Committer: stephand Ported: N/A Details Diff |
Make Prometheus Exporter work with pyhton3 | ||
mod - contrib/dir-plugins/prometheus/BareosDirPluginPrometheusExporter.py | Diff File | ||
master 67a87372 2023-12-27 15:06 Committer: Bareos Bot Ported: N/A Details Diff |
python-bareos: use socket.create_connection() - remove hard-coded AF_INET in socket creation. - replace socket.connect() by a higher-level function socket.create_connection() allowing AF_INET6 familly connection. - set a default of 30 to self.timeout, simplify code to remove `if self.timeout ...` Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com> Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com> |
||
mod - python-bareos/bareos/bsock/lowlevel.py | Diff File | ||
master fbcd7f0a 2023-12-22 17:43 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: cleanup traymonitor variables | ||
mod - CMakeLists.txt | Diff File | ||
mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
mod - core/CMakeLists.txt | Diff File | ||
mod - core/cmake/BareosGenerateDebianInfo.cmake | Diff File | ||
master 8d06f370 2023-12-22 17:40 Ported: N/A Details Diff |
pr_tool: use backport template from module This was previously taken from the backport-branch, which is probably not what we want. |
||
mod - devtools/pip-tools/pr_tool/backport.py | Diff File | ||
master 57b632d4 2023-12-22 17:17 Bareos Bot Committer: GitHub Ported: N/A Details Diff |
Merge pull request 0001595 plugins: fix cancel handling crash |
||
mod - CHANGELOG.md | Diff File | ||
mod - core/scripts/btraceback.in | Diff File | ||
mod - core/src/filed/dir_cmd.cc | Diff File | ||
mod - core/src/include/jcr.h | Diff File | ||
mod - core/src/lib/address_conf.cc | Diff File | ||
mod - core/src/lib/jcr.cc | Diff File | ||
mod - core/src/plugins/filed/python/module/bareosfd.cc | Diff File | ||
mod - core/src/plugins/filed/python/plugin_private_context.h | Diff File | ||
mod - core/src/plugins/filed/python/python-fd.cc | Diff File | ||
mod - core/src/plugins/stored/python/python-sd.cc | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/CancelFileset.conf.in | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/fileset/CancelNoWaitFileset.conf | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/etc/bareos/bareos-dir.d/job/cancel-check.conf | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/python-modules/cancel-check-module.py | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/testrunner-cancel-check | Diff File | ||
add - systemtests/tests/py3plug-fd-basic/testrunner-cancel-check-no-wait | Diff File | ||
master aa43c0b6 2023-12-22 17:17 Bareos Bot Ported: N/A Details Diff |
Update CHANGELOG.md | ||
mod - CHANGELOG.md | Diff File | ||
master d74b6b11 2023-12-22 17:03 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: remove unused includes option | ||
mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/BareosCommonMakefile | Diff File | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - debian/rules | Diff File | ||
master 27443a5e 2023-12-22 16:53 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: use options | ||
mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
mod - core/cmake/BareosGenerateDebianInfo.cmake | Diff File | ||
master dea08811 2023-12-22 15:55 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: remove unused readline option | ||
mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/BareosCommonMakefile | Diff File | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - debian/rules | Diff File | ||
master 40b02445 2023-12-22 15:51 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: remove unused lockmgr option | ||
mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
mod - core/CMakeLists.txt | Diff File | ||
master 4089de8a 2023-12-22 15:46 Committer: Bareos Bot Ported: N/A Details Diff |
cmake: remove unused sbin-perm option | ||
mod - cmake/BareosSetVariableDefaults.cmake | Diff File | ||
mod - core/platforms/packaging/bareos.spec | Diff File | ||
mod - debian/rules | Diff File |