[QGIS-Developer] backporting nightmare
Denis Rouzaud
denis.rouzaud at gmail.com
Tue Mar 3 23:55:14 PST 2020
>From the docs, the bot supports
* rebased/merged for single commit PR
* squashed/merged for multi-commits PR
(I believe squashed would work for single commit too)
Matthias, are you saying we should just add -m1 here
https://github.com/Gaurav0/backport/blob/master/src/backport.ts#L107
Le mer. 4 mars 2020 à 08:19, Matthias Kuhn <matthias at opengis.ch> a écrit :
>
> On 3/4/20 8:04 AM, Nyall Dawson wrote:
> > On Wed, 4 Mar 2020 at 17:01, Matthias Kuhn <matthias at opengis.ch> wrote:
> >> On 3/4/20 7:48 AM, Denis Rouzaud wrote:
> >>
> >>
> >>
> >> Le mer. 4 mars 2020 à 02:56, Nyall Dawson <nyall.dawson at gmail.com> a
> écrit :
> >>> On Wed, 4 Mar 2020 at 10:48, William Kyngesburye <
> woklist at kyngchaos.com> wrote:
> >>>
> >>>> If it's just a buggy backport bot, then that's bad timing on my part,
> after all my dwindling spare time it took me to get caught up on my Mac
> build, I get this.
> >>> It is. The bot got seriously crippled by an upstream change, and now
> >>> it's a coin toss on the results you'll get.
> >>
> >> I plan to give another approach a try during the HF.
> >> The idea would be to use a CLI tool (https://github.com/sqren/backport
> or https://github.com/chainer/backport) which would be run a cron
> workflow.
> >> Using a cron will avoid the issues of PR from forks (the workflow user
> has rights to create branches).
> >> Hopefully these tools work better than the current bot.
> >> The only drawback I see up to now is that you'll have to wait for the
> cron to start (30min?).
> >>
> >>
> >> It looks like the bot fails on cherry-picking merge commits and would
> (likely) do fine if a `-m` option was provided - at least that's what's
> missing from the commands in the comment.
> >>
> >> Maybe it's as easy as adding this?
> > it still depends on "merges" instead of rebases... and I'm not a fan
> > of merge commits in general. They really make the git history messy
> > and difficult to read...
> >
> > Nyall
>
> Then it was too good to be true. I miss the old backport bot.
>
> I am generally a fan of merges, mostly because they provide a missing
> link from "a set of commits" to a "consolidated feature" aka pull
> request with discussion. We don't have that with rebase merges I think?
>
> Matthias
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200304/f278fa28/attachment.html>
More information about the QGIS-Developer
mailing list