[Development] Using Git notes to reflect actual cherry-picks

Daniel Smith daniel.smith at qt.io
Wed May 25 11:48:52 CEST 2022


This shouldn’t be too difficult to set up as a cron job on the gerrit server to run in all repos—I do agree with Tor Arne though that the notes should be namespaced if possible.

Could you reupload the change to qt/qtqa/scripts/gerrit/cherrypick-git-notes ?

-Daniel

From: Development <development-bounces at qt-project.org> On Behalf Of Tor Arne Vestbø
Sent: Wednesday, May 25, 2022 11:07 AM
To: Macieira, Thiago <thiago.macieira at intel.com>
Cc: development at qt-project.org
Subject: Re: [Development] Using Git notes to reflect actual cherry-picks

See comment in review.


I think a prerequisite for running this kind of script against our repos is that the notes are namespaced, e.g. refs/notes/cherry-picks so that fetching and showing them in git log output is optional.

Other than that I think it’s a nice feature :)

Tor Arne


On 25 May 2022, at 04:50, Thiago Macieira <thiago.macieira at intel.com<mailto:thiago.macieira at intel.com>> wrote:

On Saturday, 5 March 2022 11:07:17 PDT Thiago Macieira wrote:

All this requires is that someone run a cron job every week and have
rights
to push to the refs/notes/* hierarchy.

Anyone?

No one?

The script here is working.
https://codereview.qt-project.org/c/qt/qtbase/+/395465

--
Thiago Macieira - thiago.macieira (AT) intel.com
 Cloud Software Architect - Intel DCAI Cloud Engineering



_______________________________________________
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
https://lists.qt-project.org/listinfo/development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220525/4b000ada/attachment-0001.htm>


More information about the Development mailing list