]
Emil Natan reassigned OVIRT-1959:
---------------------------------
Assignee: Emil Natan (was: infra)
Make usrc.py support Git tags
-----------------------------
Key: OVIRT-1959
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-1959
Project: oVirt - virtualization made easy
Issue Type: Improvement
Components: usrc.py
Reporter: Barak Korren
Assignee: Emil Natan
There are multiple features that could be useful to add to {{usrc.py}} that has to do
with Git tags:
# *Snap to tag* - when running {{update}} take the latest tagged commit from the branch
instead of the latest commit. This could further be enhanced to decide what to do when
there is no tagged commit that is newer then what we already have - we can either decide
not to update or update to the latest (untagged) commit.
# *Copy tag* - when running with {{--commit}} and the upstream commit we're updating
into is tagged, store some information somewhere so that if the commit is merged, the CI
system could tag it automatically and push that tag. It should be possible to customise
the tag we add to allow it to be different but derived from the upstream tag. One possible
place to store the needed information is to use a header in the commit message like we do
for auto-merge.