Changesets: bareos

master 76104e4d

2019-03-15 13:57:45

arogge_adm

Ported: N/A

Details Diff
improve code based on franku's review

- actually use std::string instead of char*
- use a reference to VolSessionInfo
- add str_to_uint16()/str_to_uint32()
Attach Issues:
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/lib/volume_session_info.h Diff File

bareos-18.2 d1c50079

2019-03-15 13:57:45

arogge_adm

Ported: N/A

Details Diff
improve code based on franku's review

- actually use std::string instead of char*
- use a reference to VolSessionInfo
- add str_to_uint16()/str_to_uint32()
Attach Issues:
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
mod - core/src/lib/edit.h Diff File
mod - core/src/lib/volume_session_info.h Diff File

master a3affbea

2019-03-15 12:49:36

arogge_adm


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000159 from bareos/dev/arogge/master/acl-buildflag

cmake: ignore acl setting on win32
Attach Issues:
mod - core/CMakeLists.txt Diff File

master 3ac644bb

2019-03-14 10:50:39

arogge_adm

Ported: N/A

Details Diff
cmake: disable acl on win32 by default

a previous patch broke win32 builds when it failed
a build with acl enabled, but libacl was not
available.
As win32 does not require libacl to support acl
we simply ignore wether or not libacl is available
on win32.
Attach Issues:
mod - core/CMakeLists.txt Diff File

master a2014835

2019-03-14 09:28:25

arogge_adm

Ported: N/A

Details Diff
dird: redesign GetNdmpEnvironmentString() API

Fixes 0001056: NDMP restore on 16.2.5 and above does
not fill NDMP environment correctly

Previously one overload of the function
GetNdmpEnvironmentString() wanted a JobDbRecord*
and expected jr->VolSessionId and jr->VolSessionTime
to contain the values for the volume from which the
restore happens. These had to be filled manually
before calling GetNdmlEnvironmentString() which had
not been done since 16.2.5 resulting in 0001056.

This patch now redesigns the API for all overloads
of GetNdmpEnviromentString() to make it harder
to misuse.

We also add a new struct VolumeSessionInfo to wrap
a pair of VolumeSessionId and VolumeSessionTime.
These two numbers are only meaningful together, so
they now have their own container.
Affected Issues
0001056
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
add - core/src/lib/volume_session_info.h Diff File

bareos-18.2 e514ec5b

2019-03-14 09:28:25

arogge_adm

Ported: N/A

Details Diff
dird: redesign GetNdmpEnvironmentString() API

Fixes 0001056: NDMP restore on 16.2.5 and above does
not fill NDMP environment correctly

Previously one overload of the function
GetNdmpEnvironmentString() wanted a JobDbRecord*
and expected jr->VolSessionId and jr->VolSessionTime
to contain the values for the volume from which the
restore happens. These had to be filled manually
before calling GetNdmlEnvironmentString() which had
not been done since 16.2.5 resulting in 0001056.

This patch now redesigns the API for all overloads
of GetNdmpEnviromentString() to make it harder
to misuse.

We also add a new struct VolumeSessionInfo to wrap
a pair of VolumeSessionId and VolumeSessionTime.
These two numbers are only meaningful together, so
they now have their own container.
Affected Issues
0001056
mod - core/src/cats/cats.h Diff File
mod - core/src/cats/sql_get.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_NATIVE.cc Diff File
add - core/src/lib/volume_session_info.h Diff File

master cfc97d3f

2019-03-10 13:52:26

pstorz


Committer: franku

Ported: N/A

Details Diff
systemtests: optimize multiplied-device-test

- Only run one backup and restore run
- enable parallel run with other tests
Attach Issues:
mod - systemtests/tests/multiplied-device-test/etc/bareos/bareos-dir.d/director/bareos-dir.conf.in Diff File
mod - systemtests/tests/multiplied-device-test/etc/bareos/bareos-fd.d/client/myself.conf.in Diff File
mod - systemtests/tests/multiplied-device-test/etc/bareos/bareos-sd.d/storage/bareos-sd.conf.in Diff File
mod - systemtests/tests/multiplied-device-test/testrunner Diff File

bareos-18.2 ed3a293d

2019-03-10 13:17:36

joergs

Ported: N/A

Details Diff
docs (Latex): removed BareosMainReference from package
Attach Issues:
mod - docs/debian/docs Diff File

bareos-18.2 0ed0bc5b

2019-03-10 11:24:26

joergs

Ported: N/A

Details Diff
docs (Latex): reverting 22bcf867fdd0107bbe07b9bc65f0e16b3ea19081

This commit breaks converting the images.
Attach Issues:
mod - docs/manuals/images/Makefile Diff File

master c802aba0

2019-03-10 03:38:05

franku

Ported: N/A

Details Diff
tests: enabled multiplied-device-test
Attach Issues:
mod - core/src/tests/multiplied_device_test.cc Diff File
mod - systemtests/CMakeLists.txt Diff File

bareos-18.2 e15cb359

2019-03-08 16:02:49

arogge_adm

Ported: N/A

Details Diff
docs: overhaul the developer guidelines
Attach Issues:
mod - docs/manuals/en/new_main_reference/source/developers/generaldevel.rst Diff File

master 24b4360f

2019-03-08 15:56:25

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000155 from bareos/dev/arogge/master/acl-buildflag

cmake: reasonable error for missing acl library
Attach Issues:
mod - core/CMakeLists.txt Diff File

bareos-18.2 117dce55

2019-03-08 10:03:02

arogge_adm

Ported: N/A

Details Diff
docs: make diagrams work with newer plantuml

Previously the diagrams for docs.bareos.org have
been built using plantuml 8033 (which even
predates the modern versioning scheme). This patch
updates some of the diagrams to still look nice
when built using plantuml 1.2019.2 (which is the
latest version as of now).
Attach Issues:
mod - docs/manuals/en/new_main_reference/source/bareos-18.2.rst Diff File
mod - docs/manuals/en/new_main_reference/source/developers/releasenotes.rst Diff File

bareos-18.2 920fe2ba

2019-03-07 17:58:30

joergs

Ported: N/A

Details Diff
docs: (LaTex) adapted documenation to be better convertible

and also fix the generation of Latex based documentaion.
The top level Makefile will only build the Latex documentation.
Also disable the test, if all configuration directives are defined.
As the documentation will be switched to RST/Sphinx,
the new configuration directives will not be documented in Latex.
Attach Issues:
mod - docs/Makefile Diff File
mod - docs/manuals/en/main/Makefile Diff File
mod - docs/manuals/en/main/bareos.sty Diff File
mod - docs/manuals/en/main/dirdconf-fileset.tex Diff File
mod - docs/manuals/en/main/tls.tex Diff File
rm - docs/manuals/en/new_main_reference/source/TasksAndConcepts/HowToManuallyTransferDatavolumes.rst Diff File

master 0ba3f41b

2019-03-07 16:36:41

arogge_adm

Ported: N/A

Details Diff
cmake: reasonable error for missing acl library

Ensure that there is a reasonable error when the acl library
cannot be found but was requested.
Attach Issues:
mod - core/CMakeLists.txt Diff File

master 808cdb63

2019-03-07 16:25:44

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000126 from peter-kutak/pull1

Keep option to disable ACL
Attach Issues:
mod - core/CMakeLists.txt Diff File

master d8a4e458

2019-03-07 16:25:18

pstorz


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000153 from bareos/dev/arogge/master/make_unique

core: backport make_unique from C++14
Attach Issues:
add - core/src/include/make_unique.h Diff File

master 06ae16d1

2019-03-07 14:39:57

arogge_adm

Ported: N/A

Details Diff
tests: add some basic tests for device reservation

This patch adds a gmock-based test suite that tests
some of the countless code paths of UseDeviceCmd().
Attach Issues:
mod - core/src/tests/CMakeLists.txt Diff File
add - core/src/tests/bsock_mock.h Diff File
add - core/src/tests/configs/sd_reservation/README.txt Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/auto1.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/auto2.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/single1.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/single2.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/device/single3.conf.in Diff File
add - core/src/tests/configs/sd_reservation/bareos-sd.d/storage/myself.conf.in Diff File
add - core/src/tests/sd_reservation.cc Diff File

bareos-18.2 8b48304b

2019-03-07 14:36:16

joergs

Ported: N/A

Details Diff
docs: (Sphinx) replace links with files copied from main/

This is required, as sphinx-versioning can't cope with links.
Attach Issues:
mod - docs/manuals/en/new_main_reference/Makefile Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-catalog-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-client-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-console-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-counter-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-device-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-director-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-fileset-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-job-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-jobdefs-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-messages-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-pool-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-profile-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-schedule-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-storage-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-dir-resource-user-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-fd-resource-client-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-fd-resource-director-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-fd-resource-filedaemon-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-fd-resource-messages-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-sd-resource-autochanger-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-sd-resource-device-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-sd-resource-director-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-sd-resource-messages-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-sd-resource-ndmp-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-sd-resource-storage-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-tray-monitor-resource-client-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-tray-monitor-resource-consolefont-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-tray-monitor-resource-director-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-tray-monitor-resource-monitor-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bareos-tray-monitor-resource-storage-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bconsole-resource-console-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/autogenerated/bconsole-resource-director-description.rst.inc Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirClientHardQuota1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirClientSoftQuotaGracePeriod1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirClientSoftQuotaGracePeriod2.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirClientSoftQuotaGracePeriod3.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirClientStrictQuotas1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirClientStrictQuotas2.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirConsoleJobACL1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobRun1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobRunAfterFailedJob1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobRunBeforeJob1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobRunBeforeJob2.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobRunScript1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobRunScript2.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobRunScript3.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobStripPrefix1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirJobWriteBootstrap1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirPoolActionOnPurge1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/DirPoolActionOnPurge2.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/FdClientAllowedJobCommand1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/FdClientAllowedScriptDir1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/FdClientFDAddresses1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/FdClientPki.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/MessagesMailCommand1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceAlertCommand1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceAlertCommand2.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceArchiveDevice1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceChangerCommand1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceDeviceOptionsGfapi1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceDeviceOptionsRados1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceMinimumBlockSize1.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceMinimumBlockSize2.conf Diff File
add - docs/manuals/en/new_main_reference/source/include/config/SdDeviceUnmountCommand1.conf Diff File

bareos-18.2 71eb0fbe

2019-03-07 14:33:47

joergs

Ported: N/A

Details Diff
docs: (Sphinx) remove links, as sphinx-versioning can't cope with them
Attach Issues:
rm - docs/manuals/en/new_main_reference/source/autogenerated Diff File
rm - docs/manuals/en/new_main_reference/source/include/agpl.txt Diff File
add - docs/manuals/en/new_main_reference/source/include/agpl.txt Diff File
rm - docs/manuals/en/new_main_reference/source/include/config Diff File
rm - docs/manuals/en/new_main_reference/source/include/fdl.txt Diff File
add - docs/manuals/en/new_main_reference/source/include/fdl.txt Diff File
rm - docs/manuals/en/new_main_reference/source/include/lgpl.txt Diff File
add - docs/manuals/en/new_main_reference/source/include/lgpl.txt Diff File

master fb2869b5

2019-03-07 14:33:02

arogge_adm

Ported: N/A

Details Diff
stored: avoid memory-leak on malformed use device

Previously the UseDeviceCmd() leaked an alist when
the command parsing failed.
Attach Issues:
mod - core/src/stored/reserve.cc Diff File

master cd012476

2019-03-07 14:28:23

arogge_adm

Ported: N/A

Details Diff
core: add backport make_unique from C++14

This patch backports make_unique() from
C++14 using the proposal in N3656
Attach Issues:
add - core/src/include/make_unique.h Diff File

bareos-18.2 cb61f2f7

2019-03-07 11:20:48

Jörg Steffens


Committer: GitHub

Ported: N/A

Details Diff
Merge pull request 0000152 from bareos/dev/arogge/bareos-18.2/reservation-docs

docs: add developer documentation for reservation
Attach Issues:
mod - docs/manuals/en/new_main_reference/source/conf.py Diff File
mod - docs/manuals/en/new_main_reference/source/developers.rst Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation.rst Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation/ReserveDevice.puml Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation/UseDeviceCmd.puml Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation/legend.puml Diff File

bareos-18.2 9136a054

2019-03-06 16:49:44

arogge_adm

Ported: N/A

Details Diff
docs: add developer documentation for reservation

This also switches PlantUML's output format to
"svg_img", so the large activity diagrams are not
truncated.
Attach Issues:
mod - docs/manuals/en/new_main_reference/source/conf.py Diff File
mod - docs/manuals/en/new_main_reference/source/developers.rst Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation.rst Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation/ReserveDevice.puml Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation/UseDeviceCmd.puml Diff File
add - docs/manuals/en/new_main_reference/source/developers/reservation/legend.puml Diff File

master c5b7c99d

2019-03-06 16:06:11

franku

Ported: N/A

Details Diff
cleanup: removed a redundant storagedaemon:: specifier
Attach Issues:
mod - core/src/stored/backends/chunked_device.cc Diff File
mod - core/src/stored/backends/chunked_device.h Diff File
mod - core/src/stored/backends/ordered_cbuf.cc Diff File
 First  Prev  1 2 3 ... 40 ... 80 ... 88 89 90 91 92 93 94 ... 120 ... 160 ... 200 ... 240 ... 280 ... 320 ... 360 ... 393 394 395  Next  Last