Commit Graph

583 Commits

Author SHA1 Message Date
Zuul 34d181d2ae Merge "Update URL links to opendev.org locations" 2022-04-14 22:50:08 +00:00
Zuul e5a6ea14d4 Merge "Add launchpadlib to requirements.txt" 2022-04-14 21:21:01 +00:00
Zuul fe05f53545 Merge "Fix 'openreviews' script to work with Python3" 2022-04-14 21:18:02 +00:00
wangfaxin 4510c60135
Update URL links to opendev.org locations
Some links still pointed to out-of-date openstack.org URLs. This updates
references to point to the current opendev.org locations.

Change-Id: I03a006948bf3f8b056cc7787c5fcda51aa9373fb
2022-04-14 16:06:21 -05:00
Zuul c911f29a86 Merge "Fix 'reviewers' command to make with Python3" 2022-04-14 15:34:35 +00:00
Zuul 63d968b45c Merge " Oslo project updates" 2022-04-14 15:34:33 +00:00
Hervé Beraud 699bfbbc02 fix docs url
Change-Id: Id403d5dadcc38bb12298b7e1ce31503d4789e092
2022-04-14 15:51:43 +02:00
Hervé Beraud 7591ed8212 Oslo project updates
-Add all projects from governance list
 -Retire unmaintained deliverables

 https://governance.openstack.org/tc/reference/projects/oslo.html

Change-Id: I3ed9589013c98f483d874b8e98e7cf8d03e5dcad
2022-04-14 10:37:29 +02:00
yangyawei 27d6e6d284 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I46b1da90c8cd3e912fcd9e945b15d84a4732760f
2021-05-14 17:05:06 +08:00
Daniel Bengtsson a376f1ff79 Stop configuring install_command in tox.
Currently, we are overriding 'install_command' to use 'pip'. This is
considered poor behavior and 'python -m pip' should be used instead:

https://snarky.ca/why-you-should-use-python-m-pip/

It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: I50080434a5a11226300eb699fd31103c5e9f5e28
2020-07-24 13:03:14 +02:00
Zuul c53796b31a Merge "Use unittest.mock instead of third party mock" 2020-07-22 13:29:30 +00:00
Andreas Jaeger 143f05f268 Update jobs
Switch to py38 jobs and add pep8 and publish-tarball, they are not part
of the py3x templates anymore.

Depends-On: https://review.opendev.org/737701
Change-Id: I13b7f8556f6839110d82abf57dd9146992c98d7c
2020-06-25 08:52:32 +02:00
Ivan Kolodyazhny ca62e3ccaf Add launchpadlib to requirements.txt
launchpadlib is used in 'bugstats' and 'reviews_for_bugs' scripts.

Change-Id: I6e42ff772948003ea5d315dfd893495e6d9c9841
2020-06-19 22:04:04 +03:00
Ivan Kolodyazhny fac90aa416 Fix 'openreviews' script to work with Python3
Change-Id: Iadbbc00252bdbc3987d072e9064e80be7a8d01f2
2020-06-19 21:51:45 +03:00
Ivan Kolodyazhny 98e27f513d Fix 'reviewers' command to make with Python3
Change-Id: I9716ed3f629d54f1a4e82dc64bf65a0702af6a25
2020-06-19 21:48:35 +03:00
Andreas Jaeger 7be58d6af8 Cleanup repo
* Remove unused files babel.cfg and openstack-common.conf.
* Remove obsolete entries from setup.cfg.
* Remove six as requirement
* Switch to newer hacking version and fix all problems.
* Remove Babel requirement, update requirements for python3

Change-Id: I1fc46288e54a5b787afbd9ee31b32a0e7d28c6de
2020-06-09 10:45:08 +02:00
Andreas Jaeger 4be7831173 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version 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_version to not auto-version the documents.

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.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

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: I33db298dd24f1e9795fb789f7c6964a97ba0651f
2020-06-03 21:10:09 +02:00
Sean McGinnis 9b9aabe74a
Use unittest.mock instead of third party mock
We can now use the standard library mock library instead of the third
party one previously needed for py27 compatibility.

Change-Id: I6b80b62d8e3c8bd9432f567e0725c191cef6f715
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-13 11:32:04 -05:00
Zuul 707a7c5be0 Merge "Update ironic subprojects" 2020-01-20 14:29:32 +00:00
Zuul 5d28723e27 Merge "Remove fuel project" 2020-01-08 15:02:34 +00:00
Zuul 50fe72bdb5 Merge "Clean up requirements" 2020-01-08 14:10:34 +00:00
Zuul 717e07ea17 Merge "Drop py2 testing and metadata" 2020-01-08 14:10:30 +00:00
Zuul b73a79dc0a Merge "Switch to py37 jobs" 2020-01-08 14:10:30 +00:00
Sean McGinnis d604461266 Clean up requirements
Removes docs requirements from test-requirements since those are now
tracked in doc/requirements.txt.

Updates docs requirements since we are now py3-only.

Change-Id: Id1472978e32d22564a944ccaf3804ba11f176be5
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-08 13:43:34 +00:00
Sean McGinnis e65f22678e
Drop py2 testing and metadata
This drops testing of py2 environments and removes it from the package
metadata.

Story: #2003229
Task: #23646

Change-Id: Ieb6ed753705aa5f35e58ec4f3796b4ad9e5e33c3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-02 08:03:04 -06:00
Sean McGinnis 9e3b190ad2
Switch to py37 jobs
This switches the job template to move from py35 to py37.

Depends-on: https://review.opendev.org/699679

Change-Id: Ib8d498377d1b321fb0ef829d38619f1d7e065a4f
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-01-02 07:49:36 -06:00
Dmitry Tantsur 0ac67ac973 Update ironic subprojects
ironic-inspector-tempest-plugin has never been used, a few other
have been added.

Change-Id: I030707de6834bba183a472a5375d118e38e5c06f
2020-01-02 13:43:23 +01:00
Andreas Jaeger 1ee86ed0e1 Remove fuel project
The project is retired and dead, remove it.

Change-Id: I093216e27fcbd902a9a6c50baf23935d1ca3832e
2019-12-19 14:17:23 +01:00
Matt Riedemann 59f6c2e5ac reviewers: make --project and --stable mutually exclusive
When using the reviewers command to get stats on stable branch
reviews, I always think I can specify --stable and --project nova
to get nova stable reviews, but that's not how the command
works and the --project option is ignored resulting in a report
which I don't expect, i.e. there are non-nova reviewers in the
report.

This makes --project and --stable mutually exclusive to avoid that
confusion.

Change-Id: Ie9938f5e68f27b9a5a58635be2185365f041136f
2019-11-04 11:15:27 -05:00
Matt Riedemann 93f7506d54 Switch reviewers command to use argparse
optparse is deprecated in python 2.7 and not available
starting in python3. This changes the reviewers command
to use argparse instead.

Change-Id: I76f270b4e998e8cf2a56c12d7bf70c0651c69d16
2019-11-04 11:12:53 -05:00
Zuul e305d927e4 Merge "Drop pypy default tox env" 2019-10-22 08:55:27 +00:00
Zuul 72b1c5f050 Merge "Switch to stestr" 2019-10-22 08:54:35 +00:00
Zuul 475f6df615 Merge "Raise hacking version and fix pep8 errors" 2019-10-22 08:54:35 +00:00
Zuul 33a9ed2108 Merge "Load subproject data from governance" 2019-10-22 08:54:34 +00:00
Sean McGinnis 003e743379 Drop pypy default tox env
Change-Id: I75ad6cb86221f424d4a65e84329b147ed2b0aada
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-08-01 17:03:10 +02:00
Ben Nemec e27bb7efdb Switch to stestr
It works better and pbr will at some point drop support for running
tests via setup.py.

Change-Id: I44250d8c65af932e035c7ab6fc08f1135a15ab93
2019-08-01 17:02:18 +02:00
Sean McGinnis 58f2b47814 Raise hacking version and fix pep8 errors
Various issues hit when switching to using stestr to run tests.
Presumably from other pulled in dependencies. This raises hacking to a
version that fixes a pyflakes issue [0] and addresses other pep8
violations that are then identified.

[0] https://github.com/PyCQA/pyflakes/pull/80

Change-Id: I9d8637d50067d6618aa408f4dbd9c736956099ed
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-08-01 17:01:07 +02:00
Ben Nemec 39b1e03047 Load subproject data from governance
Instead of manually curating a list of all the subprojects in a
project, we should use the governance repo that already includes
most, if not all, of this information.

For the moment, this change just adds the governance data to the
data already in the json files. This is because I'm not sure whether
there is a 1:1 relationship between what is in governance and what
is in the json files. It's possible we could eliminate the json files
entirely at some point, but for the moment this gets us updated
subproject lists for essentially free, since it's likely that many
projects' json files are missing subprojects added in the past few
years.

Change-Id: Ia3992dd30f83294a96ace155691e50838cd5543b
2019-08-01 17:01:07 +02:00
inspurericzhang 905c2da520 Mailing lists change openstack-dev to openstack-discuss
Change-Id: I316a5b937f854accb01506ba960b2b532b38c9c5
2019-07-01 19:38:32 +08:00
Zuul 1407bba3ee Merge "Add vitrage projects" 2019-06-23 02:59:03 +00:00
Zuul cba5c772b5 Merge "Add Kuryr to projects" 2019-06-23 02:59:02 +00:00
Zuul 332a40501c Merge "Add cinderlib repository for Cinder" 2019-05-28 02:29:14 +00:00
Zuul 4b22b1dbea Merge "Add cinder-tempest-plugin repository for Cinder" 2019-05-28 02:25:24 +00:00
Zuul b67cd0dae6 Merge "Adds tox docs job" 2019-05-28 02:19:35 +00:00
Ivan Kolodyazhny a6f6d0125e Add vitrage projects
Change-Id: I8ea82ad4d1f44cdaeb2980678d9313028a91c3fa
2019-05-27 20:14:12 +00:00
Anne Gentle 2b1c945b45 Adds tox docs job
Follow PTI for this and add all needed changes, remove obsolete
options. Switch to openstackdocstheme instead of oslosphinx
since that is retired.

Remove module index - this repo has no modules and thus nothing is
generated.

Add job to publish documents.

Change-Id: Ida269f9755099f32a12f46082b529311ecb7e2b6
2019-05-18 13:45:47 +02:00
Ben Nemec ff938a9288 Don't fail when writing cache either
We handle errors loading the cache, but if we run out of memory while
writing the cache file it can also cause the run to fail unnecessarily.
If the cache is not written it just means data will have to be
retrieved from Gerrit.

Change-Id: I64ec3030000fc9d62fa8e55ba1524aeaf4f4095c
2019-05-17 20:28:08 +00:00
Ben Nemec 41422af648 Switch default server to opendev.org
review.openstack.org is now a redirect to review.opendev.org. We
should just point at the new location.

Change-Id: Ibae768aa25464e6133d4d65d9a59b919ee689fe4
2019-05-17 20:28:08 +00:00
Ben Nemec 1bbf631545 Handle all exceptions loading pickled data
The pickle file is just a local cache of Gerrit data. If we fail to
load it, it will just be regenerated from Gerrit. We should never
allow a failure in pickle.load to be fatal.

Change-Id: If433fa5f335db8db63cdd264919c0dbeb3a7a32e
2019-05-17 20:28:08 +00:00
Sean McGinnis 4944a7ef8e
Add cinderlib repository for Cinder
Change-Id: Ic7b7509677bab3ed3a3fe843e9edf09ea87c6525
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-05-01 12:40:40 -05:00