Using Xcode with TFS 2015 on-premises - ios

Is there any way to check in code from Xcode to TFS 2015 on-premises installation? Even if TFS is just acting as a go between for Xcode and Git? The main thing we'd like to be able to do is for iOS code to be checked in to TFS with changesets recorded, and work items/bugs available.
Any suggestions? We are not looking to move to VS Team Services / VS Online.

you have 2 options.
The best option is to create a new TFS Team Project with Git for source control. Or you can add a Git repo so an existing Team Project. This is a standard Git repo, but hosted in TFS. It works just like any other hosted Git repo. Clone the repo and off you go.
If you cannot use Git inside TFS and you must use TFVC then you can use git-tf. This is effectively a bridge between a local git repo and a centralized TFS TFVC repo. This article should get you started

Both VSTS and TFS 2015 include full support for Git-based source control projects. You can follow MSDN article Share your code in Git using Xcode to push your project to TFS.
After pushing your project to TFS, you'll have full history and work item available:

Related

Is it possible to migrate code from Bitbucket to TFS 2018.3 (On premise) with history?

We are trying to migrate the code from BitBucket to TFS (on-premise) 2018.3 and we are looking for a possible way to migrate the code with history.
We searched a lot and haven't found a way or tool for this process.
Are there any tools which help to create bidirectional sync between TFS and BitBucket?
According to your description, seems you want to migrate code with git version control in bitbucket to TFVC version control.
In this case, we recommend you to try external tools like Git-TFS for importing.
git-tfs is a two-way bridge between TFS (Team Foundation Server) and git, similar to git-svn. It fetches TFS commits into a git repository, and lets you push your updates back to TFS.
Other things about the migration, you could take a look at our suggestions here: https://learn.microsoft.com/en-us/azure/devops/learn/git/migrate-from-tfvc-to-git#advanced-migrations

How to clone a VSTS project/workspace locally?

We have a project/workspace setup in Visual Studio Team Services online. I would like to get a local backup of the workspace and project with all of its artifacts (attachments, Wiki notes and attachments, etc.).
Would a local version of TFS pointed to VSTS online clone the epics, features and stories locally? This is what I really need.
What is the process to accomplish this?
You can not clone the whole contents of a team project, but clone the source code from version control system (Git or TFVC) is possible.
If you are using Git as VCS, you can use below command to clone the VSTS git repo:
git clone <repo URL>
And you can also refer the document to clone a VSTS git repo via VS.
If you are using TFVC as VCS, you can map TFVC repo locally in VS. Detail steps you can refer Develop and share your code in TFVC using Visual Studio.
Seems you also want to migrate WIT from TFS to VSTS. You can refer these related posts: Migrate Workitems from local TFS into VSTS and Migrating Work Items from TFS 2017 to VSTS.
Besides, you can also refer the document Migrate data from TFS to VSTS.

VSTS to TFS on-premises datas migration

I would like to migrate all possible datas from my VSTS Project to an on-premises TFS server 2015.
I dont know wich data can or cananot be migrated, the most important for me is the history of versions and the source control code.
I'we watched the internet about it but found only tutos from 2014...
I'm aware of tools like OpsHub but i want a free solution if it's possible.
If someone can help, it will be appreciated :D
Thanks all (and forgive my bad english, not my native language).
The only option is via third-party tools. There is no capability to migrate from VSTS to on-prem TFS.
For version control migration, it's fairly easy to migrate TFVC repos via git-tfs -- you have the TFVC repo converted into a Git repo, then convert the Git repo back into a TFVC repo in the target system.
If you're already using Git, it's as simple as adding a new remote to your repo and pushing it.

How do I enable Git for Visual Studio/Team Server 2013

We have a Team Project we created in 2013. The web site of the project allows Git Repos to be created, but in Visual Studio 2017 the Git repos we created are always Offline and exhibiting other odd behaviors (loading TFVC's interface in Visual Studio even when connecting to a Git repo within it for example). I used Fiddler to check out the traffic and noticed that this particular project is missing the SourceControlGitEnabled = true flag. A project we created a year and a half later DOES include the SourceControlGitEnabled flag and works properly.
Is there a TFS Team Project setting we can alter/enable or do I have to create a new Project with Git as the repo and migrate everything to it?
When you create a new repo in the Team Project in TFS2013, there should be a warning as below:
Note that some versions of Visual Studio will only provide full Team
Explorer integration with a repository that has the same name as the
team project. Users may need to manually clone this new repository to
use it in Visual Studio.
This maybe the limitation of TFS2013 with GIT, either manually clone this new repository to use it in Visual Studio or create a new Project with Git as the repo and migrate everything to it, both should be work.

Is possible to use multiple branch specification in TeamCity using TFS Git features?

In my project we use feature branches with TFS 2013 as source control repository and TeamCity 9.1.6 as CI server. We have plans to upgrade to TFS 2015 soon (... and cannot migrate to GIT)
I know you can use multiple branch specification when you use GIT or Mercurial... and it is pretty useful. In TFS 2013, Microsoft added native support for GIT.
I want to do multiple branch specification using my existing TFS server, in order to have a single commit build that builds every feature branch.
So my questions are:
Is there any TeamCity plugin that allow me to do that? (Easier than my possible GIT-TFS trick)
Given that TFS 2013 has GIT support, can I configure my VCS to make TeamCity build think TFS is a GIT server and use multiple branch specification as explained here?
In theory TeamCity VCS connecting to TFS as a GIT server will think it is a GT server, won't it?
No additional plugin is needed.
You can configure Git connection in TeamCity to Git repository hosted in Team Foundation Server 2013. The type of repository will be "Git" in TeamCity, so all git-related features (such as branches) will be supported.
TFS 2013 provides the option to use either TFVC or Git for your source control repository. When you create a team project, select Git from the version control options:
More information of using Git, please check:
https://www.visualstudio.com/en-us/docs/git/get-started

Resources