What is the best way to integrate TFS version control

后端 未结 6 1841
终归单人心
终归单人心 2021-02-07 04:56

Working on implementing TFS throughout our organization. It is easy to integrate with .NET projects and any platform that uses Eclipse or a derivative of Eclipse f

相关标签:
6条回答
  • 2021-02-07 05:25

    Perhaps SVNBridge will do the trick, it's an open source used at CodePlex (Microsoft's Open Source Hosting). Check it out here: http://www.codeplex.com/SvnBridge

    I have limited experience with it other than using it briefly to connect to CodePlex.

    0 讨论(0)
  • 2021-02-07 05:26

    Xcode integration is something that we at Teamprise have been looking into a lot. One of the main problems for us is that Apple does not provide a version control API that we can hook into to add a new version control system to Xcode - for integrated version control it is either the systems that Apple provide access to or nothing at the moment.

    That said, we do have a number of customers who develop in Xcode for TFS. They either use Teamprise Explorer (which is a standalone GUI client to TFS compiled as a Universal Binary) or they have macros inside Xcode that perform basic check-out and get operations in-conjunction with the TFS command line (tf). It's obviously not the ideal experience but acceptable for them. The stand-alone GUI has the advantage that you can do all the work item tracking stuff there as well and integrate this with your check-ins.

    Sorry if this is a very "marketing" type answer - just trying to let you know what our current customers do with Xcode. If you want more details around the macro approach then let me know.

    Hope that helps,

    Martin.

    0 讨论(0)
  • 2021-02-07 05:28

    Few week earlier announced Git-tf by codeplex could do the job.

    0 讨论(0)
  • 2021-02-07 05:42

    The biggest problem with this is that Xcode only runs on OS X and TFS client tools only run on Windows. If you're host operating system in OS X and you have a Windows virtual environment running locally (like Parallels or VMFusion) then you could use Team Explorer or the command-line tools to work with the repository.

    But this is a lot of work just to use a really dated version control system. If you don't have to use TFS I would probably use SVN or something else with native OS X support.

    0 讨论(0)
  • 2021-02-07 05:44

    One way would be to use the Team Foundation System client under Windows in VMWare, and check out (or whatever TFS calls it) your sources to a directory on your Mac that's shared with the virtual machine. It also looks like Teamprise has a Team Foundation client for Mac OS X built atop Eclipse that would be worth looking into.

    That said, I'd very strongly encourage you to use a natively cross-platform source code management system like Subversion or Perforce instead of a platform-specific silo like Team Foundation System for your company's soruce code, especially since you're going to be doing multi-platform development.

    While you're not likely to share code between a .NET application and an iPhone application, having full cross-platform access to things like design documents can be really important. Mac OS X 10.5 and later include Subversion, Perforce is readily available, and both Perforce and Subversion are natively supported by the Xcode IDE. Subversion in particular is also more likely to be familiar to experienced Mac and iPhone developers you might bring onto your projects as you ramp up.

    0 讨论(0)
  • 2021-02-07 05:46

    Follow this links, its raeally helpful:

    https://www.visualstudio.com/get-started/cross-platform/share-your-xcode-projects-vs

    After that Check-in your existing xCode project code into TFS

    On your Mac, download and extract www.microsoft.com/en-us/download/details.aspx?id=30474. I placed it in /users/{myuseraccount}/git-tf

    Open Terminal and run the following commands

    export JAVA_HOME=/Library/Java/Home
    export PATH=$PATH:$JAVA_HOME/bin:/git_t
    export PATH="/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/":$PATH
    export PATH="/Users/{myuseraccount}//Git-Tf/":$PATH
    

    change the working directory to your xCode project folder:

    e.g.: cd “/users/{myuseraccount}/documents/xCode Projects/testproject1/”

    In terminal fire commond:

    - git remote add origin url//companyName.visualstudio.com/DefaultCollection/_git/xyz
    

    and than

    git push -u origin --all
    

    It'll directly push your project into Visual studio TFS server..!!!!

    0 讨论(0)
提交回复
热议问题