-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Commits aren't persistent in Git, and that has been a major topic in the recent refactor of the Git support for the recipe.
For better efficiency, the freeze option should stop using shas in its output. Instead, it should introspect HEAD for tags it could have and use what it's found. Ideally it should not even accept to freeze if no tag is available, but that would be too disruptive for users' current workflows (odoo produces almost no tags)
It could also produce a tag of its own, but that would be useful only for those that manage their own forks. One can imagine lots of options to control that behaviour (tag only if needed, always tag, tag naming policy etc.)
The open question would be which tag to use if the HEAD has several of them. Maybe we can add an option to control that (with a regexp, a prefix) ?