| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This backend will not add any packages.
|
|
|
|
|
|
| |
The messages of the packages in the packagesite file may be encoded in
any encoding. We only need the dependencies and just ignore the unicode
errors.
|
|
|
|
| |
The Bundle do not need to be bound by another plugin.
|
| |
|
|
|
|
|
| |
If the server does not compute the packages as requirement, the client should
not install the recommended packages.
|
|
|
|
|
|
| |
For auto/any packages, currently only auto/any is stored in the
statistics as the new installed version. This patch changes this
behavior, so that the exact version string is saved additionaly.
|
| |
|
|
|
|
|
|
| |
bcfg2-web will fail without setting a valid time zone in newer django versions. This fix initializes the time zone as utc instead of None, to fix most setups without directly breaking functionality.
[reporting]
TIME_ZONE = <valid_tz>
|
|\ |
|
| | |
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
django-1.8 deprecated referencing views as strings in the url(), so we
need to import the fallback view and referencing the view function
directly.
|
|/
|
|
| |
unicode in py3.
|
|
|
|
|
| |
When importing packages we should not pollute the global modules
namespace and always import new modules with their package name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At least with pythn2.6 boto requires google_compute_engine:
> Traceback (most recent call last):
> File ".../site-packages/boto/__init__.py", line 1216, in <module>
> boto.plugin.load_plugins(config)
> File ".../site-packages/boto/plugin.py", line 93, in load_plugins
> _import_module(file)
> File ".../site-packages/boto/plugin.py", line 75, in _import_module
> return imp.load_module(name, file, filename, data)
> File ".../dist-packages/google_compute_engine/boto/compute_auth.py", line 19, in <module>
> from google_compute_engine import logger
> ImportError: No module named google_compute_engine
|
| |
|
|
|
|
|
|
| |
python-mock is now part of the Python standard library (available as
unittest.mock in Python 3.3 onwards) and all documentation on
voidspace.org.uk is removed.
|
| |
|
|
|
|
| |
pycparser-2.19 requires python2.7.
|
| |
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
| |
Don't let the client follow symbolic links when changing the owner of a
path.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| | | |
|
| | | |
|
| | | |
|