pylint 2.2.2 which we currently use does not support python 3.8 [1].
Let's use a newer version of pylint.
pylint now declares strict versions for astroid and isort,
so we do not need to manage them in our test-requirements.txt.
All new checks are disabled temporarily. Let's visit them later and
judge whether we disable them permanently one by one.
[1] https://github.com/PyCQA/pylint/issues/2737
Change-Id: I106b250e632305365aaab4d881c9ba5ea93505b3
As the label is not inline with filter added
bootstrap to make it adjust with screen-width
Change-Id: I189b0da7e4194e2e65230019f99598d97a50f802
Closes-Bug: #1445591
heat-dashboard is not active development now but it's still used
in a lot of deployments so it's good to check that at least
unit-tests works with the latest horizon.
python cross jobs now inherit openstack-tox-pyNN instead of
openstack-tox as openstack-tox-pyNN job has its own configuration
including node configuration and so on. It ensures the python
cross jobs are run in the same environment as they are run
in corresponding projects.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ibbb36743552295a13f6d9ff51f3ac2244d2e7f6d
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .
Partially-Implements blueprint refactor-error-messages
Change-Id: I46b632dbb6701785e7d654feff336a27d6ecea9c
* Add fetch-video-output role based on fetch-tox-output
* Fix test log collection to work with Python3
* Fix page HTML source log
Change-Id: I2e865cc5544d6e77bc3af5e413cbaedceb6df1c1
isort 5.0.0 is not API compatible with isort 4.0.0,
and our current pep8 job result has a lot of warnings:
module 'isort' has no attribute 'SortImports'.
A newer version of pylint has a version cap for isort, but
updating pylint version needs extra works.
Using isort 4.x looks like an easy workaround for us.
Change-Id: I0c6c9c60901cc6be012780e8e1399dab69b50a47
During the focal migration, npm jobs in some plugins requires
extra packages like libfontconfig. They are specific to npm jobs,
so it would be nice to have a dedicated bindep profile (as 'test'
profile is too general for this purpose). horizon job definition
provides a common layer for the npm jobs, so we decide to add a
task to the job definition in the horizon repo. Each plugin can
add packages with 'nodejs' profile in its bindep.txt if needed.
Change-Id: I5eac6b1c724e9b21a78fda5ba41002224dd9b356
This patch updates geckodriver version to v0.27.0
from v0.23.0 to fix horizon-integration job.
Fo more info. please refer [1].
[1] https://github.com/mozilla/geckodriver/issues/1771
Change-Id: Ie550beddf54e5bc43c34046bb18970638d10f303
Error messages can come from different projects(cinder, keystone,
nova, etc.),but we are currently catching all the exceptions and
return a generic error message and it hard for the user to determine
the source of error. Horizon team decided to add a collapse-able box
for error messages which shows the detailed error message on the
horizon UI during shanghai summit[1]. This patch do the same.
Partially-Implements blueprint refactor-error-messages
[1] https://etherpad.openstack.org/p/horizon-u-ptg#110
Change-Id: If0bd24540562b8f1330ac6cb7db5f1d354e1d1b7
Angular mediumDateFilter provides user with a readable date format
using predefined localizable format "medium". However it should be
more flexible with different types of inputs. This patch fixes the
filter and applies it at the images overview page.
Change-Id: I7079c306c6f98f13c779e6dae7357ccabba2d460
Closes-Bug: #1841049
This commit updates the horizon contributor docs to follow
what the community goal [1] recommended.
* Reorganize doc/source/contributor/contributing.rst to the format
suggested in the community goal template.
* Cleanup obsolete information and topics covered by the general
OpenStack contributor guide.
* Move contributing.rst to the top in TOC of the contributor guide
as it is considered as the entry point for new contributors.
* Sync CONTRIBUTING.rst at the top level directory with the
community goal template.
* Update the core reviewer expectation along with PTL expectation.
[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38525
Change-Id: Idce7fc08e7fdf854d8a7bca55169d18403362c45
Ussuri community goal "Project specific contributor and PTL docs"
want us to use doc/source/contributor/contributing.rst as an entry
point, but the current contributor/contributing.rst in horizon
contains a lot of information.
Before updating the file to satisfy the community goal criteria,
this commit reorganize the contributor doc.
It splits the existing contents in contributing.rst into pieces.
Change-Id: I8aa9a310a99e0eed5a93ed040a02a2829ee09bf7
"-j auto" enable parallel documentation build with multiple processes
and the number of processors is detected automatically.
This speeds up local documentation build a lot.
Change-Id: I7fab3a37a4a15b886d3456eebad86115a1a63f11
Fixes image and flavor selecting when creating instances.
Before this patch, selenium selected wrong column to compare
image names. This is reproduced when table consists of two or
more images, and the first image in table is not the one, that
we are looking for.
Change-Id: Iaedcdaaabb63c5f60d057fbd7927556a6038b89c