summaryrefslogtreecommitdiffstats
path: root/openstack/common/plugin/pluginmanager.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-07-10 06:39:52 -0500
committerMonty Taylor <mordred@inaugust.com>2012-07-11 11:21:24 -0500
commit92650ab9e9c3ed74029d06cfd8fd26e10a1ef940 (patch)
tree97592deb435f742904831d64436afcf93fddb6df /openstack/common/plugin/pluginmanager.py
parent44beb84b48051ff374bde6088688d6759a1807eb (diff)
downloadoslo-92650ab9e9c3ed74029d06cfd8fd26e10a1ef940.tar.gz
oslo-92650ab9e9c3ed74029d06cfd8fd26e10a1ef940.tar.xz
oslo-92650ab9e9c3ed74029d06cfd8fd26e10a1ef940.zip
Rework the version consumer functionality.
Moved the version routines into a class for better structure. Added caching/memoization logic so that pkg_resources/git doesn't get called more than is necessary. Added periodic-based caching that will only cause the meta info refs to be checked at most once a day, to reduce network load for developers. (The information in the meta refs should really only change once a month, and this will only affect local developer workstation version reporting, so we should be fine here. Added a deferred version string class and function to allow for consuming of the version string but doing the calculation only when it is requested, based on test runs in glance. Change-Id: I6a436c8817f6904959727a76d876b807ec545ee9
Diffstat (limited to 'openstack/common/plugin/pluginmanager.py')
0 files changed, 0 insertions, 0 deletions