SVN checkout Mac terminal/Xcode - ios

I need to checkout the SVN code but I am trying from the Xcode and terminal but unable to do that.
My SVN format url starts from url below
svn://google.com/ad
I have valid username and password.
Do I need to make SVN to http/https before using it.

what you need to do is this:
svn --username user --password password co svn://google.com/ad

The Xcode client is little buggy: when you add new repo that require auth,before, you must do at least one operation, such as svn list, via shell.
After this operation, you can add easily repo to your Xcode panel and all works fine.
I hope this may help.
If you have errors, show us.

Related

Importing BitBucket git repository to Team Foundation Server 2018

When I create a new Git repository in a TFS project area, there are several options to add some code.
I’ve tried the import a repository a couple of times now.
The first run gave me this error after an extended period of time. This would indicate a connection timeout based on my experience with other tools and process.
We checked the logs in the EventViewer on the application server side but couldnt find anything. We suspect an SSL/cert issue between BitBucket and TFS 2018. This is also hosted in-house.
Please double check whether the URL is correct. And please notice import service relies on basic authentication to communicate with the source repository. If the username / password you are using are not basic auth then authentication will fail and import will fail. One way to check if the username / password you are using are basic auth or not is to try using Git to clone your repository using the below format:
git clone https://<<username>>:<<password>>#<<remaining clone Url>>
Please refer to the following link for more details:
https://learn.microsoft.com/en-us/vsts/git/import-git-repository?view=vsts#frequently-asked-questions

Can't push or commit to GitHub in Xcode 9

I created Git Hub account and clone using SSH
I went to Create Git Repositories. I chose both project folders POD and SFITNESS. Then xCode created the following:
Then I right click on SFITNESS and ADD EXISTING REMOTE which I log in to GitHub to provide the link, everything works fine.
When I went to commit, I choose the SFTNESS folder and commit and at the bottom it allows me to Push to remote which I choose the remote at step 3.
Then it will prompt me for the Username and Password and I can never get the authentication correct. The Username and password is it for Github? I can never get the authentication correct?
Now, at the commit window I have lost my SFITNESS folder, how do I commit again? Is it push now?
Need to Add SSH following this link and use SSH as authenthication.

Clone someone else's public repo in Github Desktop

Github Desktop makes it easy for me to clone projects from Github, when they belong to my account (or one of my organizations).
Is there any way for me to clone a public repo belonging to somebody else with Github Desktop?
I don't believe you can do that from within Github Desktop.
You can use the Clone in Desktop button on a Github project's webpage (as Anatoly said).
Another alternative (without the client of course), is opening a cmd/terminal and using:
git clone https://github.com/user/repo.git
You can drag-and-drop the URL from your browser onto GitHub Desktop. Then it will ask you where to save the files.
Seems fork and clone if you use the client. Otherwise use command line tools like #Shameel Abdullah said

Setup Jenkins on VSO with TFS

Has anyone successfully set up VSO & Jenkins & TFS?
Server URL: https://<myproject>.visualstudio.com/DefaultCollection
Login name and user password (using alternative credentials)
What domain name did you use? <domain>\username
If I run the tf command in Command Prompt, it succeeds, but Jenkins shows the same command as failing. I'm lost as to how to debug this. I also tried setting cached credentials for TFS, and not caching them. It seems as though Jenkins does not have cached credentials, but my command prompt does? Why would my system have stored credentials for me, but not Jenkins?
Error from Jenkins: TF30063: You are not authorized to access https://windwardstudios.visualstudio.com/DefaultCollection
With the release of version 4.0.0 of the Jenkins Team Foundation Server plugin, Team Foundation Version Control (TFVC) from Visual Studio Online (VSO) is now officially supported and both Personal Access Tokens (PAT) & alternate credentials can be used.
See the section User name and password in the wiki page.
This is an answer, but may not be what you want to hear. This used to work for us about a year ago. It required someone to stay logged into VisualStudio.com with his MSDN credentials on the build server. Then we simply didn't use credentials in the Jenkins TFS plug-in. Then one day, that simply stopped working. We tried alternative credentials, as #MrHinsh suggested, but never got it to work. Eventually we gave up and switched all of our TFS repositories to git (but still hosted on VisualStudio.com). That does work with the alternate credentials, and we have been very pleased since.
You need to configure Jenkins yo use the alternate credentials. It will not work with any other configuration and the credentials are never stored. Every command that you pass must include the same creds.

Add an xcode project in a repository tfs

I'm trying to connect to a repository tfs a written project with xcode 5.
I'm using git-tf and it seems that the configuration in xcode 5 is correct.
The problem that feedback occurs when authentication with the TFS repository.
In xcode 5 open preferences and go in the accounts. I enter the login information with the url and in response I Access denied credentials are incorrect.
What am I doing wrong?
I was encountering the same issues when trying to authenticate in Xcode 5.
Make sure that you enabled Basic Authentication for your user profile for the TFS user account and that you selected "New Team project + GIT" instead of "New Team Project".
You can also try to clone the repository by using Terminal. Type the following command into Terminal and replace XXXXX with your values.
git clone https://XXXXX.visualstudio.com/DefaultCollection/_git/XXXXX
Then provide your credentials. Terminal will now clone the repository when authentication succeeds and your credentials will be saved to your keychain. Now when you try to authenticate in Xcode it will use the saved keychain credentials and it will (probably) successfully add your TFS repository to Xcode.
I hope this will help you!
See:
http://tfs.visualstudio.com/en-us/learn/use-git-and-xcode-with-tfs.aspx
for more information
https://www.visualstudio.com/en-us/get-started/share-your-xcode-projects-vs
Share your Xcode projects in Visual Studio Online using a Git repository. Or, if your team project uses TFVC instead of Git, you can use the git-tf command line tool to check your files into Visual Studio Online.
Enable alternate credentials
You can’t sign in to Xcode with an account that contains an # character, so you’ll have to enable alternate credentials.

Resources