[Qt-creator] [FYI] the new way to retarget gerrit changes

Orgad Shaneh orgads at gmail.com
Mon Jan 8 14:51:13 CET 2018


On Mon, Jan 8, 2018 at 3:48 PM, Konstantin Tokarev <annulen at yandex.ru>
wrote:

>
>
> 08.01.2018, 16:40, "Oswald Buddenhagen" <oswald.buddenhagen at qt.io>:
> > On Mon, Sep 12, 2016 at 02:39:57PM +0300, Orgad Shaneh wrote:
> >>     Either extend the sanity bot, or create a new bot, which listens on
> >>     gerrit's event stream.
> >>     If the change's owner (or an approver?) posts a comment reading
> "Please
> >>     retarget <branch>", run your script on the server side. You need
> some
> >>     sanity test that ensures this branch exists etc...
> >
> > ... which he implemented, and it's deployed now.
> >
> > for simplicity, only the change owner may issue the command. for other
> > cases, you still need to go through an admin. the same is advisable for
> > batch requests, but do as you wish.
>
> I think batch requests should be automated by adding comments via Gerrit's
> API
> (to minimize your distractions)
>

That's exactly what was done. Or did I misread your comment?

All you need to do is add a comment in gerrit saying: "bot: move to 5.10"
and you're done.

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180108/bff5e930/attachment.html>


More information about the Qt-creator mailing list