summaryrefslogtreecommitdiffstats
path: root/ext-plugins/lib-general
Commit message (Collapse)AuthorAgeFilesLines
* filters/cmd-wrap: new filter (promoting command format)Jan Pokorný2015-07-021-95/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/string-{iter,list,set}: move from ext-plugins/lib-generalJan Pokorný2015-04-151-40/+0
| | | | | | | This is for upcoming cluster.conf (Pacemaker) + CIB -> sequence of pcs commands conversion. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: special "magic_split" flavorJan Pokorný2015-02-261-0/+3
| | | | | | | | | | | | ... that allows specifying multi-argument option as a single-argument one with '::' being a logical separator between such args. This is needed, for instance, when multi-argument option is specified last to differentiate between such option argument and proper command argument (only a single argument for an option is normally expected). Also add a respective unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: ack. "--" in merged->separatedJan Pokorný2015-02-261-8/+10
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: fix __cmd__/__args__ bad handlingJan Pokorný2015-02-261-4/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: think of non-arg optionJan Pokorný2015-02-261-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* lib-general/formats/command: fix "from dict" directionJan Pokorný2015-02-261-4/+8
| | | | | | Also fix a typo and add a relevant unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/pkgs2installcmd: more logical to stick w/ command fmtJan Pokorný2015-01-091-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* New ext-plugins/lib-general/filters/pkgs2{distropkgs,installcmd}Jan Pokorný2015-01-092-0/+34
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/command: move to ext-plugins/lib-general/formatsJan Pokorný2015-01-091-0/+85
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* ext-plugins/lib-general: string_{list,set} + conversion filterJan Pokorný2015-01-092-0/+53
+ start respective unit tests + fix faulty format passing logic as observed with the new plugins Signed-off-by: Jan Pokorný <jpokorny@redhat.com>