| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
The compat class from sphinx for "Directive" was deprecated and removed in the
current sphinx version. So we should use the class from docutils directly.
You will need at least docutils-0.5 (from 2008) to build the documentation.
|
|\
| |
| | |
Reporting: Add SELinux entries
|
| |
| |
| |
| | |
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The backwords compatible syntax was removed in 1.10. The "new" syntax is
available since 11 years [1] and was already available in django 1.0 [2].
> Support for the syntax of {% cycle %} that uses comma-separated
> arguments is removed. [3]
[1]: https://code.djangoproject.com/ticket/208
[2]: https://github.com/django/django/commit/09145d2e5f
[3]: https://docs.djangoproject.com/en/2.0/releases/1.10/#features-removed-in-1-10
|
| |
| |
| |
| |
| |
| |
| |
| | |
Django 1.8 deprecated the multiple TEMPLATE_* settings and introduced a
single TEMPLATES config option. Django 1.10 stopped creating a
backwards-compatible TEMPLATES based on the TEMPLATE_* settings.
(See: https://docs.djangoproject.com/en/1.10/ref/templates/upgrading/#the-templates-settings)
|
| |
| |
| |
| |
| |
| |
| | |
Replace django.shortcuts.render_to_response with django.shortcuts.render
because the context_instance argument was deprecated in django 1.8 and
removed in django 1.10. The render shortcut is available since django
1.3, so we can use it without a version check.
|
|/ |
|
|
|
|
|
|
|
| |
The older python versions only ship with an old version of pip. Since some days
SSL is required for downloading from pypi. We have to specify this explicitly
because the older pip version only try http by default.
(https://github.com/pypa/pip/issues/4817)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the module name contains slashes, python will issue an warning:
> Ldap/config.py:1: RuntimeWarning: Parent module '__Ldap_/root/repo/Ldap/config' not found while handling absolute import
> from Bcfg2.Server.Plugins.Ldap import LdapConnection, LdapQuery
So we simply use the basename without the file extension for the module name.
|
| |
| |
| |
| |
| |
| | |
You can now set arbitrary ldap option for the connection by specifying
a dict with the key and the value. You should use the constants from
python-ldap.
|
| |
| |
| |
| |
| |
| |
| | |
You can now specify the server to connect by either host (and optionally
port) or by specifying the full ldap uri. If you specify host and port
the connection will use the plain (unencrypted) ldap protocol by default.
Only if you specify the port "636", it will use ldaps now.
|
| |
| |
| |
| |
| |
| |
| | |
Using the OnDemandDict removes the results of Ldap queries from the
client_metadata cache. We add a new cache per hostname cache for the
single ldap queries and add a new configuration option to enable
caching until the cache is expired manually via XML-RPC.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
With the CallableDict the LdapQueries will only be executed, if the values
are used.
|
| |
| |
| |
| |
| |
| | |
Add a CallableDict (like OnDemandDict, but without caching the results)
to have a dict-like class, that can be cached with the client metadata
without caching the dynamic values.
|
| |
| |
| |
| | |
Now you can also specify simple values for the OnDemandDict.
|
| |
| |
| |
| | |
The OnDemandDict could be used by different plugins.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "with_system_site_packages" virtualenv seems to be missing the
pymodules directory containing python modules installed with the
python-support debian helper. So we use the default environment and
manually add the references to the system-wide python packages.
|
| | |
| | |
| | |
| | | |
https://github.com/sphinx-doc/sphinx/issues/3234 should be fixed now.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
cheetah3 is a fork of cheetah for Python2.7 and Python3.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since 2017-07-18 the default dist is changing to trusty[1]. Just using the
new default before the switch.
1: https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
> Mercurial 4.2.2 is the last release to support Python 2.6.
> Use this if you need to run Mercurial on old platforms and
> you cannot update your Python installation.
See also: https://www.mercurial-scm.org/wiki/SupportedPythonVersions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The default email notifications should be sufficient:
> By default, a build email is sent to the committer and the author,
> but only if they have access to the repository the commit was
> pushed to.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The new python-augeas version builds a "C Foreign Function Interface" for
libaugeas and do not load the library with dlopen at runtime anymore. So
libaugeas-dev is required as build dependencies.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
For the test environment with all optional dependencies, we want to run
all tests. So let's print all skipped tests.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For Python2.4 we need older version of pylint and pep8, that finds some
more errors:
- On python2.4 _ast is not available and pylint uses compiler.ast, that
seems to have some problems with the line numbers if a comment is
following the pylint disable marker.
- In python2.4 there is no xml.etree. But we can ignore this error because
Client.XML tries to find a suitable library.
- Some small formatting issues.
|
| | |
| | |
| | |
| | |
| | | |
For the doc test all (optional) dependencies have to be installed, so
the doc test is only usefull in a few special test environments.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The build dependencies for the optional dependencies should only be installed
if we like to test with optional dependencies. To keep the .travis.yml clean
we use yaml anchors and references.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For Python2.4 and Python2.5 we need very old pylint versions (0.21.x). So
we have to work around some bugs:
- This adds some ugly monkey patching to backport some bugfixes from newer
pylint versions (that does not support Python2.4 anymore).
- Another problem is, that pylint-0.24 changed its message IDs. So this
translates the new IDs into the older ones, so that the old pylint can
match the disabled messages.
- The newer version of pylint support more messages and some of the new
messages have to be disabled. The old pylint versions have to silently
ignore unknown message ids.
- The compatible astng version of the old pylint does not support
register_transformer, so we need to build out own variant by monkey
patching the ASTNGBuilder.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We do not want to run the test for the Server with Python2.4 and Python2.5 and
use the nose-exclude plugin to disable the Server tests based on the directory.
We do not even want to import the modules of the Server, as it might not be
possible anymore (missing dependencies or invalid syntax).
nose-exclude-0.2 breaks compatibility with Python2.5 and below (it is using the
"with open(..):" syntax), so we have to stick to the last version below.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The python dependencies are only build once to create the wheel and
cached using the travis-ci infrastructure. All builds afterwards
will be faster because the cached version is used.
|
| | | |
|