| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Key is simple: instance of basestring will contribute on the associated
text, other positional arguments are supposed the child nodes.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
| |
... as this is easily not true, e.g., when piping input (one of ~)
directly, as children subprocess normally inherits the filedescriptor
map.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Based on only a very approximate decision, but should be OK, most of the
time one want to add "-d" when running the script.
Point of non-switch $1 is when using the script sourced or for similar
experimental uses.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So the progress for ccs-to-pcs (in isolation) currently is:
- ccs2ccsflat
- ccs-revitalize
- ccsflat2pcsprelude
- pcsprelude2pcscompact
. TODO: service arrangement(?)
- pcscompact2pcs
. TODO: stonith-enabled=false if no fencing present
and other finalizations
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
| |
... so as to fix a regression introduced with more explicit format
declarations in the filter "signatures".
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
|
| |
Also make distinguishing more restricted internal variants of the
formats more explicit (ccsflat, pcsprelude) -- this is known to
cause a little regression (format checking too strict to cope with
this) and the fix for that is forthcoming.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
| |
+ propagate actually use these symbols
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
| |
(first preserving/protecting the comment as such was needed)
Also drop an unused import.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is imporant is case of "<descent-mix> - <descent>" structural
pattern, in which the original xsl:comment gets dissolved into
<!-- comment --> with the first XSLT run, which then disappear
completely upon subsequent runs.
Now it is preserved up the last point possible -- gets translated
upon postprocess that is (only) applied on the final product.
Btw. we utilize the fact in DOM (at least as seen with lxml),
text content of element node is handled the same in case of comment
node, so there no more magic needed.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
IOW, there will have to be another pass that will use the data we have
prepared by known, massage them, and finally (and hopefully) spit out
the desired full-fledged cib, incl. reasonable constraints arrangement.
Apparently, ./run-check doesn't work as of this commit, but it's
worthless to edit it just to keep temporarily passing, as the final
result is different anyway.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
| |
(don't ask much about the changes)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
| |
(like when experimenting in combo with _go.py)
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
| |
Also move xslt_identity from utils_xml to utils_xslt.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
| |
...during item lookup. This is necessary so that 'system' and
'system_extra' do not require special treatment (copying to intermediate
lookup level shared amongst filters).
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
| |
Salting the hash can be conditionally (via env variable) turned off,
changing the hash algo ditto.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
| |
Actually, the namespace is derived from the package name directly.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
| |
This is the same case as with XML built-format.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
| |
Because of the nature of the hash algo, we would yield basically nothing
with the previous "obscurity" anyway.
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|
|
|
|
|
|
|
|
| |
Useful anytime one is lazy to redefine the defaults, but want to
semi-unique output files for different inputs (e.g., when processing
plenty of configs like when testing clufter's logic itself).
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
|