summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* filters/cib2pcscmd: make it handle node propertiesJan Pokorný2015-12-173-0/+35
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[crm_config]: better verbose progress labelJan Pokorný2015-12-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd_wrap: cmd_args_cutter: property (un)set firm groupJan Pokorný2015-12-171-0/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd_wrap: cmd_args_cutter: use a scalable patternJan Pokorný2015-12-171-4/+6
| | | | | | | ...for both "SOMETHING non-option [non-option...]" (tail of unknown length) and fixed-length "firm" group cases. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd_wrap: cmd_args_cutter: better documentationJan Pokorný2015-12-171-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd_wrap: cmd_args_cutter: longest match firstJan Pokorný2015-12-171-5/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd_wrap: fix line continuation caseJan Pokorný2015-12-171-1/+9
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/cmd-wrap: expose eponymous filter on its ownJan Pokorný2015-12-171-0/+30
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* clufter.spec: backward-compatible %license tagJan Pokorný2015-12-171-0/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: cluster_map: corosync update in Debian StretchJan Pokorný2015-12-171-1/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: aliases_releases: refresh Debian/Ubuntu releasesJan Pokorný2015-12-171-3/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: cluster_map: pacemaker update in Ubuntu Vivid VervetJan Pokorný2015-12-171-0/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: cluster_map: pacemaker update in Fedora 23Jan Pokorný2015-12-171-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* facts: update cluster_map with yum -> dnf in Fedora 22Jan Pokorný2015-12-171-0/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: XMLFilter: offer optional libxslt-based profilingJan Pokorný2015-12-172-13/+32
| | | | | | | | | | When XSLT-based commands passed a --profile switch, files per xslt-profile-<filter name>-<hexa timestamp>.xml will be produced (in an accumulative manner when a filter was multi-stepped). Also add new ballast-prevention item to .gitignore accordingly. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: make "XSLT" subheaders in msgs (uniformly) lowercasedJan Pokorný2015-12-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: proceed_xslt: fix a comment discrepancyJan Pokorný2015-12-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: new convention: option prefixed w/ '_' is expert oneJan Pokorný2015-12-171-5/+11
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: _figure_parser_opt_unofficial: drop bogus linesJan Pokorný2015-12-171-3/+0
| | | | | | Under no circumstances shall them be helpful. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: fix very fallback "svc_output" caseJan Pokorný2015-12-171-1/+1
| | | | | | `None` apparently doesn't support "in" access. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: fix extraneous backslashJan Pokorný2015-12-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command + filter: refactor/simplify "svc_output" usageJan Pokorný2015-12-172-25/+27
| | | | | | | | | Do not propagate "maxl" needed to set up a prefix as it is conveniently memoized into "svc_output" callable within the context, and make it (hopefully) clear that filters should complain about stuff via flt_ctxt.ctxt_svc_output(msg, **kwargs) for uniformity. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: drop unused importJan Pokorný2015-12-171-1/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: FancyOutput: allow for memoized prefixJan Pokorný2015-12-171-1/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: make "dump" message akin to "XSLT" onesJan Pokorný2015-12-171-1/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: make [filter<fill-to-longest-filter-name>] output universalJan Pokorný2015-12-171-5/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: make "output" message akin to "XSLT" onesJan Pokorný2015-12-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/*: apply `highlight` syntax where suitableJan Pokorný2015-12-177-15/+16
| | | | | | Also reflect that in the unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: XMLFilter: adapt highlighter to support `highlight`Jan Pokorný2015-12-171-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: XMLFilter: adapt highlighter to support "NOTE:"Jan Pokorný2015-12-171-2/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: new "note" logic colorJan Pokorný2015-12-171-1/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/cib2pcscmd: apply cib-meld-templates filterJan Pokorný2015-12-171-3/+7
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib-meld-templates[resources]: filter futile in future?Jan Pokorný2015-12-171-0/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: reflect the current (fixed) ccs2pcscmd outputJan Pokorný2015-12-171-3/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: fix the ccompiled typoJan Pokorný2015-12-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcscmd*: apply cib-meld-templates filterJan Pokorný2015-12-171-8/+16
| | | | | | ...with a chance it will not be required in the future. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib-meld-templates: compensate pcs template incompat.Jan Pokorný2015-12-172-0/+108
| | | | | | See <https://bugzilla.redhat.com/1281359>. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[resources]: terminate if "template" observedJan Pokorný2015-12-171-0/+6
| | | | | | | | | | | | | + point the user to the root cause. It makes no sense and could be pretty misleading when we cannot produce templates via pcs while these are vital for the dependent resources to work properly. True to be told, template + resource(s) can always be expressed as fully-fledged resource (with parameters transferred down to resource following the same [intuitive] logic) but that would defeat why this provision was introduced in the first place, wouldn't it? Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2cibprelude[lvm]: point to the exact issueJan Pokorný2015-12-171-1/+1
| | | | | | User deserves to be fully informed about a fatal conversion obstacle. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccs_propagate_cman[cluster]: cman/@{two_node,expected_votes}Jan Pokorný2015-12-171-2/+2
| | | | | Reported-by: Miroslav Lisik <mlisik@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* .gitignore: drop currently used implicit output wildcardsJan Pokorný2015-12-171-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests[filters/ccs2needlexml]: exercise log. subsys conversionJan Pokorný2015-12-171-0/+31
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* .gitignore: un-ignore "/tests/filters/" pathJan Pokorný2015-12-171-0/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests: move rewrite_root to the common base for testingJan Pokorný2015-12-172-16/+16
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccs2needlexml[logging_daemon]: convert also log. subsysJan Pokorný2015-12-172-5/+61
| | | | | | | | | | | | | | Based on tri-state whitelist denoting positive propagation: - 1:1 - 1:1 but emit a warning (the meaning was changing in time) - rename the subsys Opened questions: - should CMAN also be renamed to PCMK? Also fix affected (but not directly related) unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_xslt: new helper xslt_string_mappingJan Pokorný2015-12-171-0/+15
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccs2needlexml[logging_daemon]: attrs from logging + subsysJan Pokorný2015-12-171-13/+14
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd_wrap: cmd_args_cutter: special-case "stonith create"Jan Pokorný2015-12-172-3/+3
| | | | | | Adapt that in the test as well. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* run-tests: run also run_check_cmd from run-check unless -n passedJan Pokorný2015-12-171-1/+1
| | | | | | This should prevent run_check_cmd getting stale. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd_wrap: revisit group/line wrap-filling algoJan Pokorný2015-12-173-23/+57
| | | | | | | | | | | | | Previous one was just splitting into lines within a single group (also, this was limited to at most one split! that in turn made it a pretty broken text wrapping). Now it is two-ways allowing also short-enough groups to be put on the same line, and as many line splits is made as necessary for a proper text wrapping. Also update the test counterparts (function run_check_cmd of run-check script succeeds again after quite a long time!). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>