Skip to content

Commit 9742842

Browse files
committed
Re-architects the OpenStack Dashboard for modularity and extensibility.
Implements blueprint extensible-architecture. Implements blueprint improve-dev-documentation. Implements blueprint gettext-everywhere. Implements blueprint sphinx-docs. Complete re-architecture of the dashboard to transform it from a standalone django-openstack app to a Horizon framework for building dashboards. See the docs for more information. Incidentally fixes the following bugs: Fixes bug 845868 -- no PEP8 violations. Fixes bug 766096 -- the dashboard can now be installed at any arbitrary URL. Fixes bug 879111 -- tenant id is now controlled solely by the tenant switcher, not the url (which was disregarded anyway) Fixes bug 794754 -- output of venv installation is considerably reduced. Due to the scale and scope of this patch I recommend reviewing it on github: https://github.com/gabrielhurley/horizon/tree/extensible_architecture Change-Id: I8e63f7ea235f904247df40c33cb66338d973df9e
1 parent 91ceb59 commit 9742842

File tree

403 files changed

+21580
-19193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

403 files changed

+21580
-19193
lines changed

.bzrignore

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
django-openstack/.installed.cfg
2-
django-openstack/bin
3-
django-openstack/develop-eggs/
4-
django-openstack/downloads/
5-
django-openstack/eggs/
6-
django-openstack/parts/
7-
django-openstack/src/django_nova.egg-info
8-
django-openstack/src/django_openstack.egg-info
1+
horizon/.installed.cfg
2+
horizon/bin
3+
horizon/develop-eggs/
4+
horizon/downloads/
5+
horizon/eggs/
6+
horizon/parts/
7+
horizon/src/django_nova.egg-info
8+
horizon/src/django_openstack.egg-info
99
django-nova-syspanel/src/django_nova_syspanel.egg-info
1010
openstack-dashboard/.dashboard-venv
1111
openstack-dashboard/local/dashboard_openstack.sqlite3

.gitignore

+12-11
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ coverage.xml
55
pep8.txt
66
pylint.txt
77
reports
8-
django-openstack/.installed.cfg
9-
django-openstack/bin
10-
django-openstack/develop-eggs/
11-
django-openstack/downloads/
12-
django-openstack/eggs/
13-
django-openstack/htmlcov
14-
django-openstack/launchpad
15-
django-openstack/parts/
16-
django-openstack/django_nova.egg-info
17-
django-openstack/django_openstack.egg-info
8+
horizon/.installed.cfg
9+
horizon/bin
10+
horizon/develop-eggs/
11+
horizon/downloads/
12+
horizon/eggs/
13+
horizon/htmlcov
14+
horizon/launchpad
15+
horizon/parts/
16+
horizon/django_nova.egg-info
17+
horizon/horizon.egg-info
18+
horizon/django_openstack.egg-info
1819
django-nova-syspanel/src/django_nova_syspanel.egg-info
1920
openstack-dashboard/.dashboard-venv
2021
openstack-dashboard/local/dashboard_openstack.sqlite3
2122
openstack-dashboard/local/local_settings.py
2223
build/
23-
doc/source/sourcecode
24+
docs/source/sourcecode

README

+17-17
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ OpenStack Dashboard (Horizon)
44
The OpenStack Dashboard is a Django based reference implementation of a web
55
based management interface for OpenStack.
66

7-
It is based on django-openstack, which is designed to be a generic Django
8-
module that can be re-used in other sites.
7+
It is based on the ``horizon`` module, which is designed to be a generic Django
8+
app that can be re-used in other projects.
99

1010
For more information about how to get started with the OpenStack Dashboard,
1111
view the README file in the openstack-dashboard folder.
1212

13-
For more information about working directly with django-openstack, see the
14-
README file in the django-openstack folder.
13+
For more information about working directly with ``horizon``, see the
14+
README file in the ``horizon`` folder.
1515

1616
For release management:
1717

@@ -29,21 +29,21 @@ Project Structure and Testing:
2929
------------------------------
3030

3131
This project is a bit different from other Openstack projects in that it has
32-
two very distinct components underneath it: django-openstack, and
33-
openstack-dashboard.
32+
two very distinct components underneath it: ``horizon``, and
33+
``openstack-dashboard``.
3434

35-
django-openstack holds the generic libraries and components that can be
36-
used in any Django project. In testing, this component is set up with
37-
buildout (see run_tests.sh), and any dependencies that get added need to
38-
be added to the django-openstack/buildout.cfg file.
35+
The ``horizon`` directory holds the generic libraries and components that can
36+
be used in any Django project. In testing, this component is set up with
37+
buildout (see ``run_tests.sh``), and any dependencies that get added need to
38+
be added to the ``horizon/buildout.cfg`` file.
3939

40-
openstack-dashboard is a reference django project that uses django-openstack
41-
and is built with a virtualenv and tested through that environment. If
42-
depdendencies are added that the reference django project needs, they
43-
should be added to openstack-dashboard/tools/pip-requires.
40+
The ``openstack-dashboard`` directory contains a reference Django project that
41+
uses ``horizon`` and is built with a virtualenv and tested through that
42+
environment. If dependencies are added that ``openstack-dashboard`` requires
43+
they should be added to ``openstack-dashboard/tools/pip-requires``.
4444

45-
The run_tests.sh script invokes tests and analysis on both of these
46-
components in it's process, and is what Jenkins uses to verify the
45+
The ``run_tests.sh`` script invokes tests and analyses on both of these
46+
components in its process, and is what Jenkins uses to verify the
4747
stability of the project.
4848

4949
To run the tests::
@@ -55,7 +55,7 @@ Building Contributor Documentation
5555

5656
This documentation is written by contributors, for contributors.
5757

58-
The source is maintained in the `doc/source` folder using
58+
The source is maintained in the ``docs/source`` folder using
5959
`reStructuredText`_ and built by `Sphinx`_
6060

6161
.. _reStructuredText: http://docutils.sourceforge.net/rst.html

django-openstack/README

-56
This file was deleted.

0 commit comments

Comments
 (0)