Changesets: bareos

master d8df09ce

2024-11-13 15:12

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
ua-output: fix not printing what bareos does

Its important that error messages output what bareos thinks and not
what the user inputed (as the user knows that himself).

This caused a weird issue on windows when 'show job=<jobname>' was
interpreted as 'show jobdefs=<jobname>' which returned the error

job resource <jobname> not found.

Which is extremely misleading, as bareos never searched for a job in
that case. If the error message would have been instead

jobdefs resource <jobname> not found.

then the user at least notices that bareos did something wrong and try
some other input instead of trying to understand why the job was not
found.
mod - core/src/dird/ua_output.cc Diff File

master 2ca064e9

2024-11-13 14:41

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
ua-output: fix resource order

Previously the iteration order depended on the c++ lib
implementation (and could also be change from run to run). This lead
to issues where 'show job' would print jobs on linux but jobdefs on
windows.

To make sure that always the same element is chosen, we need to make
sure the order is always the same. This is easily done by just using
a vector here.
mod - core/src/dird/ua_output.cc Diff File
mod - core/src/dird/ua_output.h Diff File

master 3ec4c738

2024-11-13 13:55

Sebastian Sura


Committer: Bareos Bot

Ported: N/A

Details Diff
testfind: fix number of found files on windows

Now that windows supports hardlinks, we need to add them back to the
count, as they are not deleted in setup_data anymore.
mod - systemtests/tests/testfind/testrunner Diff File

master 2893613d

2024-11-12 10:12

bruno-at-bareos


Committer: Bareos Bot

Ported: N/A

Details Diff
adr: always-use-integer-when-comparing-timestamp-numbers

Introduce newly accepted adr for python code:
0003-always-use-integer-when-comparing-timestamp-numbers-in-python

Fix typo in README.md

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Co-authored-by: Sebastian Sura <124262655+sebsura@users.noreply.github.com>
add - docs/adr/0003-always-use-integer-when-comparing-timestamps-numbers-in-python.md Diff File
mod - docs/adr/README.md Diff File

master e558de7f

2024-11-11 15:34

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1989

docs: move bareos-devel to github discussion
mod - CHANGELOG.md Diff File
mod - docs/manuals/source/DeveloperGuide/Webui.rst Diff File
mod - docs/manuals/source/DeveloperGuide/generaldevel.rst Diff File
mod - docs/manuals/source/DocumentationStyleGuide/CommonNames.rst Diff File
mod - docs/manuals/source/TasksAndConcepts/BareosSecurityIssues.rst Diff File
mod - docs/manuals/source/TasksAndConcepts/Plugins/FileDaemonPlugins/VMwarePlugin.rst.inc Diff File
mod - docs/manuals/source/TasksAndConcepts/TheWindowsVersionOfBareos.rst Diff File
mod - docs/manuals/source/conf.py Diff File

master adf284c3

2024-11-11 15:34

Bareos Bot

Ported: N/A

Details Diff
Update CHANGELOG.md
mod - CHANGELOG.md Diff File

master 016358eb

2024-11-11 12:13

pstorz

Ported: N/A

Details Diff
fix bareos-dir-config-schema.json
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json Diff File

master f5be8713

2024-11-11 10:23

pstorz


Committer: Bareos Bot

Ported: N/A

Details Diff
cmake: build test fd with file limit enabled
mod - core/src/filed/CMakeLists.txt Diff File
mod - core/src/filed/backup.h Diff File
mod - systemtests/CMakeLists.txt Diff File

master edd3c639

2024-11-11 09:15

pstorz

Ported: N/A

Details Diff
findlib, filed: remove fo->base traces
mod - core/src/filed/dir_cmd.cc Diff File
mod - core/src/filed/fileset.cc Diff File
mod - core/src/findlib/find.cc Diff File

master aa51eadd

2024-11-08 14:43

pstorz


Committer: Bareos Bot

Ported: N/A

Details Diff
mssql TearDownVdiDevice: enhance error reporting
mod - core/src/win32/plugins/filed/mssqlvdi-fd.cc Diff File

master 94bba01b

2024-11-08 12:53

pstorz


Committer: Bareos Bot

Ported: N/A

Details Diff
build bareos-test-fd
mod - core/src/filed/CMakeLists.txt Diff File

master 2be1d583

2024-11-08 12:25

pstorz

Ported: N/A

Details Diff
findlib: remove BaseJobOpts and base
mod - core/src/filed/fileset.cc Diff File
mod - core/src/findlib/find.cc Diff File
mod - core/src/findlib/find.h Diff File

master c366bcba

2024-11-08 12:08

pstorz

Ported: N/A

Details Diff
inc_conf.cc: cleanup INC_KW_BASEJOB and more
mod - core/src/dird/inc_conf.cc Diff File

master eb6eb724

2024-11-08 12:03

pstorz

Ported: N/A

Details Diff
testing_dir_common.cc: remove debug_level setting
mod - core/src/tests/testing_dir_common.cc Diff File

master 9fa34d26

2024-11-08 12:02

pstorz

Ported: N/A

Details Diff
inc_conf.cc: remove PERMITTED_BASEJOB_OPTIONS
mod - core/src/dird/inc_conf.cc Diff File

master 2eeb3b5b

2024-11-08 07:47

Bareos Bot


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request #1994

add Honor No Dump Flag to config output
mod - CHANGELOG.md Diff File
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/inc_conf.cc Diff File
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json Diff File
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in Diff File

master 670bea2a

2024-11-08 07:47

Bareos Bot

Ported: N/A

Details Diff
Update CHANGELOG.md
mod - CHANGELOG.md Diff File

master b50ae922

2024-11-07 15:20

Sebastian Sura

Ported: N/A

Details Diff
config-dump: update test to include HonorNoDumpFlag
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in Diff File

master 703ae865

2024-11-07 14:40

Sebastian Sura

Ported: N/A

Details Diff
cats: remove unnecessary macros

The removed macros were just used to inject line information into the
db calls. As this can now just be done by using source_location we
can remove them and just use proper functions.
mod - core/src/cats/bvfs.cc Diff File
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/postgresql.cc Diff File
mod - core/src/cats/sql.cc Diff File
mod - core/src/cats/sql_create.cc Diff File
mod - core/src/cats/sql_delete.cc Diff File
mod - core/src/cats/sql_find.cc Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/cats/sql_list.cc Diff File
mod - core/src/cats/sql_update.cc Diff File

master 6e18f924

2024-11-07 14:39

Sebastian Sura

Ported: N/A

Details Diff
cats: enhance dblocker by adding line info

We used to supply LockDb/UnlockDb with pretty useless line numbers as
they were always the same regardless of which DbLocker it actually
was. Now we use the line information of the creation of the DbLocker.
mod - core/src/cats/cats.h Diff File

master c87856c9

2024-11-07 14:37

Sebastian Sura

Ported: N/A

Details Diff
rwlock: enhance debugability

Now we get some line numbers in the assertion which should help us
figuring out the problem in case no backtrace is available.
mod - core/src/cats/cats.h Diff File
mod - core/src/lib/rwlock.cc Diff File
mod - core/src/lib/rwlock.h Diff File

master 2554379f

2024-11-07 14:23

bruno-at-bareos


Committer: Bareos Bot

Ported: N/A

Details Diff
cmake: use VERSION_GREATER_EQUAL PG version 10

Our plugin is able to work with PostgreSQL 10.

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - systemtests/tests/py3plug-fd-postgresql/CMakeLists.txt Diff File

master 7ad95450

2024-11-07 13:36

Sebastian Sura

Ported: N/A

Details Diff
wrap-test: fix missing <memory> include
mod - core/src/tests/wrap.cc Diff File

master bae62f42

2024-11-07 10:40

Sebastian Sura

Ported: N/A

Details Diff
lib: add source_location polyfill
mod - core/cmake/BareosCheckFunctions.cmake Diff File
mod - core/src/include/config.h.in Diff File
add - core/src/lib/source_location.h Diff File
mod - core/src/win32/compat/include/mingwconfig.h Diff File

master ed1af63f

2024-11-07 09:22

Sebastian Sura

Ported: N/A

Details Diff
sql: remove bad assertion

This function is only called when everything is stopped, so we should
not assert that we are the owner here ...
mod - core/src/cats/sql.cc Diff File
 First  Prev  1 2 3 4 5 6 7 8 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 644 645 646  Next  Last