Code Monkey home page Code Monkey logo

gitea.visualstudio's Introduction

Gitea Extension for Visual Studio

You can log any of your favorite Gitea servers and start your great job!

The Gitea Extension for Visual Studio provides Gitea integration in Visual Studio 2015/2017. Most of the extension UI lives in the Team Explorer pane, which is available from the View menu.

Appveyor:Build status

The Visual Studio Extension is also available at the Visual Studio Marketplace, or by searching for Gitea4VS in the Visual Studio extension manager. The latest build of the Visual Studio Extension is available at the Open VsixGallery

What's new ?

V1.0.62

  • Added context menu to the ListView in ConnectionSectionView with option to open or delete the local repo. Deleting send the repo directory to the Recycling Bin.
  • AddOpen URL from clipboard ,Right click on editor, if repository is hosted on Gitea Server , you can jump to master/current branch/current revision's blob page and blame/commits page. If selecting line(single, range) in editor, jump with line number fragment.
  • Added repo descriptions to CloneView.
  • Minor enhancements.
  • Clone descriptions
  • Project.Description

V1.0.47

  • Resolved error when package is initializing. #3
  • Implemented Search in CloneView
  • other enhancements and bug fixes. #4 Thanks !troygeiger

V1.0.36

  • Added option to create or publish to organizations.

  • Added Connect and Sign Up buttons to ConnectSectionView.xaml and now leaving visible.

  • Removed password from .Gitea file and pull it from the Credential Manager.

  • Now storing last path cloned to in the .Gitea file.

  • Some bug fixes.

    Thanks !troygeiger

Q & A:

Q: Update from version 0.0.0.1 not possible?

A: Because canceling the installation to all users makes it easy to update automatically, you need to uninstall the old version and reinstall it once.

HomePage

https://visualstudio.giteahub.com/

HomePage

https://visualstudio.giteahub.com/

BUG And Issues

https://github.com/maikebing/Gitea.VisualStudio/issues

Visual Studio | Marketplace

https://marketplace.visualstudio.com/items?itemName=MysticBoy.GiteaExtensionforVisualStudio

Thanks

GitHub Extension for Visual Studio

CodeCloud Extension for Visual Studio

GitLab Extension for Visual Studio

Visual Studio Extension for opening files on GitHub.com

https://github.com/neuecc/Open-on-GitHub

gitea.net

https://github.com/mkloubert/gitea.net

Screenshots

image

image

image

gitea.visualstudio's People

Contributors

dependabot-preview[bot] avatar maikebing avatar reecebenson avatar troygeiger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gitea.visualstudio's Issues

PublishSectionViewModel

Describe the bug
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Gitea.TeamFoundation.ViewModels.PublishSectionViewModel.LoadResources()
在 Gitea.TeamFoundation.ViewModels.PublishSectionViewModel..ctor(IMessenger messenger, IGitService git, IShellService shell, IStorage storage, ITeamExplorerServices tes, IViewFactory viewFactory, IWebService web)
在 Gitea.TeamFoundation.Sync.GiteaPublishSection.InitializeView(SectionInitializeEventArgs e)
在 Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.TeamExplorerSectionBase.Initialize(Object sender, SectionInitializeEventArgs e)
在 Gitea.TeamFoundation.Sync.GiteaPublishSection.Initialize(Object sender, SectionInitializeEventArgs e)
在 Microsoft.TeamFoundation.Controls.WPF.TeamExplorer.Framework.TeamExplorerSectionHost.Initialize(Object context)

I'm having trouble managing repositories of a Organisation in Gitea

I have an organisation set up in Gitea with its own repositories and my user account as Owner of the organisation. When I log in to my account through Visual Studio I can manage my own repositories, but I don't see the ones belonging to the organisation. Am I doing something wrong with my set up or is this a feature that is not being supported by Gitea for Visual Studio?

Manage Issues

Please add the ability to manage issues. Thank you

repository.Head.FriendlyName' threw an exception of type 'System.AccessViolationException'

After some testing, I was able to get past the Unable to load DLL after updating the LibGit2Sharp.NativeBinaries on all of the projects. Now I am receiving a error while MenuItem_BeforeQueryStatus is calling git.GetGiteaTargetPath.
In GitAnalysis.cs Line 59, this is the error:
'repository.Head.FriendlyName' threw an exception of type 'System.AccessViolationException'
I haven't found the cause of it.

Creating Pull Request in Visual Studio

Currently there is only a link to the pullrequest-gitea-website, when clicking on Pull Request.

It would be great to create a new Pull Request and see already existing Pull Request directly in visual studio.
Just like the Github Visual Studio Extension

Upgrade git packages

Is your feature request related to a problem? Please describe.
Currently gitea4vs uses a relatively older version of the git nugget packages.
This does not support newer features added to git, such as using the windows certificate store instead of the openssl one.

Describe the solution you'd like
Upgrade the nugget packages to latest.
I did this on local build and it compiles fine.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Installing the CA cert on the extension open ssl store. But that does not seem strait forward at all.

Additional context
Add any other context or screenshots about the feature request here.

Unable to sign in when gitea url has postfix

Describe the bug
Unable to sign in to account when gitea located in subfolder (e.g. http://server.org/gitea/).

To Reproduce
Steps to reproduce the behavior:

  1. Host gitea in subfolder (http://server.org/gitea/)
  2. In gitea vs extension enter url (http://server.org/gitea/), login and password of existing gitea user
  3. Click on 'Login'
  4. See error 'Login failed'

Expected behavior
Successfully logged in

Desktop (please complete the following information):

  • OS: [e.g. windows 7]
  • VS 2019 16.1.3

Additional context information:
Located cause of such behavior:

private static API.v1.Client CreateClient(string host, string email, string password)
{
var uri = new Uri(host);
API.v1.Client client = new API.v1.Client(email, password, uri.Host, uri.Port, uri.Scheme.EndsWith("s", true, null));
return client;
}

After host (http://server.org/gitea/) had been parsed to Uri, it's used only Host (server.org) to create client used for log in

In api client created by composing host and port from arguments so log-in operation performed with url http://server.org/ and ended up being failure
https://github.com/maikebing/gitea.net/blob/0010f56c0cdb82656bae26523e7afc3429aba43d/Gitea.API/v1/Client.cs#L198-L200

Support for VS 2022

Gittea extension for VS2022 doesn't seem to be available. Is there any news on when this will be available?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.