4a53589fea
Gathering the metadata of repos and projects requires a significant number of HTTP calls and is therefore slow and expensive. When hacking on www-generator.py the ability to skip these calls can save a lot of time allowing much more rapid iteration. So add a persistent cache for this data, using the percache Python module. This is mostly run in the gate, where the cache will be deleted on each run. Documentation contributors running this locally may occasionally need to manually remove the cache file, although governance data generally changes slow enough that this is expected to be a rare corner case. As noted by the comment in _get_official_repos(), in the future we may add support for loading governance data from a local repo, thereby skipping the need for slow HTTP calls. But for now this is a simpler solution. Change-Id: Ib52171625e37169d00da03f436b58456c103b04d
30 lines
851 B
Plaintext
30 lines
851 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
pbr>=2.0 # Apache-2.0
|
|
|
|
# Hacking already pins down pep8, pyflakes and flake8
|
|
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
|
|
|
beautifulsoup4 # MIT
|
|
Jinja2>=2.8 # BSD License (3 clause)
|
|
openstack-doc-tools>=1.6.0 # Apache-2.0
|
|
sphinx>=1.6.2 # BSD
|
|
openstackdocstheme>=1.23.1 # Apache-2.0
|
|
doc8 # Apache-2.0
|
|
requests>=2.14.2 # Apache-2.0
|
|
requestsexceptions>=1.2.0 # Apache-2.0
|
|
lxml>=2.3,!=3.7.0 # BSD
|
|
PyYAML>=3.10.0 # MIT
|
|
jsonschema>=2.6.0
|
|
os-service-types
|
|
openstack-governance>=0.1.0
|
|
percache>=0.3.0
|
|
|
|
# For translations
|
|
# Babel 2.4.0 is broken, fixed in 2.4.1
|
|
Babel>=2.3.4,!=2.4.0 # BSD
|
|
|
|
# For testing htaccess file contents
|
|
whereto>=0.3.0 # Apache-2.0
|