Issues rebasing other people's branches

Hunter Turcin huntertur at gmail.com
Tue Oct 18 05:32:24 CEST 2022


Hello again :)

I was recently given Developer permissions on the Xfburn repository and
had a question about the current preferred workflow for rebasing
changes in a merge request before merging.

I see that the GitLab instance is configured to require a rebase of the
source branch onto the target branch before a merge can be performed in
the UI. I am able to perform the rebase through the UI when I own the
branch in the merge request ([1]), but when I attempt to do the same
for merge requests involving branches I don't own ([2], [3], [4]), I
get an error. The UI says "Something went wrong. Please try again."
Normally I would assume this is due to me not having permission to
write to the source branch (which I can confirm I don't when attempting
to rebase and then push to the source branch manually outside of the
GitLab UI), but I notice that the error is preceded by a request to
https://gitlab.xfce.org/apps/xfburn/-/merge_requests/null?skip_ci=false
which does not seem right (specifically, the merge request number being
null).

I would like to confirm: is the behavior of not being able to rebase
branches I don't own through the UI expected?

Thanks,
Hunter Turcin

[1]: https://gitlab.xfce.org/apps/xfburn/-/merge_requests/11
[2]: https://gitlab.xfce.org/apps/xfburn/-/merge_requests/13
[3]: https://gitlab.xfce.org/apps/xfburn/-/merge_requests/12
[4]: https://gitlab.xfce.org/apps/xfburn/-/merge_requests/10
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20221017/4f7d9261/attachment.sig>


More information about the Xfce4-dev mailing list