15 Commits

Author SHA1 Message Date
caoyuan
349ba75410 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org and review.openstack.org URLs
with their opendev.org counterparts.

Change-Id: I88e894db7b854d32593c770f5aa9b8a91fad7866
2019-05-23 10:19:31 +00:00
Felipe Monteiro
ec4c668764 docs: Fix plugin registry generation failures
This patch set fixes plugin registry generation script which
is resulting in the documentation page ending up empty [0].

This is because the script `tools/generate-tempest-plugins-list.sh`
is using an old flag (`-A`).

This drops the `declare -A plugins` command because `plugins` isn't
used anywhere and also uses `decode('utf-8')` on the initial response
lookup for all the projects which is done already in the script
elsewhere [2].

[0] https://docs.openstack.org/tempest/latest/plugin-registry.html
[1] https://bash.cyberciti.biz/bash-reference-manual/Bash-Builtins.html#index-declare-132
[2] da8aec9aed/tools/generate-tempest-plugins-list.py (L67)

Change-Id: I70b59c869df06f35c0f7ca6d20e3584502cda8ef
2018-11-07 03:00:52 +00:00
Stephen Finucane
7f4a6211bf Mark raw strings as such
This is raising warnings now and will be an error in future versions of
Python 3.

Change-Id: I8827cb36ef2ef85e8f245a2a181fb23ee75bfd16
2018-07-06 14:01:28 +01:00
ghanshyam
95b68befc4 Skip puppet-* projects for plugin search
openstack/puppet-* projects can be skipped to
search for tempest plugin.

Change-Id: I8ca7bd944f250b168077ffc8c82b9bddb338eddb
2018-04-12 02:30:29 +00:00
mmkmmk57
7295698fde Fix verbose grammar
Fix verbose grammar about "import as."

Change-Id: If7841e177c47b00a52fd4638a21295e14ebc110f
2017-11-28 20:48:00 +00:00
Masayuki Igawa
3e1f330236
Fix import error "No module named six.moves" for plugin sanity job
This commit fixes the import error "No module named six.moves" without
using the module for the plugin sanity job. Because the job call the
script directly.

Change-Id: Id0fa1b15fe443d65a1b6ca008e490d0fa54d6b32
2017-07-04 13:19:06 +09:00
Jenkins
1b786f1c6d Merge "Fix no attribute 'urlopen' error in python3" 2017-06-29 01:20:04 +00:00
Masayuki Igawa
73c33455be Fix no attribute 'urlopen' error in python3
This commit fixes an error: "AttributeError: module 'urllib' has no
attribute 'urlopen'" with using six library. This is an incompatible
thing between python2 and python3.

Change-Id: I62ee7ee555708a2e948e6b812d996c3bb93cd6e8
2017-06-27 20:41:37 +00:00
Chandan Kumar
3c81b41d11 Fixed project lists for retrieving tempest plugins
As openstack/deb-, -specs and -ui project namespaces do not contain
tempest plugins. So, it is better to remove the above projects from
the list in which tempest plugin is searched.

Change-Id: Ie490073ea195a462cb7be0b88b6cb1b8a7b324b3
2017-06-15 11:33:55 +05:30
Jenkins
1f170f6a22 Merge "Use urllib2 instead of requests in tempest generate plugin list" 2017-06-15 05:51:17 +00:00
Chandan Kumar
1b1e6df9af Use urllib2 instead of requests in tempest generate plugin list
While using generate-tempest-plugins-list.py in tempest-plugin-sanity
CI jobs fails to run as it requires requests module to parse the git
url and is not install by default in CI job. If we are going to
install requests we need to use sudo for that which is not a
good idea, so it is better to move the script to urllib2.

Change-Id: Ifed51c67c03f993a4833413826ac15104db152fc
2017-06-13 15:42:22 +05:30
Chandan Kumar
0601be1bfd ported tools/*.py scripts to python3
Change-Id: Ib8dcc8b0c77515f8a302ed5bf03dc8283f36414b
2017-06-13 08:04:59 +05:30
Masayuki Igawa
134d9f748b
Introduce flake8-import-order
This commit introduces flake8-import-order to check import orders
automatically. We shouldn't do it manually.

Depends-On: Ia2140f5566ce169b076ffa5c9ebfbdbfc41e5bed
Change-Id: Iff75ebec42b295870edd1c04001adfb17460a682
2017-02-13 17:16:18 +09:00
Matthew Treinish
cc4ae4887e
Ignore deb-* packaging repos in the plugin list
This commit starts ignoring plugin hits from deb-* repos when generating
the plugin list for the plugin registry doc. These are just packaging
repos and not really relevant for a plugin list.

Change-Id: I5146936824c17476d4e7f3fab058c80fd932e512
2016-09-13 19:23:18 -04:00
Clint Adams
a413652c25 Prepare for dynamic generation of tempest plugin registry
This is based on the devstack plugin detection code, modified
to check setup.cfg for a tempest_plugins string.  It is to be
executed from a periodic proposal job, generating a list of
plugins in the same format.

Change-Id: I53d082319b6af6fb47083ea42c3ff6b109882e72
2016-03-28 20:11:23 -04:00