-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Update PR base branch through API #11552
Comments
@blaggacao If I can remember correctly UI dont support this and why exactly do you need this? |
I just checked, in UI you can do this. The use case is the following:
Note: nesting is not limited to just one level, if it's a big feature in the making.
@kevgo did I miss something? I'm in the process of adding gitea support to |
@blaggacao sorry didnt noticed this feature exist, since it exist on UI it is relatifely easy to do so via API |
@blaggacao -> #11666 |
Another use case is described here: developing a complex feature as a series of branches, each one implementing one change and potentially being reviewed by different people. |
@6543 Once this is closed, should I open a follow up issue in https://gitea.com/gitea/go-sdk ? |
git-town/git-town#1518 has been merged, gitea is no supported in git town, still awaiting to get this closed asap! |
https://gitea.com/gitea/go-sdk/pulls/353 has been merged too! Nice |
So we are waiting for #11666 ... ⌛ |
* EditPull: add option to change base Close #11552
* EditPull: add option to change base Close go-gitea#11552
Wondeful, and thank you for retargeting to 1.12.0 ! |
* EditPull: add option to change base Close go-gitea#11552
gitea/routers/api/v1/repo/pull.go
Line 351 in 88fe7b5
This API method, together with it's implementation in https://gitea.com/gitea/go-sdk should implement mutating the
base
branch just as available on the UI, based on adding this field into the following structgitea/modules/structs/pull.go
Lines 82 to 93 in 88fe7b5
This is required for full git-town support git-town/git-town#1451 since git town extensively uses branch hierarchy: if the an ancestor get's merged, all it's children branches must be reassigned to the ancestor's target merge branch.
The text was updated successfully, but these errors were encountered: