Enhance create pull #338

Open
opened 2021-03-05 10:08:02 +00:00 by 6543 · 1 comment
Owner

long term we could load the gitea.Repository obj into context ... & check witch permissions we have -> if we dont have push permission check if we own forks if there is > 1 use this as head ?

Originally posted by @6543 in #334 (comment)

long term we could load the gitea.Repository obj into context ... & check witch permissions we have -> if we dont have push permission check if we own forks if there is > 1 use this as head ? _Originally posted by @6543 in https://gitea.com/gitea/tea/issues/334#issuecomment-314157_
6543 added the
kind/proposal
label 2021-03-05 10:08:13 +00:00
6543 added this to the v0.8.0 milestone 2021-03-05 13:55:45 +00:00
Member

gh automatically pushes and creates a upstream branch if necessary, which is much better UX.
This becomes feasible again with the approach described above


tea pr create currently expects LocalRepo, which is a wrong assumption, given that we don't push unconditionally anymore, and can also operate with entirely remote branches..

`gh` automatically pushes and creates a upstream branch if necessary, which is much better UX. This becomes feasible again with the approach described above --- `tea pr create` currently expects LocalRepo, which is a wrong assumption, given that we don't push unconditionally anymore, and can also operate with entirely remote branches..
6543 modified the milestone from v0.8.0 to v0.9.0 2021-08-16 12:54:20 +00:00
noerw modified the milestone from v0.9.0 to v0.10.0 2022-09-13 18:10:14 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 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#338
No description provided.