Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | filters/ccs2needlexml: also handle (forgotten) uidgid | Jan Pokorný | 2014-08-27 | 2 | -0/+15 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | command: tone down some warnings (mostly feedback for dev) | Jan Pokorný | 2014-08-27 | 1 | -6/+6 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | tests/run_cmd: new (sanity) test of running a command directly | Jan Pokorný | 2014-08-27 | 1 | -0/+42 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | main + tests/command_manager: cleanup/cosmetics | Jan Pokorný | 2014-08-26 | 2 | -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-26 | 1 | -1/+2 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | Elaborate more on RGManager's explicit ordering/ccs_flatten | Jan Pokorný | 2014-08-26 | 3 | -4/+15 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | command_manager: add `implicit` as a shortcut constructor | Jan Pokorný | 2014-08-26 | 3 | -2/+16 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | __init__: add forgotten changes/make the other code work | Jan Pokorný | 2014-08-26 | 1 | -6/+16 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | ccs_flatten: $LDFLAGS goes last to make some linkers happy | Jan Pokorný | 2014-08-26 | 1 | -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 resources | Jan Pokorný | 2014-08-20 | 1 | -7/+6 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filters/flatccs2pcs: better dealing with IP+netmask | Jan Pokorný | 2014-08-20 | 1 | -4/+7 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils_prog: defer_common: fix bad usage of filterdict_pop | Jan Pokorný | 2014-08-19 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | doc/rgmanager-pacemaker.02: initial resource-node affinity (RFE) | Jan Pokorný | 2014-08-04 | 1 | -0/+7 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | tests/command_context: check proper "notaint" + "anabasis" | Jan Pokorný | 2014-06-19 | 1 | -0/+61 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filter: interactive "try_edit" as a part of validate_hook | Jan Pokorný | 2014-06-19 | 3 | -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 failures | Jan Pokorný | 2014-06-19 | 2 | -2/+5 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filters/ccs2flatccs: cleanup + drop no longer relevant stuff | Jan Pokorný | 2014-06-19 | 1 | -5/+3 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils_xml: implement way to 'juggle'/re-{root,parent} XML elems | Jan Pokorný | 2014-06-19 | 1 | -0/+35 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filter: fix missing imports + little cleanup | Jan Pokorný | 2014-06-19 | 1 | -5/+6 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filter: arrange the validate_hook as a part of xslt_atom_hook | Jan Pokorný | 2014-06-19 | 1 | -13/+52 | |
| | | | | | | Deferring to the validator infrastructure of format. Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | format: rehash how validators are tracked and used | Jan Pokorný | 2014-06-19 | 1 | -22/+74 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filter: xslt_atom_hook: systemize kwargs passing + error handling | Jan Pokorný | 2014-06-19 | 1 | -11/+22 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filters/ccs2needlexml: remove no longer relevant "diff" comment | Jan Pokorný | 2014-06-19 | 1 | -5/+0 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | filters/ccs2flatccs: better anchor of 'which' for 'ccs_flatten' | Jan Pokorný | 2014-06-18 | 1 | -3/+2 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | format: turn needless per-module constant to per-class one | Jan Pokorný | 2014-06-18 | 1 | -2/+4 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | command/format: pass declared cmd context subset to Format object | Jan Pokorný | 2014-06-18 | 6 | -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 site | Jan Pokorný | 2014-06-17 | 2 | -21/+51 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | command_context: prevent unexpected tainting of mutables | Jan Pokorný | 2014-06-17 | 2 | -3/+50 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | command_context: teach CommandContextBase to `repr` itself | Jan Pokorný | 2014-06-17 | 1 | -0/+3 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | command_context: restore common dict semantics + allow "bypass" | Jan Pokorný | 2014-06-17 | 3 | -25/+54 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | main: avoid using programmer's expression needlessly | Jan Pokorný | 2014-06-17 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils: reconcile forgotten "filter" funcs renaming | Jan Pokorný | 2014-06-17 | 2 | -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 expansion | Jan Pokorný | 2014-06-17 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils_prog: cosmetics and comment polishing | Jan Pokorný | 2014-06-16 | 1 | -7/+8 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils_prog: more generic implementation of 'which' | Jan Pokorný | 2014-06-16 | 1 | -15/+47 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | command: add behavior of deferring to _common as already doc'd | Jan Pokorný | 2014-06-16 | 4 | -21/+51 | |
| | | | | | | (in doc/HACKING in the previous commit) Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | doc/HACKING: add some bits about "command" entity | Jan Pokorný | 2014-06-16 | 1 | -0/+12 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | doc/HACKING: extend a bit, spin off sections for primitives | Jan Pokorný | 2014-06-16 | 1 | -2/+30 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | xml_utils: make rng_pivot return "starting" definition | Jan Pokorný | 2014-06-13 | 3 | -6/+19 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils_xml: fix possible issues with namespaced elems/tags | Jan Pokorný | 2014-06-13 | 1 | -2/+5 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils_xml: define and use new XML/lxml.etree helpers | Jan Pokorný | 2014-06-13 | 2 | -23/+38 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | runtests.sh: add auto-paging option: -p | Jan Pokorný | 2014-06-06 | 1 | -12/+16 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils: fix braino in naming: mutable -> immutable | Jan Pokorný | 2014-06-04 | 2 | -3/+3 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | utils: fix braino in func_defaults_varnames + update unittest | Jan Pokorný | 2014-06-04 | 2 | -17/+7 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | runtests.sh: fix "binary operator expected" w/ enum'd tests | Jan Pokorný | 2014-06-04 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | formats/pcs: specify validation + add necessary files | Jan Pokorný | 2014-05-30 | 4 | -1/+3653 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | Cleanup: move some more XML related stuff to utils_xml.py | Jan Pokorný | 2014-05-30 | 2 | -14/+17 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | Cleanup: move squote from utils to utils_xml | Jan Pokorný | 2014-05-30 | 3 | -11/+7 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | .gitignore: ignore Vim's undo files | Jan Pokorný | 2014-05-30 | 1 | -0/+1 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> | |||||
* | tests: check validation harness using now fixed corosync.rng | Jan Pokorný | 2014-05-30 | 4 | -31/+285 | |
| | | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com> |