You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Ádám Sághy <ad...@gmail.com> on 2026/08/24 15:28:12 UTC
One click PR update
Hi everyone,
I’d like to enable the “Update PR” functionality for open PRs.
Here’s the relevant pull request:
https://github.com/apache/fineract/pull/6318
This feature would allow us to merge or rebase any open PRs with a single click, ensuring that they are aligned with the latest HEAD.
I’d love to hear your thoughts on this.
Regards,
Adam Saghy
Re: One click PR update
Posted by Adam Monsen <am...@mifos.org>.
+0 , maybe -1 (I'm not sure yet)
Sorry I'm late to the party... I see 6318
<https://github.com/apache/fineract/pull/6318> was already merged and will
be reverted in 6336 <https://github.com/apache/fineract/pull/6336>. I'll
still give feedback since I usually have strong opinions about git and
sometimes they're even helpful opinions. :-)
Ádám Sághy wrote:
> This feature would allow us to merge or rebase any open PRs with a single
> click, ensuring that they are aligned with the latest HEAD.
>
By "us" you mean maintainers/reviewers, not necessarily the commit
author/contributor, correct?
I don't understand what change you were proposing. I thought we already had
one-click merges.
As for rebasing vs. merging, are we talking about making it easier to bring
a PR branch up to date before merging to develop? I'd usually think to put
that on the contributor/author, like: "please update your branch with the
latest from develop" -- then *they* can rebase and force-push, or merge
from develop to their PR branch. Either action is fine and will have the
same end result AFAIK, albeit with a different commit history graph.
I’ve overlooked a crucial issue:
>
> - If we’re rebasing, we lose the validity of the commit signature, which
> blocks the PR.
>
If the contributor does the rebase locally, all the sigs and
committer/author fields will belong to the committer/author. They'll just
have to force-push and get another review approval. If a
maintainer/reviewer does the rebase locally it'll change the commit's
"committer" field to the maintainer/reviewer (leaving the author field
unchanged) and replace sigs with maintainer/reviewer sigs (this is Good
since they did rewrite history). Same, if the rebase is done on github,
just with github's sigs instead. The last case is merging from develop into
the PR branch. I didn't know there was a button for that, but it seems like
that should work fine too. In all these scenarios the commits should still
be signed.
On the other hand, if we use merge commits, we’ll have at least two merge
> commits in the history.
>
This is fine, IMHO.
Re: One click PR update
Posted by Ádám Sághy <ad...@gmail.com>.
Hi everyone,
I’ve overlooked a crucial issue:
- If we’re rebasing, we lose the validity of the commit signature, which blocks the PR.
On the other hand, if we use merge commits, we’ll have at least two merge commits in the history.
I’m wondering if we should still use this functionality…. maybe not..
Regards,
Adam Saghy
> On Aug 24, 2026, at 6:21 PM, James Dailey <ja...@gmail.com> wrote:
>
> +1
>
> We can still reject the PR or ask for improvements but the rebase helps move things along
>
>
> Sent from Gmail Mobile
>
> On Mon, Aug 24, 2026 at 8:34 AM Dhroov Sankla <dhroovsankla2004@gmail.com <ma...@gmail.com>> wrote:
>> +1
>>
>> Sounds like a great improvement. It will make keeping PRs in sync with the latest HEAD much easier for contributors and maintainers.
>>
>>
>> On Mon, Aug 24, 2026 at 8:58 PM Ádám Sághy <adamsaghy@gmail.com <ma...@gmail.com>> wrote:
>>> Hi everyone,
>>>
>>> I’d like to enable the “Update PR” functionality for open PRs.
>>>
>>> Here’s the relevant pull request:
>>>
>>> https://github.com/apache/fineract/pull/6318
>>>
>>> This feature would allow us to merge or rebase any open PRs with a single click, ensuring that they are aligned with the latest HEAD.
>>>
>>> I’d love to hear your thoughts on this.
>>>
>>> Regards,
>>> Adam Saghy
Re: One click PR update
Posted by James Dailey <ja...@gmail.com>.
+1
We can still reject the PR or ask for improvements but the rebase helps
move things along
Sent from Gmail Mobile
On Mon, Aug 24, 2026 at 8:34 AM Dhroov Sankla <dh...@gmail.com>
wrote:
> +1
>
> Sounds like a great improvement. It will make keeping PRs in sync with the
> latest HEAD much easier for contributors and maintainers.
>
> On Mon, Aug 24, 2026 at 8:58 PM Ádám Sághy <ad...@gmail.com> wrote:
>
>> Hi everyone,
>>
>>
>> I’d like to enable the “Update PR” functionality for open PRs.
>>
>>
>> Here’s the relevant pull request:
>>
>>
>> https://github.com/apache/fineract/pull/6318
>>
>>
>> This feature would allow us to merge or rebase any open PRs with a single
>> click, ensuring that they are aligned with the latest HEAD.
>>
>>
>> I’d love to hear your thoughts on this.
>>
>>
>> Regards,
>>
>> Adam Saghy
>>
>
Re: One click PR update
Posted by Dhroov Sankla <dh...@gmail.com>.
+1
Sounds like a great improvement. It will make keeping PRs in sync with the
latest HEAD much easier for contributors and maintainers.
On Mon, Aug 24, 2026 at 8:58 PM Ádám Sághy <ad...@gmail.com> wrote:
> Hi everyone,
>
>
> I’d like to enable the “Update PR” functionality for open PRs.
>
>
> Here’s the relevant pull request:
>
>
> https://github.com/apache/fineract/pull/6318
>
>
> This feature would allow us to merge or rebase any open PRs with a single
> click, ensuring that they are aligned with the latest HEAD.
>
>
> I’d love to hear your thoughts on this.
>
>
> Regards,
>
> Adam Saghy
>