This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
ainfo satprep_diff
Christian Stankowic edited this page Mar 17, 2015
·
2 revisions
satprep_diff.py
creates host patch PDF reports using patch/errata snapshots created by satprep_snapshot.py
. If you verified your management preparation using satprep_prepare_maintenance.py -V
it also uses a file called verification log to pre-select checkboxes for snapshots and downtimes. Using additional parameters you can customize the look of reports.
#Parameters
Parameter | Description |
---|---|
-q / --quiet
|
don't print status messages to stdout |
-d / --debug
|
enable debugging outputs |
-t / --template
|
defines the template which is used to generate the report (default: $scriptDirectory+/default.tex) |
-o / --output
|
define report filename. (default: errata-diff-report-Ymd.csv) |
-n / --no-host-reports
|
only create delta CSV report and skip creating host reports |
-x / --preserve-tex
|
keeps the TeX files after creating the PDF reports (default: no) |
-p / --page-orientation
|
defines the orientation of the PDF report (*landscape |
-i / --image
|
defines a different company logo (default: $scriptDirectory+/default_logo.jpg) |
-f / --footer
|
changes footer text |
-b / --pdflatex-binary
|
location for the pdflatex binary (default: /usr/bin/pdflatex ) |
-V / --verification-log
|
alternate location for verification log (default: $lastSnapshot.vlog ) |
#Examples Create host reports:
$ ./satprep_diff.py errata-snapshot-report*.csv
Create host reports with custom footer, logo, page orientation and verification log:
$ ./satprep_diff.py errata-snapshot-report*.csv -i /opt/company.logo -f "myCompany patch report" -p potrait -V tasks.vlog
Preserve LaTeX files for debugging purposes after creating reports:
$ ./satprep_diff.py errata-snapshot-report*.csv -x