lkml.org 
[lkml]   [2018]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Git pull ack emails..
On Tue, Oct 23, 2018 at 10:46:06AM +0100, Linus Torvalds wrote:
>If it's a "proper" pull request (ie done by git request-pull), then
>the magic marker would be that it as that
>
> for you to fetch changes up to %H:
>
>line where %H is the hash of the tip of the tree that is requested to be pulled.
>
>Then automation could literally just check "is that commit in Linus'
>public tree", and when that happens, generate an automatic
>notification that the pull request in question has been merged.

I can probably do something like that at kernel.org. How about something
more generic -- e.g. a simple tool that asks a remote web service to
notify you when a commit-id is seen in one of the kernel.org repos?

E.g.:

git lmk for-linus mainline

this does:

- find out the commit-id points at "for-linus"
- send a REST request to https://foo.kerkel.org/lmk:

{
"tree": "mainline",
"commit": "123abc...abc555",
"notify": "(output of $(git config user.email)"
}

We already run a bunch of periodic jobs on repo updates and can run an
additional check-and-fire-an-email automation job.

Would that be a useful alternative? If yes, what would be your preferred
workflow for such tool instead of "git lmk [commit] [tree-moniker]"?

-K
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-10-23 22:04    [W:0.145 / U:28.780 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site