Commit Graph

46 Commits

Author SHA1 Message Date
Ghanshyam Mann ce8599cf34 Retire the qinling-dashboard project
As announced in openstack-discuss ML[1], Qinling project
is retiring in Wallaby cycle.

This commit retires the qinling-dashboard repository as per
process deinfed in project-guide[2]. Anyone would like to
maintain it again, please revert back this commit and propose
the re-adding it to governance.

The community wishes to express our thanks and appreciation to all of
those who have contributed to the qinling-dashboard project over the years.

Depends-On: https://review.opendev.org/c/openstack/project-config/+/764520
Needed-By: https://review.opendev.org/c/openstack/governance/+/764523

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018638.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Change-Id: Ib1953185ed61f237040a9e4e5e727fd5e2befdb8
2020-11-28 03:31:14 +00:00
OpenStack Release Bot 6611e136f1 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I3008e66db3dbfaf8fb08ad3c5e1d97356ce5d675
2020-09-22 15:03:13 +00:00
OpenStack Release Bot d5eca602ba Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: Ib4d07402066b278be3e1c4136d2a208d0b1eabb7
Sem-Ver: feature
2020-09-21 22:09:01 +00:00
OpenStack Proposal Bot 14da97ed53 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6f53aecd3e8ec8f754ed85b2c1bc7b579a1117df
2020-09-12 08:20:38 +00:00
manchandavishal 8b8e223e06 Cleanup for Refactor-error-messages
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 .

Depends-On: https://review.opendev.org/#/c/708069/
Change-Id: If727010fb171ecf14db3cc708f10e19da1c94223
2020-08-27 17:12:25 +00:00
Zuul 27bbe3ec08 Merge "Remove references to mox3 lib" 2020-06-09 04:02:00 +00:00
Zuul bca943fadd Merge "Use unittest.mock instead of third party mock" 2020-06-09 04:00:26 +00:00
Sean McGinnis a4bdaf3c77
Remove references to mox3 lib
Horizon has switched over to only using mock instead of mox3, and local
usage was deprecated for removal in stein. This drops all references to
mox3 to clean things up and prepare for mox3 removal from global
requirements.

Change-Id: I271678f8d5522c89741651326947aed0fb83892d
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-06-08 08:14:28 -05:00
Andreas Jaeger a118f06dae Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ib1e0a744a05cab9470366d81e0f9228fc8fc136e
2020-06-01 15:32:32 +02:00
Sean McGinnis 47e017fc37 Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I2b898437e7e2c8ab21b1b40bc4f39f7d6a837369
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-20 21:08:04 +00:00
Andreas Jaeger d35109723a Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Use sphinx-build for docs building

Change-Id: Id69a1d201fc14a497fccfb72200dc8ba72d08f52
2020-04-07 18:44:10 +02:00
Andreas Jaeger 6c1c858b32 Update to hacking 3.0
Hacking 3.0 was just released with minor changes, update to the new
version.

Change-Id: I371495589c3c8f3645bce532053e677bdfac499d
2020-03-30 17:43:16 +02:00
Andreas Jaeger bfabd9f078 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Change-Id: I40bd7e03f39ebb074feb6f7a64bbd398688ddebf
2020-03-29 15:56:52 +02:00
Zuul 76bf0150a6 Merge "Remove six usage" 2020-01-21 21:13:08 +00:00
Ivan Kolodyazhny e8743e1ccd s/assertItemsEqual/assertCountEqual/g
assertItemsEqual was renamed to assertCountEqual in Python 3, and the
testsuite is failing now - rename it.
See also https://six.readthedocs.io/#six.assertCountEqual

This unbreaks the testsuite.

Change-Id: I54941245a4cc77494b7e2a969a996bab505fa2c8
2020-01-20 16:47:09 +00:00
Andreas Jaeger 173821a81d Remove six usage
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.

Change-Id: Ife3910b1e66d2d8bc5dd5a5c56f7d5ef0b64ea01
Needed-By: https://review.opendev.org/701743
2020-01-11 16:56:12 +01:00
Zuul cfb06f037c Merge "translation: drop babel extractor definitions" 2020-01-08 09:07:16 +00:00
manchandavishal d7b6a7c334 Drop Django 1.11 support
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.

tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.

horizon>=17.1.0 is required to use Django 2.2. requirements.txt and
lower-constraints.txt are updated accordingly. for more info. please
refer [1].
Depends-On: https://review.opendev.org/#/c/700733/
[1] https://etherpad.openstack.org/p/Enable_Django22_support_in_Horizon_Plugin

Change-Id: I55754649f39234f65b310c5a7f13efbc090bd9cd
2020-01-02 20:16:13 +00:00
Akihiro Motoki a5c548af2c translation: drop babel extractor definitions
babel extractors are now registered via python entry points,
so there is no need to declare babel extractors in babel configs.

This change is important to make translation work in Django 2.2.
django-babel does not work with Django 2.2 and looks unmaintained
for over two years. The horizon team is thinking to switch the extractor
to enmerkar (a fork of django-babel) to make extraction of translation
string work again near future. It is important to drop the extractor
definition to make the transition smooth.

Change-Id: I099e2f9fdf07f1480b87a0d66daf14335b138833
2019-12-27 02:24:24 +09:00
Ghanshyam Mann d3d95043ee [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

qinling-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I7a216451d9290867e7c01b907f864854094fca2f
2019-11-17 13:22:57 +00:00
OpenStack Proposal Bot 47f5991cd1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6460bcffc23fcee6df5efec677aef41117ccaa66
2019-11-03 09:02:31 +00:00
manchandavishal 25dfa5048b Switch to official Ussuri jobs
Change-Id: Ic1135c520414e98df3b976aa4da21eb6fcc4ea57
2019-10-14 07:01:01 +00:00
manchandavishal 970880786c Use Horizon project template for django jobs
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]

[1] https://review.opendev.org/#/c/681969/

Change-Id: I76a3247fb6902943211ecbc2938ad0413ffc0449
2019-10-05 10:35:24 +00:00
manchandavishal d24f2c9b69 Remove py35 from tox.ini
As py35 is already dropped in [1].
So this patch removes the py35 from tox.ini as well.

[1] https://review.opendev.org/#/c/652469/

Change-Id: Ib578963fca0594a7ea3b037cae106d987c2ba383
2019-10-05 08:55:35 +00:00
OpenStack Proposal Bot 7c20ff0413 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If113783a2ec23126eacb6effc30a64d05e5fedd7
2019-09-29 08:07:04 +00:00
Andreas Jaeger 90cfad1dbe Fix releasenotes name
This is not the Heat Dashboard project, fix name.

Change-Id: Ibf71780b309fd2678f06da99a0062c171d50d227
2019-09-28 09:47:06 +02:00
manchandavishal 8c10ec4ad1 Generate PDF documentation
This commit adds a new tox target to build PDF documentation.
It's a part of community goal, see storyboard for more
information.

Change-Id: Ia0bbd99587a1e823f6b2210d2bf91dd91bd16818
Story: 2006113
Task: 35453
2019-09-19 09:59:32 +00:00
manchandavishal 4d56f80091 Update sphinx dependency
Sphinx 2.0 no longer works on python 2.7,
so we need to start capping it there as well.
For more information please refer [1].

[1] https://review.opendev.org/#/c/657890/

Change-Id: I0c8cc5159bdf51ee845c17c8f8098d8b456562a2
2019-09-19 09:33:15 +00:00
manchandavishal 7d343bb1c9 Update the constraints url
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I94e98fb9265d1406e83b9dbe279104ea4fcd48a0
2019-09-19 08:43:23 +00:00
Corey Bryant 6c1a5eefa2 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Ie76efa2dad81f1147250c4f6e56d6bd3c1db0869
Story: #2005924
Task: #34239
2019-07-05 15:52:22 -04:00
OpenDev Sysadmins e1def4cc00 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:43:08 +00:00
manchandavishal 94b9a551e2 Change openstack-dev to openstack-discuss
Mailing lists have been updated. Openstack-discuss replaces
openstack-dev.

Change-Id: Icdaf614f842e4b08aa2eba7c7599c037be9ae89e
2018-12-04 06:53:23 +00:00
Keiichi Hikita c6ead89c12 Allow admin user to create runtime
We should allow the admin user (users with admin role)
to create runtime on the dashboard.

This is equivalent function to following CLI command

openstack runtime create $IMAGE --name python3,

The $IMAGE is a docker image like
openstackqinling/python3-runtime:0.0.2
which should be provided by the user.

According to qinling team, For now,
there is no need to do validation for that
input but in future the qinling-api should do some
sanity checks and reply to the UI accordingly.

Change-Id: I279442ac9b20dce3f141beffbfda7e8b5ef9c692
Story: 2004391
Task: 28018
2018-11-27 13:29:47 +09:00
OpenStack Proposal Bot d4aeab942a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib950e36f9e154cbbd46498aa36ca3af8ee2d802c
2018-11-06 06:59:53 +00:00
OpenStack Proposal Bot 01b3b50691 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2e053cb2f613799e0ebf51f36212b38d53f11a0c
2018-10-08 07:12:57 +00:00
Keiichi Hikita 43bc6964a0 Remove mox from test files
Even mox is not already used from qinling-dashboard tests,
there are leftover sentences in test files.

This commit does the followings.
- Remove unused codse that was previously used by mox.
- Convert the clients to use mock.

Change-Id: I193b774ba99afc363af4b9f0f330a526673362d8
Story: 2003950
Task: 26867
2018-10-03 14:52:33 +09:00
keiichi-hikita 92b161884c Add translation settings for Django project.
According to project creator’s guide,
this commit add followings.

- babel-django.cfg
- babel-djangojs.cfg

Change-Id: I307e8f2bb149e76c71d252e305f4418006121088
2018-08-21 08:57:51 +09:00
Zuul 71b65b69b0 Merge "Stop using django-file-md5" 2018-08-20 09:46:53 +00:00
keiichi-hikita 69bbae30f9 Stop using django-file-md5
Current qinling-dashboard uses django-file-md5
to calculate md5 of uploading file.
But this library has no license terms,
so it is better to stop using this.
This commit remove those parts using above.

Change-Id: Ibe79df0d9d2d583e773cef502e40d07fc3eaf6f8
Story: 2003456
Task:24716
2018-08-20 18:12:24 +09:00
Zuul 9f97c04e85 Merge "Fix project url in documents" 2018-08-20 09:03:44 +00:00
keiichi-hikita 8ada38b53f Adding In-Repo Zuul jobs
This commit adds in-repo zuul jobs
According to Project Creator’s Guide.

Change-Id: I0a062007ca5b35baa8ba7f075b070a0b86d07c9c
2018-08-16 16:33:15 +00:00
keiichi-hikita 848a34b93b Fix project url in documents
Contribution relevant documents in qinling-dashboard
have temporal url which links to StoryBoard project.
Now qinling-dashboard project is ready on StoryBoard,
so this commit changes those kind of urls.

Change-Id: I319ebfe93a73b2ca026e9e71928c2a4f0a119add
Story: 2003457
Task:24717
2018-08-16 10:55:31 +09:00
keiichi-hikita 7616809493 Add .gitreview file. 2018-08-14 15:34:57 +09:00
keiichi-hikita 53cb124fc6 add constraint for package version. 2018-08-14 10:06:52 +09:00
keiichi-hikita 41aadf0042 Changed prefix number of enabled files. 2018-08-14 08:33:21 +09:00
keiichi-hikita 8211b51a40 Initial commit for qinling-dashboard 2018-08-13 16:01:33 +09:00