Changesets: bareos

bareos-18.2 c8007161

2019-03-15 15:28

joergs

Ported: N/A

Details Diff
docs (Sphinx): move autogenerated into include subdirectory
add - docs/manuals/en/new_main_reference/source/autogenerated Diff File

bareos-18.2 67cec37a

2019-03-15 15:22

joergs

Ported: N/A

Details Diff
docs (Sphinx): added Bareos specific lexer for syntax highlighting
mod - docs/manuals/en/new_main_reference/source/conf.py Diff File
add - docs/manuals/en/new_main_reference/source/extensions/bareos_lexers.py Diff File

master 76104e4d

2019-03-15 14:57

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()
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 14:57

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()
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 13:49

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
mod - core/CMakeLists.txt Diff File

master 3ac644bb

2019-03-14 11:50

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.
mod - core/CMakeLists.txt Diff File

master a2014835

2019-03-14 10:28

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 10:28

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 14:52

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
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 14:17

joergs

Ported: N/A

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

bareos-18.2 0ed0bc5b

2019-03-10 12:24

joergs

Ported: N/A

Details Diff
docs (Latex): reverting 22bcf867fdd0107bbe07b9bc65f0e16b3ea19081

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

master c802aba0

2019-03-10 04:38

franku

Ported: N/A

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

bareos-18.2 e15cb359

2019-03-08 17:02

arogge_adm

Ported: N/A

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

master 24b4360f

2019-03-08 16:56

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
mod - core/CMakeLists.txt Diff File

bareos-18.2 117dce55

2019-03-08 11:03

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).
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 18:58

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.
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 17:36

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.
mod - core/CMakeLists.txt Diff File

master 808cdb63

2019-03-07 17:25

pstorz


Committer: GitHub

Ported: N/A

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

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

master d8a4e458

2019-03-07 17:25

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
add - core/src/include/make_unique.h Diff File

master 06ae16d1

2019-03-07 15:39

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().
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 15:36

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.
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 15:33

joergs

Ported: N/A

Details Diff
docs: (Sphinx) remove links, as sphinx-versioning can't cope with them
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 15:33

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.
mod - core/src/stored/reserve.cc Diff File

master cd012476

2019-03-07 15:28

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
add - core/src/include/make_unique.h Diff File

bareos-18.2 cb61f2f7

2019-03-07 12:20

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
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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 335 336 337 338 339 340 341 ... 360 ... 420 ... 480 ... 540 ... 600 ... 641 642 643  Next  Last