[Mesa-dev] Thoughts after hitting 100 merge requests?

Caio Marcelo de Oliveira Filho caio.oliveira at intel.com
Wed Jan 23 17:19:00 UTC 2019


On Wed, Jan 23, 2019 at 11:01:46AM +0000, Eric Engestrom wrote:
> On Friday, 2019-01-11 09:50:25 -0800, Caio Marcelo de Oliveira Filho wrote:
> [snip]
> > - To find the discussion associated with a commit in master, I'd
> >   search the title in the mailing list archives.  With MRs, the usual
> >   way that this connection is made would be the reference to the MR as
> >   part of the merge commit message, but in Mesa we don't currently use
> >   merge commits.  I've tried to search for commit titles in MR
> >   interface but it doesn't find them.
> 
> If you go on the gitlab page for a commit that comes from an MR, eg.
> https://gitlab.freedesktop.org/mesa/mesa/commit/41a0c0039225753b26f2ce61b49fef8d45c616ad
> 
> In the gray box between the commit message and the diff, you can see
> a "merge" logo followed by:
> >  1 merge request !135 travis: fix autotools builds after --enable-autotools switch addition

Thanks, Daniel Stone pointed that out earlier in the thread.  I'm also
using the "web API" to script this interaction.

    commit=$(git rev-parse $1)
    curl -s https://gitlab.freedesktop.org/api/v4/projects/mesa%2fmesa/repository/commits/${commit}/merge_requests | jq -r '.[0].title, .[0].web_url'


	Caio


More information about the mesa-dev mailing list