summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* filters/ccs2needlexml: also handle (forgotten) uidgidJan Pokorný2014-08-272-0/+15
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: tone down some warnings (mostly feedback for dev)Jan Pokorný2014-08-271-6/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests/run_cmd: new (sanity) test of running a command directlyJan Pokorný2014-08-271-0/+42
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main + tests/command_manager: cleanup/cosmeticsJan Pokorný2014-08-262-5/+1
| | | | | | Mainly a follow-up of commit b23cc121c3d7866dea8b559e08142d1dc229fb9e. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main-bootstrap: fix not propagating exit status to outer env.Jan Pokorný2014-08-261-1/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Elaborate more on RGManager's explicit ordering/ccs_flattenJan Pokorný2014-08-263-4/+15
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_manager: add `implicit` as a shortcut constructorJan Pokorný2014-08-263-2/+16
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* __init__: add forgotten changes/make the other code workJan Pokorný2014-08-261-6/+16
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ccs_flatten: $LDFLAGS goes last to make some linkers happyJan Pokorný2014-08-261-1/+1
| | | | | | | Reference: https://bugs.launchpad.net/ubuntu/+source/libxml2/+bug/1032639/comments/2 Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/flatccs2pcs: better selection of end-use resourcesJan Pokorný2014-08-201-7/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/flatccs2pcs: better dealing with IP+netmaskJan Pokorný2014-08-201-4/+7
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: defer_common: fix bad usage of filterdict_popJan Pokorný2014-08-191-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* doc/rgmanager-pacemaker.02: initial resource-node affinity (RFE)Jan Pokorný2014-08-041-0/+7
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests/command_context: check proper "notaint" + "anabasis"Jan Pokorný2014-06-191-0/+61
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: interactive "try_edit" as a part of validate_hookJan Pokorný2014-06-193-9/+164
| | | | | | | | | Since this commit, user is able to actively enter the conversion in case it gets broken (just at the place where the outcome stops passing validation, i.e., with as little stressful context presented to the user as possible). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/{ccs2needlexml,flatccs2pcs}: fix validation failuresJan Pokorný2014-06-192-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccs2flatccs: cleanup + drop no longer relevant stuffJan Pokorný2014-06-191-5/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_xml: implement way to 'juggle'/re-{root,parent} XML elemsJan Pokorný2014-06-191-0/+35
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: fix missing imports + little cleanupJan Pokorný2014-06-191-5/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: arrange the validate_hook as a part of xslt_atom_hookJan Pokorný2014-06-191-13/+52
| | | | | | Deferring to the validator infrastructure of format. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: rehash how validators are tracked and usedJan Pokorný2014-06-191-22/+74
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: xslt_atom_hook: systemize kwargs passing + error handlingJan Pokorný2014-06-191-11/+22
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccs2needlexml: remove no longer relevant "diff" commentJan Pokorný2014-06-191-5/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccs2flatccs: better anchor of 'which' for 'ccs_flatten'Jan Pokorný2014-06-181-3/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: turn needless per-module constant to per-class oneJan Pokorný2014-06-181-2/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command/format: pass declared cmd context subset to Format objectJan Pokorný2014-06-186-26/+69
| | | | | | | | | | | | | | This subset is declared with 'context_specs' and is being built on the metaclass level in the top-down, extending (additive/non-subtractive) manner (just like the set of methods is growing monotonously top-down the hierarchy). Currently, only 'validator_specs' (mapping protocols to the somewhat abstract "validator spec", '' key being used as a failback) is of interest this way, and can be used as an on-off validation toggle on user's request (by convence, '' value stands for off state). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: etree_rng_validator: extend + more info to call siteJan Pokorný2014-06-172-21/+51
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: prevent unexpected tainting of mutablesJan Pokorný2014-06-172-3/+50
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: teach CommandContextBase to `repr` itselfJan Pokorný2014-06-171-0/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_context: restore common dict semantics + allow "bypass"Jan Pokorný2014-06-173-25/+54
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main: avoid using programmer's expression needlesslyJan Pokorný2014-06-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils: reconcile forgotten "filter" funcs renamingJan Pokorný2014-06-172-19/+28
| | | | | | | This parallel refactoring tainted/affected several commits back, starting with f1a9f5e. This should be fine now. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: which: fix PATH expansionJan Pokorný2014-06-171-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: cosmetics and comment polishingJan Pokorný2014-06-161-7/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_prog: more generic implementation of 'which'Jan Pokorný2014-06-161-15/+47
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: add behavior of deferring to _common as already doc'dJan Pokorný2014-06-164-21/+51
| | | | | | (in doc/HACKING in the previous commit) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* doc/HACKING: add some bits about "command" entityJan Pokorný2014-06-161-0/+12
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* doc/HACKING: extend a bit, spin off sections for primitivesJan Pokorný2014-06-161-2/+30
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* xml_utils: make rng_pivot return "starting" definitionJan Pokorný2014-06-133-6/+19
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_xml: fix possible issues with namespaced elems/tagsJan Pokorný2014-06-131-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_xml: define and use new XML/lxml.etree helpersJan Pokorný2014-06-132-23/+38
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* runtests.sh: add auto-paging option: -pJan Pokorný2014-06-061-12/+16
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils: fix braino in naming: mutable -> immutableJan Pokorný2014-06-042-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils: fix braino in func_defaults_varnames + update unittestJan Pokorný2014-06-042-17/+7
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* runtests.sh: fix "binary operator expected" w/ enum'd testsJan Pokorný2014-06-041-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/pcs: specify validation + add necessary filesJan Pokorný2014-05-304-1/+3653
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Cleanup: move some more XML related stuff to utils_xml.pyJan Pokorný2014-05-302-14/+17
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Cleanup: move squote from utils to utils_xmlJan Pokorný2014-05-303-11/+7
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* .gitignore: ignore Vim's undo filesJan Pokorný2014-05-301-0/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* tests: check validation harness using now fixed corosync.rngJan Pokorný2014-05-304-31/+285
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>