Commit Graph

9 Commits

Author SHA1 Message Date
Dr. Jens Harbott a014b0bda9 Update sitemap generator with current series
This hasn't been updated in four years, we need to get current content
into the sitemap and drop unmaintained releases.

Change-Id: If2f9a3459f7570b92328002ca8c13ebcca67f54c
2024-03-28 16:26:31 +01:00
Zuul 86d1aa8378 Merge "Use unittest.mock instead of mock" 2020-08-17 16:07:38 +00:00
Hervé Beraud 24fc79fe24 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: I453515f347a59f4c6f60e0dcba2c327cf2a40426
2020-08-17 17:43:44 +02:00
Andreas Jaeger 8cca4479b6 Update sitemap
* Update releases: Newton is unmainted; train, ussuri are relased
* We have redirects to some sites, ignore them
* Remove python2 code
* Use https as starting point

Switch repo also to victoria PTI jobs.

Change-Id: I744e725b32a797b0e208ac7e81afe4b8d3578751
2020-06-21 21:48:53 +02:00
Andreas Jaeger ae0833ad9f Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Change-Id: I621cc7f472e2666d3422113675b18d838688a434
2020-03-30 12:03:26 +00:00
Andreas Jaeger 5793218d2b Remove openstack-jsoncheck and openstack-indexpage
These are not used anymore, remove them.

Change-Id: Ib4f8c25bc0bbd8227d21e055f07411926577714b
2019-08-19 13:04:13 +00:00
Andreas Jaeger 6898821aeb Change priorities for sitemap
Downgrade old EOL releases, give current maintained releases and
development versions a higher priority.

this needs changes to the test framework, update mocking. Also, rename
URL to be docs.openstack.org and not .com.

Change-Id: I2c2c0408e203a65a9541baaf55ffe60694463975
2017-07-28 20:30:06 +02:00
Andreas Jaeger d4c18f5683 sitemap: Add ocata
Handle ocata as older release.

Change-Id: I7437faf717ca277e2ba72ef38e65a2979af11346
2017-07-25 20:02:40 +02:00
Brian Moss d3bc42483a Update sitemap tests
- add py3 to tox.ini (gate already tests py3)
- move all tests to $GITROOT/test so they can all run
  through testr
- add scrapy to test-requirements.txt to support sitemap tests
- move tests from test_items.py to test_sitemap_file.py
- fix broken sitemap tests
- add newton to list of old releases in sitemap_file.py
- ignore flake8 H101 as it returns false positives for Sphinx conf.py
- Use openstackdocstheme for docs
- Update sitemap README
- Restructure repo docs
- fix minor style issues

Change-Id: I22c018149b2eefde6ca5c38c22ac06886fe9a7a8
2017-04-29 10:36:27 +10:00