ability to create pull request #8

Closed
opened 2018-12-28 14:08:46 +00:00 by lunny · 3 comments
Owner

Author: @vtolstov

do you plan to add ability to create pull request via tea?

Author: @vtolstov do you plan to add ability to create pull request via tea?
Member

See #34 for a stub

See https://gitea.com/gitea/tea/pulls/34 for a stub
lunny added this to the v0.3.0 milestone 2020-03-05 15:50:06 +00:00
lunny added the
kind
feature
label 2020-03-05 15:50:11 +00:00
6543 modified the milestone from v0.3.0 to v0.4.0 2020-04-22 17:31:30 +00:00
Owner

tea pr create this master -> current branch into master
tea pr create brancha branch2 pull from brancha into branch2
tea pr create brancha fork:branch2 pull from brancha into fork's branch branch2

suggestions?

`tea pr create this master` -> current branch into master `tea pr create brancha branch2` pull from brancha into branch2 `tea pr create brancha fork:branch2` pull from brancha into fork's branch branch2 suggestions?
Member

I'd try to mimick interface of "hub" (from github).
That one is:

hub pull-request -b base to create a request to pull from current branch to base

How the "current branch" is found on the remote I'm not sure, but I guess it depends on the "upstream" defined for the branch.... Note that by default (hub pull-request) you don't need to specify the target (master, in your example) as that one I guess is derived from the default branch for the project.

I'd try to mimick interface of "hub" (from github). That one is: `hub pull-request -b base` to create a request to pull from current branch to `base` How the "current branch" is found on the remote I'm not sure, but I guess it depends on the "upstream" defined for the branch.... Note that by default (`hub pull-request`) you don't need to specify the target (`master`, in your example) as that one I guess is derived from the `default branch` for the project.
6543 closed this issue 2020-07-16 15:00:54 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#8
No description provided.