frontend: instruct how to set MR to automerge on push
This avoids one additional step in the UI
Merge request reports
Activity
should use
--force-with-lease
instead of--force
, this prevents overwriting changes on the remote that you don't have locally.By Caleb Connolly on 2024-01-20T09:29:25
Edited by Ghost User- Resolved by Administrator
The order of steps are now a bit weird, approving after already setting it for merge?
By Luca Weiss on 2024-04-30T15:33:05
Edited by Ghost User
added 21 commits
-
304db866...0ae0c77b - 20 commits from branch
master
- 93fe360c - frontend: add a merge action to avoid using the UI for merging
By Pablo Correa Gomez on 2024-04-17T17:50:05
-
304db866...0ae0c77b - 20 commits from branch
Ok, reviving this one... I've used https://python-gitlab.readthedocs.io/en/stable/api-usage.html to allow to avoid the UI completely. Lots of TODOs, but this actually works
mrhlp merge --comment="Thanks"
after pushing and no need to deal with the UI, I used it for https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5034 The only thing is that we need an extra dep, and need to deal with tokens. Any thoughts? I gave it manually implementing the API calls because it feels like a waste of time to reimplement something that already exists and is most likely betterBy Pablo Correa Gomez on 2024-04-17T17:52:48
added 1 commit
- e42818e7 - frontend: add a merge action to avoid using the UI for merging
By Pablo Correa Gomez on 2024-04-17T17:54:51
added 1 commit
- 97677edc - gitlab-ci: py3-gitlab needed for mypy is in testing
By Pablo Correa Gomez on 2024-04-17T17:57:00
- Resolved by Administrator
Moved a bit more forward with this, and I'm already using it to merge stuff. Still failing some times, but seems pretty useful and avoids having to copy the push command and to refresh the gitlab page
By Pablo Correa Gomez on 2024-04-30T15:32:54
Edited by Ghost User
I submitted an MR to move py3-gitlab to community: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/64766
By Newbyte on 2024-04-24T09:22:20
Edited by Ghost User- Resolved by Administrator
added 1 commit
- 6de1e88c - gitlab-ci: py3-gitlab needed for mypy is in testing, ruff no longer is
By Pablo Correa Gomez on 2024-04-24T09:23:59
- Resolved by Administrator
mentioned in issue #17 (closed)
By Robert Eckelmann on 2024-05-05T14:26:15