summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Set pre-release versionJan Pokorný2015-07-142-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.50.0 (intentionally excessive)v0.50.0Jan Pokorný2015-07-022-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: more verbose assertionJan Pokorný2015-07-021-1/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/cib2pcscmd: deserves dedicated exposure as a commandJan Pokorný2015-07-021-0/+51
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/pcs2pcscmd-needle: finalize using new filtersJan Pokorný2015-07-021-12/+39
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/simpleconfig2needlexml: implemented + unit testJan Pokorný2015-07-022-2/+65
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/simpleconfig: fix issues with a grammar sampleJan Pokorný2015-07-021-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/simpleconfig-normalize: new filter + unit testJan Pokorný2015-07-023-0/+99
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/simpleconfig: simpleconfig-normalized specializationJan Pokorný2015-07-021-1/+23
| | | | | | Also fix a typo in simpleconfig pseudo-grammar. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: expand ccs_flatten dependencies/requirementsJan Pokorný2015-07-021-2/+6
| | | | | | (merge build- and run-time deps) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: Contact, a new top-level sectionJan Pokorný2015-07-021-0/+13
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: Demo, a new section under UsageJan Pokorný2015-07-021-0/+45
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: Installation -> Stable version + contentJan Pokorný2015-07-021-4/+12
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: ccs_flatten is now solely a local matterJan Pokorný2015-07-021-5/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/simpleconfig: implement string->struct + testJan Pokorný2015-07-022-2/+31
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/simpleconfig: "constantify" the lexical unitsJan Pokorný2015-07-021-1/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests/formats/simpleconfig: deserves a unit test, tooJan Pokorný2015-07-021-0/+71
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/simpleconfig: fix missing newline at the endJan Pokorný2015-07-021-2/+2
| | | | | | (which is implicitly assumed and was present before a rewrite) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/simpleconfig: loosen desired notation a bitJan Pokorný2015-07-021-15/+15
| | | | | | | Thanks to more tolerant "pretty-printer" and also with respect to what target structuring will be optimal for the parser. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/simpleconfig: simplify (crazy) get_bytestringJan Pokorný2015-07-021-37/+20
| | | | | | | | | | | Beside being much more legible, it is also (almost unnoticably) faster, mainly due to not increasing the indentation step by step along the return from recursion. "previous apply_aggregation_preserving_passing_depth attempt was unsuccessful" -- oh, well. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcscmd-needle: make it finally workingJan Pokorný2015-07-021-4/+31
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcscmd-flatiron: cosmetics (newlines)Jan Pokorný2015-07-021-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/needlexml2pcscmd: implement the filterJan Pokorný2015-07-027-2/+186
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccspcmk2pcscmd[cluster]: refactor to shareable templateJan Pokorný2015-07-022-87/+96
| | | | | | (to be reused in needlexml2pcscmd filter) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/corosync.rng: add forgotten, long-standing ip_version optionJan Pokorný2015-07-021-0/+12
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/corosync.rng: reflect new token_coefficient optionJan Pokorný2015-07-021-0/+13
| | | | | | (introduced in Corosync v2.3.4) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/pcs2pcscmd-flatiron: make aware of filter optionsJan Pokorný2015-07-021-3/+30
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcscmd-flatiron: reflect -1/negative for text_widthJan Pokorný2015-07-021-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/command: need to preserve quotation infoJan Pokorný2015-07-022-0/+29
| | | | | | | | | | ... otherwise original quotation is not preserved in, say, ccs2pcscmd(-flatiron) command due to command format usage in cmd-wrap filter (--noop=cmd-wrap would serve as a workaround before this fix). Also add a respective unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd-wrap: add "text width fallback" info messageJan Pokorný2015-07-021-0/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd-wrap: special text width value of -1, comments++Jan Pokorný2015-07-021-1/+16
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd-wrap: do not allow smaller text width than 20Jan Pokorný2015-07-021-2/+2
| | | | | | (as a deliberately, yet reasonably selected value) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd-wrap: fix a thinko + unit test as a guardJan Pokorný2015-07-022-1/+38
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands: ccs2pcscmd(-flatiron:): deploy cmd-wrap filterJan Pokorný2015-07-021-8/+23
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cmd-wrap: new filter (promoting command format)Jan Pokorný2015-07-022-0/+60
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests: add predecessor's configs (previously in pacemaker.git)Jan Pokorný2015-07-026-0/+251
| | | | | | (mainly for posterity) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set pre-release versionJan Pokorný2015-07-022-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.12.0v0.12.0Jan Pokorný2015-06-192-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main+command_manager: allow symlink shortcuts to subcommandsJan Pokorný2015-06-192-8/+14
| | | | | | | | # ln -s /bin/clufter /bin/ccs-disable-rg # ccs-disable-rg -h | head -n1 > Usage: ccs-disable-rg [<cmd option ...>] Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: fix ccs-obfuscate not working properlyJan Pokorný2015-06-191-0/+4
| | | | | | | Possibly related to changes around filter: fix issue possibly workarounded with text-only descent Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-ccs/ccs-subst-nodes[cluster]: fix broken import vol.2Jan Pokorný2015-06-191-2/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccspcmk2pcscmd: 1min for after-star-wait should be OKJan Pokorný2015-06-191-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcscmd: use unified filter defaults interfaceJan Pokorný2015-06-191-4/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/*2pcscmd: use unified interface for filter defaultsJan Pokorný2015-06-193-18/+30
| | | | | | (also unit tests benefit from this) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: add unified interface for filter defaultsJan Pokorný2015-06-191-5/+7
| | | | | | This will also serve an "in-command-parameter interpolation" purpose. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: add support for in-command-parameter interpolationJan Pokorný2015-06-192-15/+15
| | | | | | | | The early one (see the introduced comments). Reason for that is that copying various values around and keeping them in sync is not maintainable (changes leveraging that upcoming). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: memoize flat filter chain (OrderedDict)Jan Pokorný2015-06-191-3/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/*2pcscmd: drop now-redundant xslt_boolean usageJan Pokorný2015-06-192-12/+12
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_xslt: make xslt_boolean in xslt_params implicitJan Pokorný2015-06-191-6/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs-disable-rg: substitute for pcmk's disable_rgmanagerJan Pokorný2015-06-191-0/+34
| | | | | | | Combine ccs-disable-rg and ccs-version-bump filters. That was the other reason for factoring those filters out. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>