23dcf955a2
This patch adds a programmatic attribute 'revision' to the repo class. This attribute contains the exact revision at the time of the checkout of a repository. By that, we can avoid the ambiguity of refspecs containing tags or branch names. Internally, the revision is not yet used but just made available for future downstream users (e.g. plugins). Note, that the revision has to be re-queried on each access, as the Config class re-instantiates the repos for each consumer. Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> |
||
---|---|---|
.. | ||
plugins | ||
__init__.py | ||
__main__.py | ||
__version__.py | ||
config.py | ||
configschema.py | ||
context.py | ||
includehandler.py | ||
kas.py | ||
libcmds.py | ||
libkas.py | ||
repos.py | ||
schema-kas.json |