]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Removes failed patches.
authorThomas Goirand <thomas@goirand.fr>
Mon, 28 Jan 2013 15:19:40 +0000 (23:19 +0800)
committerThomas Goirand <thomas@goirand.fr>
Mon, 28 Jan 2013 15:21:05 +0000 (23:21 +0800)
Rewritten-From: 3a260b0b7643959e70638c2e91cb8ee558ad2763

xenial/debian/patches/adds-static-width-for-td.actions_column-of-floating-ips.patch [deleted file]
xenial/debian/patches/fix-quota-summary.patch [deleted file]
xenial/debian/patches/fix-ubuntu-tests.patch [deleted file]
xenial/debian/patches/series

diff --git a/xenial/debian/patches/adds-static-width-for-td.actions_column-of-floating-ips.patch b/xenial/debian/patches/adds-static-width-for-td.actions_column-of-floating-ips.patch
deleted file mode 100644 (file)
index 1b756e8..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Adds static width for the #floating-ips td.actions
-Author: Jiang Yong <jiangyong.hn@gmail.com>
-Origin: upstream, https://review.openstack.org/#/c/17530/
-Bug-Ubuntu: https://launchpad.net/bugs/1081875
-
---- horizon-2012.2.1.orig/openstack_dashboard/static/dashboard/less/horizon.less
-+++ horizon-2012.2.1/openstack_dashboard/static/dashboard/less/horizon.less
-@@ -823,6 +823,9 @@ td.actions_column {
-   min-width: 140px;
-   min-height: 20px;
- }
-+#floating_ips td.actions_column {
-+  width: 180px;
-+}
- td.actions_column .row_actions a,
- td.actions_column .row_actions input,
diff --git a/xenial/debian/patches/fix-quota-summary.patch b/xenial/debian/patches/fix-quota-summary.patch
deleted file mode 100644 (file)
index eaf3c9a..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-Description: Fixes: Can not display usage data for Quota Summary.
-Author: Kylin CG <kylin7.sg@gmail.com>
-Origin: upstream, https://review.openstack.org/#/c/17030/
-Bug-Ubuntu: https://launchpad.net/bugs/1055929
-
---- horizon-2012.2.1.orig/horizon/templates/horizon/common/_quota_summary.html
-+++ horizon-2012.2.1/horizon/templates/horizon/common/_quota_summary.html
-@@ -2,12 +2,12 @@
- <div class="quota-dynamic">
-   <h3>{% trans "Quota Summary" %}</h3>
--    <strong>{% trans "Used" %}<span> {{ usage.quota.instances.used|intcomma }} </span> {% trans "of" %} <span> {{ usage.quota.instances.quota|intcomma }} </span>{% trans "Available Instances" %} </strong>
--    {% horizon_progress_bar usage.quota.instances.used usage.quota.instances.quota %}
-+    <strong>{% trans "Used" %}<span> {{ usage.quotas.instances.used|intcomma }} </span> {% trans "of" %} <span> {{ usage.quotas.instances.quota|intcomma }} </span>{% trans "Available Instances" %} </strong>
-+    {% horizon_progress_bar usage.quotas.instances.used usage.quotas.instances.quota %}
--    <strong>{% trans "Used" %} <span> {{ usage.quota.cores.used|intcomma }} </span>{% trans "of" %}<span> {{ usage.quota.cores.quota|intcomma }} </span>{% trans "Available vCPUs" %} </strong>
--    {% horizon_progress_bar usage.quota.cores.used usage.quota.cores.quota %}
-+    <strong>{% trans "Used" %} <span> {{ usage.quotas.cores.used|intcomma }} </span>{% trans "of" %}<span> {{ usage.quotas.cores.quota|intcomma }} </span>{% trans "Available vCPUs" %} </strong>
-+    {% horizon_progress_bar usage.quotas.cores.used usage.quotas.cores.quota %}
--    <strong>{% trans "Used" %} <span> {{ usage.quota.ram.used|intcomma }} MB </span>{% trans "of" %}<span> {{ usage.quota.ram.quota|intcomma }} MB </span>{% trans "Available RAM" %} </strong>
--    {% horizon_progress_bar usage.quota.ram.used usage.quota.ram.quota %}
-+    <strong>{% trans "Used" %} <span> {{ usage.quotas.ram.used|intcomma }} MB </span>{% trans "of" %}<span> {{ usage.quotas.ram.quota|intcomma }} MB </span>{% trans "Available RAM" %} </strong>
-+    {% horizon_progress_bar usage.quotas.ram.used usage.quotas.ram.quota %}
- </div>
diff --git a/xenial/debian/patches/fix-ubuntu-tests.patch b/xenial/debian/patches/fix-ubuntu-tests.patch
deleted file mode 100644 (file)
index 3505b80..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-Description: Fixes some unit testings
-Author: Mehdi Abaakouk <sileht@sileht.net>
-Forwarded: not-needed
-
-Index: horizon-2012.2/run_tests.sh
-===================================================================
---- horizon-2012.2.orig/run_tests.sh   2012-08-23 18:52:34.891973319 -0700
-+++ horizon-2012.2/run_tests.sh        2012-08-23 18:53:15.879971813 -0700
-@@ -274,25 +274,25 @@
-   if [ "$NOSE_WITH_HTML_OUTPUT" = '1' ]; then
-     export NOSE_HTML_OUT_FILE='horizon_nose_results.html'
-   fi
--  ${command_wrapper} coverage erase
--  ${command_wrapper} coverage run -p $root/manage.py test horizon --settings=horizon.tests.testsettings $testargs
-+  ${command_wrapper} python-coverage erase
-+  ${command_wrapper} python-coverage run -p $root/manage.py test horizon --settings=horizon.tests.testsettings $testargs
-   # get results of the Horizon tests
-   HORIZON_RESULT=$?
--  echo "Running openstack_dashboard tests"
--  export NOSE_XUNIT_FILE=openstack_dashboard/nosetests.xml
--  if [ "$NOSE_WITH_HTML_OUTPUT" = '1' ]; then
--    export NOSE_HTML_OUT_FILE='dashboard_nose_results.html'
--  fi
--  ${command_wrapper} coverage run -p $root/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings $testargs
--  # get results of the openstack_dashboard tests
--  DASHBOARD_RESULT=$?
-+#  echo "Running openstack_dashboard tests"
-+#  export NOSE_XUNIT_FILE=openstack_dashboard/nosetests.xml
-+#  if [ "$NOSE_WITH_HTML_OUTPUT" = '1' ]; then
-+#    export NOSE_HTML_OUT_FILE='dashboard_nose_results.html'
-+#  fi
-+#  ${command_wrapper} python-coverage run -p $root/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings $testargs
-+#  # get results of the openstack_dashboard tests
-+#  DASHBOARD_RESULT=$?
-   if [ $with_coverage -eq 1 ]; then
-     echo "Generating coverage reports"
--    ${command_wrapper} coverage combine
--    ${command_wrapper} coverage xml -i --omit='/usr*,setup.py,*egg*,.venv/*'
--    ${command_wrapper} coverage html -i --omit='/usr*,setup.py,*egg*,.venv/*' -d reports
-+    ${command_wrapper} python-coverage combine
-+    ${command_wrapper} python-coverage xml -i --omit='/usr*,setup.py,*egg*,.venv/*'
-+    ${command_wrapper} python-coverage html -i --omit='/usr*,setup.py,*egg*,.venv/*' -d reports
-   fi
-   # Remove the leftover coverage files from the -p flag earlier.
-   rm -f .coverage.*
-Index: horizon-2012.2/horizon/tests/testsettings.py
-===================================================================
---- horizon-2012.2.orig/horizon/tests/testsettings.py  2012-08-23 18:52:34.647973328 -0700
-+++ horizon-2012.2/horizon/tests/testsettings.py       2012-08-23 18:54:36.615968847 -0700
-@@ -98,7 +98,6 @@
- TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
- NOSE_ARGS = ['--nocapture',
-              '--nologcapture',
--             '--exclude-dir=horizon/conf/',
-              '--cover-package=horizon',
-              '--cover-inclusive']
index 9ebdfc2b8941f75543dff03c93f7a53a0b7f2743..a9d37ec6ed1047fc2f31272e939a27514c549f27 100644 (file)
@@ -1,6 +1,3 @@
 fix-dashboard-django-wsgi.patch
 fix-dashboard-manage.patch
-fix-ubuntu-tests.patch
 debian_local_settings.patch
-fix-quota-summary.patch
-adds-static-width-for-td.actions_column-of-floating-ips.patch