Changesets: bareos

bareos-14.2 a01c51cf

2014-10-06 22:03

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
add missing break
mod - src/dird/dird_conf.c Diff File

bareos-14.2 4250b4bb

2014-10-06 22:03

Joerg Steffens


Committer: Marco van Wieringen

Ported: N/A

Details Diff
print config file schema without valid config file

print config file schema even without a valid configuration file.
mod - src/dird/dird.c Diff File
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master 50215f07

2014-10-06 17:29

Marco van Wieringen

Ported: N/A

Details Diff
Fix runscript printing.

Keep track if a runscript is entered as a short runscript using the
short_form boolean so when printing it we also know if we need to print
it either in its short form or in the new long form. Also keep track
using the from_jobdef boolean if a runscript is inherited from a JobDef
as then we also don't have to print it in the dumping of the current
config.
mod - src/dird/dird_conf.c Diff File
mod - src/lib/runscript.h Diff File

master 7473c51a

2014-10-06 15:29

mvwieringen

Ported: N/A

Details Diff
Fix runscript printing.

Keep track if a runscript is entered as a short runscript using the
short_form boolean so when printing it we also know if we need to print
it either in its short form or in the new long form. Also keep track
using the from_jobdef boolean if a runscript is inherited from a JobDef
as then we also don't have to print it in the dumping of the current
config.
mod - src/dird/dird_conf.c Diff File
mod - src/lib/runscript.h Diff File

bareos-14.2 c294bc5f

2014-10-06 15:29

Marco van Wieringen

Ported: N/A

Details Diff
Fix runscript printing.

Keep track if a runscript is entered as a short runscript using the
short_form boolean so when printing it we also know if we need to print
it either in its short form or in the new long form. Also keep track
using the from_jobdef boolean if a runscript is inherited from a JobDef
as then we also don't have to print it in the dumping of the current
config.
mod - src/dird/dird_conf.c Diff File
mod - src/lib/runscript.h Diff File

master d10005a1

2014-10-06 13:12

Marco van Wieringen

Ported: N/A

Details Diff
NDMP SMTAPE restore does need namelist.

Fixes 0000345: NDMP restore does not work
mod - src/dird/ndmp_dma.c Diff File

bareos-13.2 7690a205

2014-10-06 13:12

Marco van Wieringen

Ported: N/A

Details Diff
NDMP SMTAPE restore does need namelist.

Fixes 0000345: NDMP restore does not work
mod - src/dird/ndmp_dma.c Diff File

master f085b9c6

2014-10-06 11:12

mvwieringen

Ported: N/A

Details Diff
NDMP SMTAPE restore does need namelist.

Fixes 0000345: NDMP restore does not work
Affected Issues
0000345
mod - src/dird/ndmp_dma.c Diff File

bareos-14.2 dbc5f6e5

2014-10-06 11:12

Marco van Wieringen

Ported: N/A

Details Diff
NDMP SMTAPE restore does need namelist.

Fixes 0000345: NDMP restore does not work
mod - src/dird/ndmp_dma.c Diff File

bareos-13.2 adc874f8

2014-10-06 11:12

mvwieringen

Ported: N/A

Details Diff
NDMP SMTAPE restore does need namelist.

Fixes 0000345: NDMP restore does not work
Affected Issues
0000345
mod - src/dird/ndmp_dma.c Diff File

master 448e9047

2014-10-05 21:38

Marco van Wieringen

Ported: N/A

Details Diff
Implement missing option printing.

Some fileset options are added over time but the config printing code
doesn't know how to print these. This patch adds all missing fileset
options and adds printing of options now using Camel case.

Also added some code for a FIXME that has been there for ages for
Verify, Accurate and Base options checking.

Fixes 0000347: show all gives errors.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/inc_conf.h Diff File

master f0ac8590

2014-10-05 19:38

mvwieringen

Ported: N/A

Details Diff
Implement missing option printing.

Some fileset options are added over time but the config printing code
doesn't know how to print these. This patch adds all missing fileset
options and adds printing of options now using Camel case.

Also added some code for a FIXME that has been there for ages for
Verify, Accurate and Base options checking.

Fixes 0000347: show all gives errors.
Affected Issues
0000347
mod - src/dird/dird_conf.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/inc_conf.h Diff File

bareos-14.2 f4175d17

2014-10-05 19:38

Marco van Wieringen

Ported: N/A

Details Diff
Implement missing option printing.

Some fileset options are added over time but the config printing code
doesn't know how to print these. This patch adds all missing fileset
options and adds printing of options now using Camel case.

Also added some code for a FIXME that has been there for ages for
Verify, Accurate and Base options checking.

Fixes 0000347: show all gives errors.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/inc_conf.h Diff File

master ed5f1bef

2014-10-05 18:46

Marco van Wieringen

Ported: N/A

Details Diff
Ditch useless unions in dird config.

In essence they save a maximum of one pointer value which is not worth
the side effect it has for printing a config data. To be able to
determine what data is actual in the union you need an extra variable
describing what is the pointer about so then there is little value left
in using an union.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master dd9180e3

2014-10-05 17:41

Marco van Wieringen

Ported: N/A

Details Diff
Tweak debug output.
mod - src/lib/res.c Diff File

master 1001bfc8

2014-10-05 16:46

mvwieringen

Ported: N/A

Details Diff
Ditch useless unions in dird config.

In essence they save a maximum of one pointer value which is not worth
the side effect it has for printing a config data. To be able to
determine what data is actual in the union you need an extra variable
describing what is the pointer about so then there is little value left
in using an union.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

bareos-14.2 f13bcff8

2014-10-05 16:46

Marco van Wieringen

Ported: N/A

Details Diff
Ditch useless unions in dird config.

In essence they save a maximum of one pointer value which is not worth
the side effect it has for printing a config data. To be able to
determine what data is actual in the union you need an extra variable
describing what is the pointer about so then there is little value left
in using an union.
mod - src/dird/dird_conf.c Diff File
mod - src/dird/dird_conf.h Diff File

master 62be21e7

2014-10-05 15:41

mvwieringen

Ported: N/A

Details Diff
Tweak debug output.
mod - src/lib/res.c Diff File

bareos-14.2 e01afed3

2014-10-05 15:41

Marco van Wieringen

Ported: N/A

Details Diff
Tweak debug output.
mod - src/lib/res.c Diff File

master 5374f09e

2014-10-05 13:45

Marco van Wieringen

Ported: N/A

Details Diff
Print config should suppress data from JobDefs

Some specific config items in the Job resource could be coming from a
JobDef so we should not print those values in the actual Job resource.

We add a new bitmap analog to item_present bitmap already existing in
the RES class. When we mark that bit when we populate the jobdef in the
populate_jobdefs() function in src/dird/dird_conf.c we can check this
bit in the printing function. (Overhead is currently 80 / 8 = 10 bytes)

We also use the same bitmap for defaults so we can use some shortcut
logic when printing the config as we then know that the default was
set and never replaced by an other setting. We clear the bit in all
other parse functions so we know the default is cleared. If the default
is replaced with the same value as the original default that is still
detected. Only real exception is when omit defaults is set to true
then we just like before always print the defaults (but not the data
populated from a JobDef.)

Fixes 0000343: Print config should suppress data from JobDefs
mod - src/dird/dird_conf.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/run_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/stored_conf.c Diff File

master 6822b3ba

2014-10-05 11:45

mvwieringen

Ported: N/A

Details Diff
Print config should suppress data from JobDefs

Some specific config items in the Job resource could be coming from a
JobDef so we should not print those values in the actual Job resource.

We add a new bitmap analog to item_present bitmap already existing in
the RES class. When we mark that bit when we populate the jobdef in the
populate_jobdefs() function in src/dird/dird_conf.c we can check this
bit in the printing function. (Overhead is currently 80 / 8 = 10 bytes)

We also use the same bitmap for defaults so we can use some shortcut
logic when printing the config as we then know that the default was
set and never replaced by an other setting. We clear the bit in all
other parse functions so we know the default is cleared. If the default
is replaced with the same value as the original default that is still
detected. Only real exception is when omit defaults is set to true
then we just like before always print the defaults (but not the data
populated from a JobDef.)

Fixes 0000343: Print config should suppress data from JobDefs
Affected Issues
0000343
mod - src/dird/dird_conf.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/run_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/stored_conf.c Diff File

bareos-14.2 0af0d4c4

2014-10-05 11:45

Marco van Wieringen

Ported: N/A

Details Diff
Print config should suppress data from JobDefs

Some specific config items in the Job resource could be coming from a
JobDef so we should not print those values in the actual Job resource.

We add a new bitmap analog to item_present bitmap already existing in
the RES class. When we mark that bit when we populate the jobdef in the
populate_jobdefs() function in src/dird/dird_conf.c we can check this
bit in the printing function. (Overhead is currently 80 / 8 = 10 bytes)

We also use the same bitmap for defaults so we can use some shortcut
logic when printing the config as we then know that the default was
set and never replaced by an other setting. We clear the bit in all
other parse functions so we know the default is cleared. If the default
is replaced with the same value as the original default that is still
detected. Only real exception is when omit defaults is set to true
then we just like before always print the defaults (but not the data
populated from a JobDef.)

Fixes 0000343: Print config should suppress data from JobDefs
mod - src/dird/dird_conf.c Diff File
mod - src/dird/inc_conf.c Diff File
mod - src/dird/run_conf.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/stored/stored_conf.c Diff File

master f5d05f93

2014-10-03 23:52

Marco van Wieringen

Ported: N/A

Details Diff
First attempt to move python-sd plugin to use plugin options.
mod - src/plugins/stored/bareos-sd.py.template Diff File
mod - src/plugins/stored/bareos_sd_consts.py Diff File
mod - src/plugins/stored/python-sd.c Diff File
mod - src/plugins/stored/python-sd.h Diff File

master f7fdf847

2014-10-03 21:52

mvwieringen

Ported: N/A

Details Diff
First attempt to move python-sd plugin to use plugin options.
mod - src/plugins/stored/bareos-sd.py.template Diff File
mod - src/plugins/stored/bareos_sd_consts.py Diff File
mod - src/plugins/stored/python-sd.c Diff File
mod - src/plugins/stored/python-sd.h Diff File

bareos-14.2 e79950d3

2014-10-03 21:52

Marco van Wieringen

Ported: N/A

Details Diff
First attempt to move python-sd plugin to use plugin options.
mod - src/plugins/stored/bareos-sd.py.template Diff File
mod - src/plugins/stored/bareos_sd_consts.py Diff File
mod - src/plugins/stored/python-sd.c Diff File
mod - src/plugins/stored/python-sd.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 558 559 560 561 562 563 564 ... 600 ... 641 642 643  Next  Last