can not add SVN repository WSIG in Eclipse - eclipse

I am trying to add repository WSIG to Eclipse but i get this error unable to load default SVN client.
link WSIG repository in github

Yes as explained above you'll need a Eclipse Plugin to clone the git repository.
Or Install latest eclipse from here and use the already installed plugin.
But as it is mentioned it a GIT repo not SVN thus SVN plugin will not work.

First of all the repository you're trying to clone (in git terms) or checkout (in SVN) is a GIT repository. That means, it uses Git as its version control system.
Thus, you cannot use SVN plugin for that, for basic understanding you can go through here.
Also on github there are ample of ways to get hands-on on Git , which I'll recommend before you actually start working using Git.
Here is the link : https://try.github.io/
Now, for your question you have to do as below for importing in eclipse :
First see , whether you have EGit plugin already installed in your eclipse if not please get this installed, as :
Once thats setup, then Goto --> Import -> Git --> Projects from Git
Then Clone URI
Then add your project link which you see on git hub as :
now paste the URL here. Since we selected http while copying from Github then choose same here as below :
Now feed your user credential and you are all set.
If you still face any difficulty within above steps, there is good documentation with images here as well : https://www.vogella.com/tutorials/EclipseGit/article.html#github
Hope this helps.

Related

Team Foundation Server - Eclipse and Cross Platform: Unable to clone Git repository using TEE in Eclipse. Error cloning - Not Authorized

I have TFS 2018.2 and Eclipse IDE for Enterprise Java Developers Version 2019-06 (4.12.0). In eclipse I have installed Team Explorer Everywhere plugin and I am able to see all my Git repository however when I try to clone a git repository using the administrator account in TFS I get below error:
Error cloning the <GitName> repository.
http://../..//<GitName>: not authorized.
Clone Error:
Eclipse Version:
Reference Document
In case if the question is placed in the wrong forum path feel free to correct it.
I have tried the resolution provided in https://github.com/microsoft/team-explorer-everywhere#frequently-asked-questions-faq
Also, tried installing latest versions of Egit in Eclipse - https://download.eclipse.org/egit/updates/
I am not sure how to use the older version of Egit to try the import of repository. I seem to have latest version of Egit.
UPDATE:
Apparently I am able to resolve the issue by following below steps:
And creating a Git repository from File menu and then utilizing the 'Copy clone URL' from the first image. Select the newly created repository and perform right click on it to select 'Paste repository path or url' which would ask for authentication and repo would be copied.
However the action items have carried TFS to run into issues:
and
According to your description, I'm afraid you are in the wrong direction to fix this issue.
Your error actually is "not authorized" which is not Authentication not supported. There are totally different issues. Instead of digging into that QA, you should try to figure out why it's not authorized for MyGit repository.
First give a try to use Eclipse with version 4.2 to 4.6 instead of latest according to official link of team-explorer-everywhere.
Supported on Linux, Mac OS X, and Windows. Compatible with IDEs that
are based on Eclipse 4.2 to 4.6.
Besides follow below steps to narrow down the issue:
You should also use git command line by using the administrator
account in TFS and check if you are able to use it to connect/clone
MyGit repository which hosted by TFS server.
Check if your Eclipse can connect to and clone library from any
GitHub repo correctly.
Update or delete cached credentials from Control Panel ->
Credential Manager -> Generic Credentials the password for
git:http://ServerName:xx/

GitHub option not available in PyCharm VCS | Checkout from Version Control

I'm trying to clone a repository from GitHub to PyCharm, and so I looked up how to do that. I looked at this website, and it told me to go to
Choose VCS | Checkout from Version Control | GitHub on the main menu. PyCharm establishes connection with GitHub using the login and password you registered. Upon establishing connection, the Select Git Hub Repository to Clone dialog box opens.
From the Repository drop-down list, select the source repository to clone the data from.
But, when I go to VCS | Checkout from Version Control, there is no GitHub, only these options:
So I looked at this answer to this question, which was similar but on Intellij (I hope PyCharm and Intellij work similarly), and the answer was to
Go to File > Settings > Plugins and search for GitHub and Git Integration then install those. A restart might be required in order to apply the changes.
(answer was written by Enzokie). So I went there and those were both installed. What is wrong and why can't I clone a repository from GitHub?
GitHub is a web-based hosting service for version control using Git.
I copied that from their webpage.
The version control system you want to use is Git. And you will connect to GitHub, (which also uses Git), to clone the project you want.
So, select the Git option, enter the project URL and voila!
Another version control web-hosting service who also uses Git (but also Mercurial), is Bit-Bucket.
This Wikipedia page explains what Git is.

Checkout a GitHub project to Eclipse

I need to checkout on my Eclipse Workspace an existing project hosted on GitHub. I have the project URL, and I already installed Egit and Mylyn. But I don't know what the next step is. Could you help me?
If you already have mylyn and egit, then you may also want to install the github connector. Afterwards you can directly import a github repository just giving the name (see the second screenshot of the link).

egit plugin for Eclipse

I have created a gitlab repository and followed the installation instruction by the letter and it was successful (i think... i can browse the repository online) and now I want to connect the egit plugin from eclipse to this remote repository.
I was using SVN for quite some time and now we need to switch to git and I am confused. egit only gives me the option to create a local repository but I'm a bit lost on how to push/fetch code to my online repository.
Any advice will be greatly appreciated :)
Thanks!
With Gitlab (working with ssh urls), that means you have to register your public and private ssh key in Egit first before being able to clone it.
See EGit ssh configuration
Then you can clone it.
And yes, you need to clone the full repo locally to work on it, that is the difference between a:
CVCS (Centralized Version Control System) like SVN
DVCS: Distributed Version Control System.
See "Sell me Distributed revision control" and "Describe your workflow of using version control (VCS or DVCS)" for more.
First you need to clone the remote repository using git clone <repository>, then you can import it to eclipse using egit
Or
You can use the clone functionality provided by EGit to clone the remote repo to local system

Git, SVN and Eclipse workflow

I am trying to adopt the following workflow:
git svn clone a svn repository through command line (egit doesn't support git-svn)
Open the project in eclipse with egit since I rather use egit to branch, merge, commit etc...
When i'm ready commit the changes back, I use use git svn dcommit to commit back to svn
I am having trouble with step number 2, don't understand how to import a git project, eclipse tells me i can't import it to use the same directory it's currently in because another project with the same name is already there. this is confusing.
Anyone knows how to do this ?
Also would like to hear other workflow examples that uses egit and git svn. I am aware that it is better to do it all through command line, however, I am trying to ease the move to git for fellow developers in my team, who are not used to command line interface etc...
I've worked briefly with the egit plugin (I actually recently stopped using it and just use msysgit as my Git guiclient and run it separately from Eclipse). I find Eclipse very busy as is and adding this plugin slows it down (for me at least).
What I did when setting up an already cloned project in Eclipse:
In Eclipse. File -> Import -> Existing Project into Workspace
Select root directory of project. Do NOT check copy projects into workspace. Click finish.
After project has been imported. Right click on project, go to Team -> Share Project
Select Git as a repo type, click next
Check use or create repo in parent folder of project. Since you already cloned the project it will be tracked with git. When you check this option it will show the project, the path, and the repo (.git).
Click finish and you will be all set.
I think you'd better use SubGit instead of git-svn.
SubGit works on a server side. It synchronizes all the modification between Subversion and Git repositories automatically on every incoming modification from either side.
From the client perspective SubGit enabled repository is a usual Git repository, so you may pull from and push to it. Please refer to SubGit documentation or SubGit vs. git-svn comparison for more details.