Bug 8898 - Cannot connect to Team Foundation Service with Git
Summary: Cannot connect to Team Foundation Service with Git
Status: RESOLVED INVALID
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Version Control ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2012-12-12 06:16 UTC by johan.danforth
Modified: 2012-12-12 16:11 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description johan.danforth 2012-12-12 06:16:29 UTC
We decided to try out Team Foundation Service (the TFS cloud version) because it has Git support which would (we hoped) help us manage both our VisualStudio and MonoDevelop code in one place. 

The question is how to connect to the TFS git service from MonoDevelop? From what I can see, I should use HTTPS protocol, for server I just type the name of our TFS service, and for user I type in my live id user@live.com and try to connect.

The problem is the url which becomes something like this: 

https://user@live.com@projectname.visualstudio.com/

Note the two @ signs in the url. Seems that whatever git tools are used behind MonoDevelop barfs on this, the error from version control is:

NGit.Api.Errors.JGitInternalException: Exception caught during execution of fetch command ---> NGit.Errors.NotSupportedException: Invalid URL

If I try to omit the user name from the version Control dialog, I get another error about unauthorized access.

Is there a way to enter/store git username and password somewhere on the mac or in MonoDevelop? Or can I enter the @ sign encoded somehow?
Comment 1 Mikayla Hutchinson [MSFT] 2012-12-12 16:07:25 UTC
According to the answer to your stackoverflow question (http://stackoverflow.com/questions/13837728) it sounds like Team Foundation Service does not serve git. And the CodePlex Git instructions show using a username, not an email address. So I don't know whether there is such a thing as a git server using email addresses as usernames. But maybe we should url-encode the username field before combining it into the ULR.
Comment 2 johan.danforth 2012-12-12 16:11:13 UTC
Yes, you are right. The TFS "cloud service" is not serving git as I thought, so this is not a bug and should be closed. It would be super great though if someone came up with good support for TFS from MD eventually!

I'm marking this as resolved/invalid.