self._app_version = None
self._read_cache = {}
self._old_log = None
+ def setAppVersion(self, app_version):
+ """
+ Manually resets the application version; useful if the working
+ copy is off in space (i.e. not anchored to something we can
+ git describe off of) or there is no metadata to be heard of.
+ """
+ self._app_version = app_version
def read(self, file, force = False):
"""
Reads a file's contents, possibly from cache unless ``force``
modifications to without fear of interfering with a production
deployment. More operations are permitted on these copies.
"""
- def setAppVersion(self, app_version):
- """
- Manually resets the application version; useful if the working
- copy is off in space (i.e. not anchored to something we can
- git describe off of.)
- """
- self._app_version = app_version
@chdir_to_location
def parametrize(self, deployment):
"""