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

Open
opened 2 months ago by strk · 3 comments
strk commented 2 months ago
Collaborator

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 2 months ago
noerw commented 2 months ago
Collaborator

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 2 months ago
strk commented 2 months ago
Poster
Collaborator

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

Or we can be more explicit and add 'gitea pr v #'
strk commented 2 months ago
Poster
Collaborator

Or tea open --pr #

Or tea open --pr #
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

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