| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our XML Schema for Genshi templates expected "choose" blocks to be
declared like this:
<py:choose test="$foo">
<when test="0"><!-- [...] --></when>
<when test="1"><!-- [...] --></when>
<otherwise><!-- [...] --></otherwise>
</py:choose>
However, we prefer to namespace-qualify not only the "choose" element,
but also the "when" and "otherwise" tags (for clarity, and because
that's how it's done in the Genshi documentation):
<py:choose test="$foo">
<py:when test="0"><!-- [...] --></py:when>
<py:when test="1"><!-- [...] --></py:when>
<py:otherwise><!-- [...] --></py:otherwise>
</py:choose>
This commit tells XML Schema validators to expect the latter style.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
|
| |
Add documentation for the "decision" option to the bcfg2.conf(5) man
page. Also, note that it can be overridden using "-l none" on the
bcfg2(1) command line.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
|
| |
Bound entries and Client tags may also be used in Base/*.xml files, so
the XML Schema for Base files must permit these entries.
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
an ugly stack trace if a file fails to validate
|
| |
|
| |
|
|\
| |
| | |
Cfg: Fix the output encoding of Genshi templates
|
| |
| |
| |
| |
| |
| | |
Encode the configuration files generated from Genshi templates according
to the encoding setting from Options.py instead of unconditionally using
UTF-8.
|
|\ \
| |/
|/| |
APT: Add two filters for deprecated API accesses
|
|/
|
|
|
| |
These accesses are triggered by <Package> configuration entries which
don't have the "version" attribute set to "auto" or "any".
|
|\
| |
| | |
bcfg2: Convert specification from Unicode to UTF-8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 5d69ff7e966c4ffa911c78d11a6879b48e90aef8.
As the "rawconfig" variable now holds a UTF-8 encoded string, it would
have to be decoded before re-encoding it using a different encoding.
However, the cached configuration shouldn't be written using a non-UTF-8
encoding anyway, as "bcfg2 -f <configuration>" currently doesn't accept
any other encodings. (If this is to be changed, the XML encoding
declaration of the configuration would have to be adjusted accordingly.)
|
|/
|
|
|
|
|
|
|
| |
The client receives the configuration specification as a Unicode string
and then hands it over to the XML() function, which expects a UTF-8
encoded string. Therefore, the configuration specification is now
converted to UTF-8.
Resolves ticket #1009.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|/
|
|
|
|
| |
that are very similar and could be merged
added text wrapping to bcfg2-lint error handling
|
|
|
|
| |
templates
|
| |
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|\
| |
| | |
Fix a typo in an SSL error message
|
| | |
|
|\ \
| |/
|/| |
Fix bcfg2-reports --badentry and --extraentry
|
|/
|
|
|
|
|
|
|
| |
The reporting system schema has been changed. This change lead to
exceptions such as
| AttributeError: 'Entries_interactions' object has no attribute 'name'
when running bcfg2-reports with the --badentry or --extraentry options.
|
|
|
|
|
|
|
| |
It appears as though Python 2 kept around variables assigned within a
list comprehensions which caused this to go unnoticed.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
|
|
|
| |
Replaces PluginExecutionError with Bcfg2.Server.Plugin.PluginExecutionError. Reported by emias.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Including the python3 libraries when running distutils on python2 leads
to syntax errors. Since the libraries are only imported conditionally,
it is safe to exclude these libraries completely on setups where they
are not needed.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
|