Skip to content

Improve rebasing experience #497

@jakubbortlik

Description

@jakubbortlik

Feature Description

Currently, the information that a feature branch needs to be rebased (with fast-forward merge strategy) is only shown in the MR summary after the MR has been approved (before that, the summary shows not_approved. But sometimes, after rebasing, the approvals are removed and another round of approvals is required.

To streamline the workflow, it would be useful to show in the MR summary if the MR needs rebasing. However, I'm not sure this is possible at the moment. I've looked at the go-gitlab library and haven't found anything in the INFO that could be used to get this kind of detailed information - the DetailedMergeStatus only contains one string and unfortunately, not_approved seems to take precedence over needs_rebase.

Ideally, rebasing should be possible from the gitlab.nvim plugin, the go library supports this, and I think it would be a nice first issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions