go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.67k stars 5.46k forks source link

Push pull request from VSCode #12120

Closed melcug closed 2 years ago

melcug commented 4 years ago

Description

There is an extension (GitHub Pull Requests and Issues) that allows to review and manage GitHub pull requests and issues in Visual Studio Code.

How can I push a pull request from VSCode to Gitea?

giordanolins commented 4 years ago

I arrived here because someone at work asked if this integration would be possible. I'm not a typescript developer, but I guess a good way to go would be to fork https://github.com/microsoft/vscode-pull-request-github and adapt it to talk to Gitea's API.

For Visual Studio, the same approach should be taken with https://github.com/github/VisualStudio.

lafriks commented 4 years ago

I think it depends on Github authentification provider built into vscode. That would probably need to be created for Gitea first: https://github.com/microsoft/vscode/tree/master/extensions/github-authentication

sebastian-sauer commented 3 years ago

Hi,

i'm currently working on a vscode extension (as a side project) to work with gitea pull requests (not yet opensource - will be changed soon). It's not yet finished but there are already some features available:

As soon as https://github.com/go-gitea/gitea/pull/16229 is available i'll hopefully finish the commenting on pull request diffs from within vs code.

If you're interested i'll keep you updated about the current state.

lunny commented 3 years ago

I think it depends on Github authentification provider built into vscode. That would probably need to be created for Gitea first: https://github.com/microsoft/vscode/tree/master/extensions/github-authentication

Since vscode is opensource, maybe we can send an issue to them.

rajashekar007 commented 1 year ago

Hi, Is there any progress on this?

art-ist commented 1 year ago

@lunny github authentication should NOT be a requirement for Gitea. The main point about Gitea is not having github monopolistically control everything.

art-ist commented 1 year ago

@sebastian-sauer as #16229 was merged a while ago. How is the state of your vscode extension? Sounds awesome :-)

lafriks commented 1 year ago

@lunny github authentication should NOT be a requirement for Gitea. The main point about Gitea is not having github monopolistically control everything.

That's true but still VSCode extension would need to have Gitea authentication provider implemented for this