Xcode Continuous Integration and Mercurial - xcode

As I read here OS X Server running on OS X Mavericks now supports continuous integration.
The Xcode service supports two popular source control systems: Git and Subversion. You can use Git and Subversion repositories hosted on remote servers, and you can host and use Git repositories on the server running the Xcode service.
I was really confused that Apple ignores Mercurial in this case.
So the questions:
Are there any workarounds how to use Mercurial repository with XCode continious integration?
If NO, are there any else tools to provide continuous integration with Mercurial?

I've also been trying to make the OS X Server Xcode service use Mercurial. I've tried using http://www.creaceed.com/mercurialplugin, but it looks like this doesn't affect the Xcode service's source control functionality. However, I believe that you could create a git repository that mirrors an hg repository using https://github.com/rfk/git-remote-hg.
As for other continuous integrations tools that do support Mercurial, we use TeamCity and it works well. See also:
Recommendations for Continuous integration for Mercurial/Kiln + MSBuild + MSTest

Related

Compatibility of different SVN GUIs

Is there any way I can work on a Tortoise SVN repository from a Mac? Could I download a Mac equivalent and work on it without issues? It would be for Unreal Engine 4 if that is relevant.
You can use whatever SVN client you prefer; Tortoise SVN is strictly an interface on top of subversion, not subversion in it's entirety.
SVN Clients like Versions or SmartSVN are compatible SVN clients for MacOS. Conversely, you can install subversion and use strictly the command line tools if you prefer. Versions is pretty highly regarded from my experience with users on MacOS with subversion clients.

Migration of tortoisesvn local repository to mac

I have been using Tortoise SVN in windows using a local repository(copy also available in dropbox). Now for sake of work I have to migrate to Mac OS. Tortoise SVN is unavailable for mac and hence I decided to use SmartSVN. I have copied the Tortoise repository to my mac system. However I am not sure how (If it is even possible) to checkout the project files using SmartSVN.
Also is it possible to browse the tortoise repository using smartsvn.
Please advice.
PS: I am new to Mac and not experienced with smartsvn.
Regards
Just point SmartSVN to the repository using file:// access scheme. It doesn't matter whether it's TortoiseSVN, SmartSVN or a command-line client -- the repository itself is a regular Subversion repository and neither of these tool should have any issues accessing it.

Installing server (on Windows) and client tools (on Windows, Linux and Apple) for version control

I installed and configured a Visual SVN server on Windows Server 2008. I was also able to install Tortoise SVN on Windows as my client tool. I'd like to get a client tool similar to Tortoise SVN for Linux and Apple operating systems.
http://www.visualsvn.com/server/licensing/
Few questions related to these installs...
(1) What is the recommended protocol for a repository, and what are the differences between them (ie: https, svn, etc..)?
(2) Do Linux or Apple operating systems require a specific protocol?
(3) What are the recommended Linux and Apple client SVN tools to connect to my Visual SVN Server? Right now, I only have Tortoise SVN configured on Windows as my client tool for checking in/out source code.
For Linux, try http://rabbitvcs.org.
For MacOS, XCode should support SVN. Check out this link, too: http://alternativeto.net/software/tortoisesvn/?platform=mac
Assuming you're developing, too, the Eclipse SVN plugin is a Pop Favorite on all platforms.
VisualSVN Server supports only HTTP(S) access. HTTPS is recommended since it's secure.
No.

Best Visual Git tool for Mac OSX?

At work we're using SVN as the central repository and I've been using git svn to update/commit my work.
Now that I'm comfortable with using Git on the command line I'm looking for a good visual Git tool that has good support for SVN.
There are quite a few Git tools but none really talk about SVN support so I'm looking to the community here for their experience?
SourceTree is the best I've seen. It also supports SVN integration.
I've also used Tower but SourceTree is better in my opinion.

What is the best way to integrate TFS version control

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 for editing.
What's the best way to use TFS version control with Xcode (now that I find out we need to write some iPhone apps)?
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.
Few week earlier announced Git-tf by codeplex could do the job.
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.
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.
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..!!!!
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.

Resources