| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
For the test environment with all optional dependencies, we want to run
all tests. So let's print all skipped tests.
|
|
|
|
|
| |
For the doc test all (optional) dependencies have to be installed, so
the doc test is only usefull in a few special test environments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
The new travis infrastructure is container-based and does not allow
the use of sudo, but travis allows to install whitelisted apt packages
(http://docs.travis-ci.com/user/migrating-from-legacy/).
|
|\
| |
| | |
Options: Missing config file is not a fatal error
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
fedorahosted.org was retired on March 1st, 2017. So we need to pull
python-augeas from anywhere else, let's simply install it with pip
from PyPI.
|
| |
| |
| |
| |
| | |
The current version of sphinx has problems fetching the intersphinx
inventory files: https://github.com/sphinx-doc/sphinx/issues/3234
|
| |
| |
| |
| | |
lxml-3.7.0 requires integers as arguements for XMLSyntaxError.
|
|\ \
| |/
|/| |
Fixes for django 1.10
|
| |
| |
| |
| | |
We should be compatible with django-1.10 now.
|
| | |
|
| |
| |
| |
| | |
This helps debugging on errors.
|
| |
| |
| |
| |
| | |
This prevents false test results with database files staying around in the local
development directory.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
Since we have migrations for Bcfg2.Server syncdb fails for every call but the first
one with a ImproperlyConfigured exception because it cannot find Bcfg2.Reporting.
We simply ignore this and all test are working.
|
|
|
|
| |
The migration files are autogenerated and do not need code checks.
|
|
|
|
|
|
|
| |
We currently have a problem with django 1.10 because url.patterns is removed
and we need to change the format of the url mappings:
https://docs.djangoproject.com/en/1.9/ref/urls/#patterns
|
|
|
|
|
|
| |
With django>=1.7 'syncdb' is not needed anymore, all stuff is handled with
'migrate' now. The django.setup call is not needed there, because the models
have to call it before definition.
|
|
|
|
| |
Python2.6 support was dropped in django-1.7.
|
| |
|
|
|
|
|
|
| |
This is just a quick fix: The new version of pip on travis does
fail when using the --use-mirrors option (to be fair, the option
was deprecated long time ago).
|
|\ |
|
| |
| |
| |
| | |
Newer versions of mock, does not support the CamelCase calls.
|
| |
| |
| |
| |
| |
| | |
Be flexible and support the imports required by newer versions of the mock
package (>1.1.0). Because this new version is not available on all distributions
we are flexible and also support the old style.
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
generate
|
| | |
|
|\ \
| | |
| | | |
Expire metadata cache in all Connector plugins.
|
| | | |
|
| | | |
|
|\ \ \ |
|
| | |/
| |/| |
|
|/ / |
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If you use the regex feature of Rules/Defaults you may need the real name
of the matched entry in an attribute (for example home of POSIXUser).
You can now enable replace_name for rules or defaults and %{name} will be
replaces in the attribues of the Element before adding them to the target
entry.
This allows you to write something like that in Defaults to assing a default
home directory somewhere else to all users with unset home:
<POSIXUser name='.*' home='/somewhere/%{name}'/>
|
|\ \ \
| | | |
| | | | |
Options: Set default values from config, right after adding a new option
|
| |/ / |
|
| | | |
|
| |/
|/|
| |
| |
| | |
Other plugins that also import user generated python source code, may want to use
safe_module_name from TemplateHelper.
|