Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push pull request from VSCode #12120

Closed
2 of 7 tasks
melcug opened this issue Jul 2, 2020 · 8 comments
Closed
2 of 7 tasks

Push pull request from VSCode #12120

melcug opened this issue Jul 2, 2020 · 8 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@melcug
Copy link

melcug commented Jul 2, 2020

  • Gitea version (or commit ref): 1.12
  • Git version: 2.18.4
  • Operating system: CentOS 8
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

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?

@lunny lunny added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Jul 2, 2020
@giordanolins
Copy link

giordanolins commented Jul 14, 2020

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
Copy link
Member

lafriks commented Jul 14, 2020

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
Copy link
Contributor

sebastian-sauer commented Jun 23, 2021

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:

  • TreeView of all pull requests of the current repository (all repos in current workspace)
  • Local Review
    • see the diff of the pull request as diff in VS Code
    • inspect code changes with the power of VS Code
  • Open Tickets associated to your PR branch
    • configure a regex to parse issue references from branch names
  • Checkout the pull requests head branch in your working copy
  • Approve or reject Pull Requests from within VS Code
  • Merge Pull Requests from within VS Code

As soon as #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
Copy link
Member

lunny commented Jun 24, 2021

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
Copy link

Hi, Is there any progress on this?

@art-ist
Copy link

art-ist commented Feb 9, 2023

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

@art-ist
Copy link

art-ist commented Feb 9, 2023

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

@lafriks
Copy link
Member

lafriks commented Feb 9, 2023

@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

@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

8 participants