Allow open pull request instead of issue when they are separated #516

Open
opened 2022-09-27 18:40:19 +00:00 by strk · 3 comments
Member

In our setup we have external issue tracker but enabled local pull requests.
The tea open <number> will open the external issue so there's no way to open a pull request.

I'm only assuming that tea open will be able to open pull requests when not using external issue tracker, didn't really check.

In our setup we have external issue tracker but enabled local pull requests. The `tea open <number>` will open the external issue so there's no way to open a pull request. I'm only assuming that `tea open` will be able to open pull requests when not using external issue tracker, didn't really check.
noerw added the
kind/bug
label 2022-09-27 18:56:43 +00:00
Member

Without fetching the issue by index and the repo settings, tea can't know what to do.
We can of course add that, but it will make tea o <idx> non-instantaneous, maybe fixing the redirect on Gitea's side would be the better approach here.

Without fetching the issue by index and the repo settings, tea can't know what to do. We can of course add that, but it will make `tea o <idx>` non-instantaneous, maybe fixing the redirect on Gitea's side would be the better approach here.
noerw added
kind
enhancement
kind/proposal
and removed
kind/bug
labels 2022-09-27 18:59:58 +00:00
Author
Member

Or we can be more explicit and add 'gitea pr v #'

Or we can be more explicit and add 'gitea pr v #'
Author
Member

Or tea open --pr #

Or tea open --pr #
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#516
No description provided.