Bug 34709 - gear-commit: warn when gear-store-tags could update the tags
Summary: gear-commit: warn when gear-store-tags could update the tags
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: gear (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-24 17:05 MSK by Ivan Zakharyaschev
Modified: 2018-03-25 02:18 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2018-03-24 17:05:07 MSK
gear-2.2.0-alt1.noarch

Sometimes, people forget to run gear-store-tags -a (which also implies -c). The run of gear-commit is a chance to give a warning about this.

(Of course, the maintainer knows what to do right better, so this shouldn't be a strict check. In cases, when there are no such ref names in the maintainer's working Git repo, I suggest to remain silent.)
Comment 1 Dmitry V. Levin 2018-03-25 02:18:09 MSK
$ rpmquery --changelog git-core
...
* Wed Jul 28 2010 Dmitry V. Levin <ldv@altlinux> 1.7.2.1-alt1
- Updated to maint v1.7.2.1.
- hooks/pre-commit: when invoked by gear-commit,
  ensure that .gear/tags/ is up to date.

Please enable the pre-commit hook.