This patch adds the infrastructure needed to move the configuration
of Horizon into oslo.config-compatible configuration file, instead of
the Django's Python-based configuration. It doesn't actually define
any configuration options, just the mechanism for loading them and the
additional types necessary to handle Horizon's complex configuration,
and the integration with oslo-config-generator.
Subsequent patches will add groups of options, making it possible to use
them in the local_settings.conf file instead of the local_settings.py
file. Note, that the options specified in the local_settings.py file
will continue to work.
Partially-Implements: blueprint ini-based-configuration
Change-Id: I2ed79ef0c6ac6d3816bba13346b7d001c46a7e80
Moves Django OpenStack Auth content to Horizon, since they are so
tightly coupled. This cleans up the development workflow and should
make keystone / auth related contributions easier.
Implements: blueprint merge-openstack-auth
Change-Id: Ia1cdc47bad1ca6e633073a9f9445b0c7f70d05bc
warning-on-error option is avaialble in sphinx setup command integration
since Sphinx 1.5 [0]. This is useful to prevent future warnings.
Note that there is no sphinx error or warning in the current
horizon code base :)
Also renames 'all_files' to 'all-files' in [build_sphinx] section
as this is the actual option name defined in sphinx [0].
The underscore version 'all_files' also works as pbr
handles it properly, but we use hyphen version for sphinx options,
so the consistent usage is less confusing.
[0] https://github.com/sphinx-doc/sphinx/blob/1.5.3/sphinx/setup_command.py#L69
Change-Id: Ic9d1b0e4db30891c694537d43d7f7a51ff92be49
Now that there is a passing gate job, we can claim
support for Python 3.5 in the classifier.
Horizon passes the py35 tests, make it voting at:
https://review.openstack.org/#/c/359123/
Change-Id: Ib098cf6dd3208a3e9fac93929ac2d40dba20cd4d
Several changes:
- Dont rely on run_tests.sh and run the commands directly
- Move the coverage options to the setup.cfg
- Set py27 envs under the same umbrella
- Split horizon and openstack_dashboard tests into 2
different envs
- Remove usedevelop from most envs as its not needed
- Set basepython to 27 on the default env
- Allow adding posargs to py34 env
- Add npm environment which defaults to npm run test
- Add runserver as a new env
- Move pep8 to be the first tests so we fail fast
- Provide an env to tests against system packages, useful
for package builders that DONT want to test against pip
install but their local packages installation.
- Allow to pass TOX_EXTRA_DEPS to the system_packages
tests in case some extra pip packages are needed
- Add a manage env to pass commands to manage.py
- Add an environment to createmessages
- Add an environment to check only if we can create
messages
- pep8 environment also runs the check for messages
- All python commands use {envpython} so no escape
from the venv is possible
- Uses {toxinidir} for a clear indication of where
the files to be executed are
- Moves all keywords for pybabel to the setup.cfg
- Removes not needed whitelist_external for all envs
and uses only git for one specific env
Change-Id: Ia1be8f60265d9dab2639a05912b4b7c51f1d4033
Implements: blueprint enhance-tox
Bump preversion to mark the start of the Mitaka development branch.
The liberty release branch will be cut from the previous commit.
Change-Id: I8da5a8c2938ba1c5268118f2a78ced65b0a2be10
Bump pre-version in setup.cfg to formally open Liberty development.
Kilo release branch will be cut from the previous commit.
Change-Id: I8bb60f38956c44ae961e1da69f51e7f37c6beece
Horizon does not support Python 2.6 anymore starting with Kilo and might
not work correctly with it, so remove the classifier.
Change-Id: Idb2a044968bf35c1fbe4ab42188c6f7df096d442
Bump preversion to 2014.2 to formally open Juno development.
The Icehouse release branch (milestone-proposed) will be cut
from the last commit before this one.
Change-Id: I098875288a7090de75110166b72cc00181ff278c
This bumps the target version to 2014.1, opening the master
branch for Icehouse development and ending the feature freeze.
The Havana release branch is cut from the commit preceding this.
Change-Id: I59e298f38bb18acfc42aea7f1de075a212befa51
pbr is the library-ified version of the code that was in
openstack.common.setup and version. It builds on top of d2to1 to
provide declarative build configuration.
Change-Id: Ic264fa33e17fe5fdc71d8c53412495b069ab74a4
To better facilitate the building and publishing of sphinx
documentation by Jenkins we are moving all openstack projects with
sphinx documentation to a common doc tree structure. Documentation
goes in project/doc and build results go in project/doc/build.
Change-Id: Ic523a716e4113198b777d6dc3db8bb8a729e7696
Horizon is the last project that doesn't have support for the common
Project Testing Interface. This gets horizon up to speed with the
other bits, but shouldn't break any of the existing interfaces.
Change-Id: I464c3b10d9708a0b7b5ffd42c88cd3cf515ef6a7