JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros
https://gitnuro.com/
GNU General Public License v3.0
872 stars 44 forks source link

Gitea: Support Creation of Pull Requests via Swagger API #117

Open Flashdown opened 1 year ago

Flashdown commented 1 year ago

Describe the solution you'd like I would love to be able to create Gitea Pull Requests in Gitnuro. It seems this might be possible via the swagger API that comes with Gitea by default: https://try.gitea.io/api/swagger#/repository/repoCreatePullRequest

Somewhere else someone suggested to use a user token generated for this purpose via: https://gitea.com/api/swagger#/user/userCreateToken

Besides that I can tell that there is also a cli tool tea, which might support doing that as well: "A command line tool to interact with Gitea servers: https://gitea.com/gitea/tea"

Hope these little hints help in determining the possibilies of how to implement this feature in case you like to do so.

JetpackDuba commented 1 year ago

Hey! Thanks for your suggestion :smile:

I've got plans to add support to create PR from Gitnuro to the most popular backends (such as GitHub, GitLab, Gitea, Bitbucket and/or Azure).

The only problem is that it's quite low in the priorities list, because I really want to think about it's UI/UX implementation and it's not something really blocking to most users.

In other words, it's in the todo list but will not be done in at least a year or even more.

Flashdown commented 1 year ago

Actually given the state of Gitnuro I wasn't expecting anything else than "not now" ^^. Anyway you are fully right, it's nice to have but not really important on it's own. So thank you, I am fully happy to know that it will come somewhen, even if it is in 3 years or even later :)