<br><br>On Tuesday, 18 December 2018, Erik Faye-Lund <<a href="mailto:erik.faye-lund@collabora.com">erik.faye-lund@collabora.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2018-12-17 at 16:13 -0600, Jason Ekstrand wrote:<br>
> On Mon, Dec 17, 2018 at 2:13 PM Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br>
> wrote:<br>
> > On Mon, Dec 17, 2018 at 1:53 PM Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>><br>
> > wrote:<br>
> > > Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> writes:<br>
> > > <br>
> > > > I don't know if it was actually in the doc that Jordan wrote up<br>
> > > but it's<br>
> > > > courteous of you to send a quick e-mail to the mailing list<br>
> > > when you create<br>
> > > > a new MR so that people who aren't regularly trolling the list<br>
> > > of MRs are<br>
> > > > at least aware that it exists. Of the 20 MRs that have been<br>
> > > posted so far,<br>
> > > > I think I'm the only one doing this. I'm a big fan of MRs but<br>
> > > I also don't<br>
> > > > want us MR fans to anger the list. :-)<br>
> > > <br>
> > > The conclusion of the MR discussion was that notifying the list<br>
> > > was<br>
> > > optional, I thought.<br>
> > > <br>
> > > +<p><br>
> > > + If the MR may have interest for most of the Mesa community,<br>
> > > you can<br>
> > > + send an email to the mesa-dev email list including a link to<br>
> > > the MR.<br>
> > > + Don't send the patch to mesa-dev, just the MR link.<br>
> > > +</p><br>
> > <br>
> > Yeah, I think the problem is that "interest for most of the Mesa<br>
> > community" is very vague. What it really should mean is "unless<br>
> > you're very sure that everyone who cares is skimming through MRs". <br>
> > I've seen multiple MRs which touch on st/mesa stuff in reasonably<br>
> > generic ways and I'm pretty sure the radeon devs and other gallium<br>
> > types were some of the less excited about MRs.<br>
> > <br>
> > > The MR process is heavier-weight than I hoped for, given that<br>
> > > we're<br>
> > > currently requiring rebasing tags into commit messages. I don't<br>
> > > want to<br>
> > > add more overhead to it if we don't have to.<br>
> > <br>
> > I agree. I think the real solution here is that we just need a<br>
> > bot.<br>
> > <br>
> <br>
> I took a swing at this. This python script will do the trick if we<br>
> can find somewhere to host it and harden it a bit against being a<br>
> spam-magnet:<br>
> <br>
> <a href="https://paste.fedoraproject.org/paste/EGGpnxNNWEmadt0fWJEfGg" target="_blank">https://paste.fedoraproject.<wbr>org/paste/<wbr>EGGpnxNNWEmadt0fWJEfGg</a><br>
> <br>
> It's really not all that hard, it's just a bit annoying that GitLab<br>
> requires you to run server-side scripting in a web server in order to<br>
> implement a simple hook.<br>
> <br>
> Unfortunately, Ilia's request for a diffstat is easier said than<br>
> done. In order to do that, the script would have to actually pull<br>
> the repo and run git commands. It could be done but would be a *lot*<br>
> more work. I'm not going to attempt that today nor do I really want<br>
> to get stuck maintaining a python git hook library. :-P<br>
<br>
Can't we get this from the gitlab API?<br>
<br>
<a href="https://docs.gitlab.com/ee/api/merge_requests.html#get-single-mr-changes" target="_blank">https://docs.gitlab.com/ee/<wbr>api/merge_requests.html#get-<wbr>single-mr-changes</a><br>
<br></blockquote><div>There is an experimental tool to go through the MR in the terminal:</div><div><a href="https://zaquestion.github.io/lab">https://zaquestion.github.io/lab</a></div><div><br></div><div> It's not exactly what you want but I still share it.</div><div><br></div><div>Elie</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote>