summaryrefslogtreecommitdiffstats
path: root/filter_manager.py
Commit message (Collapse)AuthorAgeFilesLines
* filter_manager: drop dead code (get_composite_onthefly)Jan Pokorný2015-04-151-12/+1
| | | | | | | This is likely a remnant from refactoring, the method is and likely always been in use as Filter._resolve_formats_composite. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Mass change: import logging -> from logging import getLoggerJan Pokorný2015-01-091-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* {command,filter}_manager: finalize "pick what's needed"Jan Pokorný2014-09-051-1/+9
| | | | | | | | ... by automatically instructing underlying layer to obtain symbols necessary for successful resolution of plugins in higher level (commands - filters - formats). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* plugin_registry: s/_init_handle_plugins/_init_pluginsJan Pokorný2014-09-051-2/+3
| | | | | | + add a note that we could somehow initialize plugins earlier Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Solve a "read-only dict as API" question once foreverJan Pokorný2014-09-041-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter{,_manager}: cosmetics/housekeepingJan Pokorný2014-09-021-2/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter{,_manager}: filter responsible for resolving selfJan Pokorný2014-09-021-31/+5
| | | | | | ... against the passed formats Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command/format: pass declared cmd context subset to Format objectJan Pokorný2014-06-181-0/+2
| | | | | | | | | | | | | | 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>
* Relicence GPLv2 -> GPLv2+Jan Pokorný2014-04-251-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Refactor: move functional-paradigm helpers utils -> utils_funcJan Pokorný2014-04-011-5/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Fix previous 'as_instance' introduction (testsuite run badly!)Jan Pokorný2014-02-121-6/+11
| | | | | | Uh, one particular test passing is never enough. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* format: add 'as_instance' passthrough-or-not classmethodJan Pokorný2014-02-111-9/+1
| | | | | | | and at the same, similar functionality can be dropped from filter_management handling Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils: tuple-or-list = tuplist + function to detect itJan Pokorný2014-02-101-2/+3
| | | | | | Also apply/substitute the verbatim detection where suitable. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter_manager: make filter manager work with "in_obj" directlyJan Pokorný2014-02-091-1/+14
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* CompositeFormat should be not more or less usableJan Pokorný2014-02-091-0/+16
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* *_manager: s/_handle_plugins/_init_handle_plugins/ + change guardJan Pokorný2014-01-211-1/+1
| | | | | | ... making a need to subclass PluginManager explicit Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter_manager: make the _resolve constructions reusableJan Pokorný2014-01-201-15/+16
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* *Manager: make common (abstract) base PluginManagerJan Pokorný2014-01-171-9/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Batch header unificationJan Pokorný2013-11-181-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Initial commitJan Pokorný2013-11-181-0/+57
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>