openstack-manuals/.gitignore
Adam Spiers 4a53589fea www-generator.py: cache expensive repo/project metadata to disk
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
2019-01-04 17:10:22 +00:00

31 lines
289 B
Plaintext

.DS_Store
*.xpr
.idea
# Build results
/publish-docs/
.doctrees
build/
/build-*.log.gz
*.mo
# Python compiled files
*.pyc
# Ignore Vagrant Related Files
acceptance_config.yml
boxes/*
/.vagrant
# Testenvironment
.tox/
# Editors
*~
.*.swp
.*.swo
.bak
/.project
OS_GOVERNANCE_DATA_CACHE