threads / discuss / 58796

Annotated Tag Hooks?

Subject: Annotated Tag Hooks?

## tl;dr

4 messages between Nov 12, 2022 and Nov 14, 2022.

replies: 3people: 4as markdown or json

Moss, Adam David· Nov 12, 2022, 11:10 UTC · lore
Hello,

Is there any way to use, or are there any plans to introduce, an equivalent of the `prepare-commit-msg`, `commit-msg`, and `post-commit` hooks but for `git tag` events?

I would like to make use of `git interpet-trailers` to automate the inclusion of some additional information into the tag annotation in the same way we do with commit messages, but am struggling to come up with a nice solution at the moment.

If there is a better approach I could use I'd welcome suggestions? Alternatively I'd be willing to help implement such a capability if anyone would be willing to mentor me through it?

Thanks,
Adam M.
brian m. carlson· Nov 14, 2022, 22:45 UTC · re: Moss, Adam David · lore

Re: Annotated Tag Hooks?

On 2022-11-12 at 11:10:38, Moss, Adam David wrote:
Show 14 quoted lines
> Hello,
> 
> Is there any way to use, or are there any plans to introduce, an
> equivalent of the `prepare-commit-msg`, `commit-msg`, and
> `post-commit` hooks but for `git tag` events?
> 
> I would like to make use of `git interpet-trailers` to automate the
> inclusion of some additional information into the tag annotation in
> the same way we do with commit messages, but am struggling to come up
> with a nice solution at the moment.
> 
> If there is a better approach I could use I'd welcome suggestions?
> Alternatively I'd be willing to help implement such a capability if
> anyone would be willing to mentor me through it?

Without speaking for anyone else, I think such a feature would be beneficial and I'd be happy to see it come in. I'm not personally able to mentor you on this, because I have limited time to work on Git, but perhaps someone else on the list would come along and be happy to walk you through it.

I _would_ be fine with being put on a CC for the patches to provide a review, however.

-- 
brian m. carlson (he/him or they/them)
Toronto, Ontario, CA
Taylor Blau· Nov 14, 2022, 22:51 UTC · re: brian m. carlson · lore

Re: Annotated Tag Hooks?

On Mon, Nov 14, 2022 at 10:45:43PM +0000, brian m. carlson wrote:
Show 24 quoted lines
> On 2022-11-12 at 11:10:38, Moss, Adam David wrote:
> > Hello,
> >
> > Is there any way to use, or are there any plans to introduce, an
> > equivalent of the `prepare-commit-msg`, `commit-msg`, and
> > `post-commit` hooks but for `git tag` events?
> >
> > I would like to make use of `git interpet-trailers` to automate the
> > inclusion of some additional information into the tag annotation in
> > the same way we do with commit messages, but am struggling to come up
> > with a nice solution at the moment.
> >
> > If there is a better approach I could use I'd welcome suggestions?
> > Alternatively I'd be willing to help implement such a capability if
> > anyone would be willing to mentor me through it?
>
> Without speaking for anyone else, I think such a feature would be
> beneficial and I'd be happy to see it come in.  I'm not personally able
> to mentor you on this, because I have limited time to work on Git, but
> perhaps someone else on the list would come along and be happy to walk
> you through it.
>
> I _would_ be fine with being put on a CC for the patches to provide a
> review, however.
Ditto for both ;-).

Thanks, Taylor

rsbecker@nexbridge.com· Nov 14, 2022, 23:04 UTC · re: Taylor Blau · lore

RE: Annotated Tag Hooks?

On November 14, 2022 5:51 PM, Taylor Blau wrote:
Show 27 quoted lines
>On Mon, Nov 14, 2022 at 10:45:43PM +0000, brian m. carlson wrote:
>> On 2022-11-12 at 11:10:38, Moss, Adam David wrote:
>> > Hello,
>> >
>> > Is there any way to use, or are there any plans to introduce, an
>> > equivalent of the `prepare-commit-msg`, `commit-msg`, and
>> > `post-commit` hooks but for `git tag` events?
>> >
>> > I would like to make use of `git interpet-trailers` to automate the
>> > inclusion of some additional information into the tag annotation in
>> > the same way we do with commit messages, but am struggling to come
>> > up with a nice solution at the moment.
>> >
>> > If there is a better approach I could use I'd welcome suggestions?
>> > Alternatively I'd be willing to help implement such a capability if
>> > anyone would be willing to mentor me through it?
>>
>> Without speaking for anyone else, I think such a feature would be
>> beneficial and I'd be happy to see it come in.  I'm not personally
>> able to mentor you on this, because I have limited time to work on
>> Git, but perhaps someone else on the list would come along and be
>> happy to walk you through it.
>>
>> I _would_ be fine with being put on a CC for the patches to provide a
>> review, however.
>
>Ditto for both ;-).

This feature is of interest to my community as well. Please CC me also. -Randall

← back to recent threads