In Fuchsia, we have convention of putting a tag of the form "[tag]" or "tag:" describing to the component the commit is related to in the subject. We would like to have a way of enforcing this convention, ideally by giving a warning (or error) when developer pushes a commit that doesn't have a tag. I was thinking about creating a plugin that would implement this functionality. I expected it's going to be very similar to the commit-message-length-validator plugin.Does this sound reasonable? If yes, would it be possible to create a repository this plugin, e.g. plugins/commit-message-tag-validator?
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Consider to use the Git::Hooks framework.
--
Since Fuchsia is on googlesource.com, I can tell you the easiest way forward will be to use the uploadvalidator plugin, which is already installed, you would just need to enable & configure it on your host.It does lack flexibility, though, since the configuration is applied hostwide. If you need more flexibility you can either contribute to that plugin or develop your own (which you'll have to file a ticket with us to get turned on for your host).