[Development] Neat feature in gerrit: drafts
Tobias Hunger
tobias.hunger at gmail.com
Fri Nov 11 07:27:52 CET 2016
Hi Edward,
Am 10.11.2016 17:18 schrieb "Edward Welbourne" <edward.welbourne at qt.io>:
>
> A review puzzled several of us today by (apparently) starting at patch
> set 6. Jesus had discovered a gerrit feature we hadn't heard of:
> drafts. If you push to refs/drafts/blah instead of refs/for/blah, you
> get a review on gerrit with much of the effect we normally achieve using
> WIP but without the sanity-bot's complaint about WIP and without the
> buttons that would allow staging. Folk can comment on it, they just
> can't actually accept it yet. Later you can push to refs/for/blah as
> usual and the review turns into a real review. Further pushes to
> refs/drafts/blah will be added as later patch sets without spamming
> those watching the review, while being visible to anyone actually
> looking at it; and you can delete drafts from the history once all they
> are is clutter. There's probably more fun I've yet to learn.
>
> This seemed worth publicizing; so now you all know :-)
Qt Creator supports drafts, too.
You can also push a draft over an existing patch set in review. That draft
can then be discussed and "published" to become a "real" patch in the patch
set.
Best Regards,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20161111/9476332b/attachment.html>
More information about the Development
mailing list