]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Update horizon package [MOS 9.0] 93/16693/5
authorIvan Udovichenko <iudovichenko@mirantis.com>
Thu, 4 Feb 2016 15:57:00 +0000 (17:57 +0200)
committerIvan Udovichenko <iudovichenko@mirantis.com>
Fri, 5 Feb 2016 14:32:00 +0000 (14:32 +0000)
* Revert changes to openstack-dashboard package.

Change-Id: I30e3f767dae68e6a23b09771a2a6661c76617991
Counter: #2

tests/runtests.sh
trusty/debian/control
trusty/debian/openstack-dashboard.dirs [moved from trusty/debian/openstack-dashboard-common.dirs with 100% similarity]
trusty/debian/openstack-dashboard.install [moved from trusty/debian/openstack-dashboard-common.install with 100% similarity]
trusty/debian/openstack-dashboard.links [moved from trusty/debian/openstack-dashboard-common.links with 100% similarity]
trusty/debian/openstack-dashboard.postinst [moved from trusty/debian/openstack-dashboard-common.postinst with 100% similarity]
trusty/debian/openstack-dashboard.postrm [moved from trusty/debian/openstack-dashboard-common.postrm with 100% similarity]
trusty/debian/openstack-dashboard.triggers [moved from trusty/debian/openstack-dashboard-common.triggers with 100% similarity]
trusty/debian/rules

index 1d4e119afb2f38a39499a455b93c3c6772041687..640c7f7e7b8863a8499e65bfa9550bf7aa0bc8ef 100755 (executable)
@@ -9,10 +9,10 @@ grep -qi 'ubuntu' /etc/*-release && DISTR='Ubuntu'
 }
 
 case $1 in
-   openstack-dashboard|openstack-dashboard-apache|openstack-dashboard-common)
+   openstack-dashboard|openstack-dashboard-apache)
       get_distr_name
 
-      if [ "$DISTR" = "Ubuntu" ] && [ "$1" = "openstack-dashboard-common" ]; then
+      if [ "$DISTR" = "Ubuntu" ] && [ "$1" = "openstack-dashboard" ]; then
           echo 'Test is not defined.'
           exit 0
       fi
index 9f87b96fff07ca237046dd3d9818dd15e84b7b0a..fff0b7be083d030de4b3370b580a7bbdcb199bfd 100644 (file)
@@ -155,15 +155,6 @@ Description: Django module providing web interaction with OpenStack
 
 Package: openstack-dashboard
 Architecture: all
-Depends: openstack-dashboard-apache (= ${source:Version})
-Description: web application to control an OpenStack cloud
- The OpenStack Dashboard is a web application to control an OpenStack
- cloud. It connects to OpenStack services such as Nova, Swift, or Keystone
- using the OpenStack REST API just as you would with the command line
- clients.
-
-Package: openstack-dashboard-common
-Architecture: all
 Depends: adduser,
          libjs-jquery,
          libjs-jquery-cookie,
@@ -184,7 +175,7 @@ Architecture: all
 Depends: apache2 (>= 2.4),
          debconf,
          libapache2-mod-wsgi (>= 2.3),
-         openstack-dashboard-common,
+         openstack-dashboard,
          ${misc:Depends},
 Description: web application to control an OpenStack cloud - Apache support
  The OpenStack Dashboard is a web application to control an OpenStack
@@ -193,7 +184,7 @@ Description: web application to control an OpenStack cloud - Apache support
  clients.
  .
  This package includes the configuration files to use within Apache. If you
- wish to configure Apache yourself, use only openstack-dashboard-common.
+ wish to configure Apache yourself, use only openstack-dashboard.
 
 Package: horizon-doc
 Section: doc
index 76022dbc6978a7ca8c0d2dbedf1ad979a76ce574..562bff46829e0367aacd479611b811ed164f3ac3 100755 (executable)
@@ -26,10 +26,10 @@ override_dh_auto_install:
        cp -a $(CURDIR)/openstack_dashboard/ $(CURDIR)/debian/tmp/usr/share/openstack-dashboard/
 
        # Sets memcached by default in local_settings.py
-       cp $(CURDIR)/openstack_dashboard/local/local_settings.py.example $(CURDIR)/debian/openstack-dashboard-common/usr/share/openstack-dashboard/local_settings.py
-       sed -i -e 's/os.path.join(LOCAL_PATH,/os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' $(CURDIR)/debian/openstack-dashboard-common/usr/share/openstack-dashboard/local_settings.py
-       echo "COMPRESS_OFFLINE=True" >> $(CURDIR)/debian/openstack-dashboard-common/usr/share/openstack-dashboard/local_settings.py
-       install -d -m 755 $(CURDIR)/debian/openstack-dashboard-common/var/lib/openstack-dashboard/static
+       cp $(CURDIR)/openstack_dashboard/local/local_settings.py.example $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py
+       sed -i -e 's/os.path.join(LOCAL_PATH,/os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py
+       echo "COMPRESS_OFFLINE=True" >> $(CURDIR)/debian/openstack-dashboard/usr/share/openstack-dashboard/local_settings.py
+       install -d -m 755 $(CURDIR)/debian/openstack-dashboard/var/lib/openstack-dashboard/static
 
 
        cp $(CURDIR)/manage.py \