ability to create pull request #8

Closed
opened 4 years ago by lunny · 3 comments
lunny commented 4 years ago
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?
Collaborator

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 3 years ago
lunny added the kind/feature label 3 years ago
6543 modified the milestone from v0.3.0 to v0.4.0 2 years ago
Collaborator

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?
Collaborator

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 2 years ago
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#8
Loading…
There is no content yet.