Xcode Server no longer includes the capacity to host Git repositories.

I see this in the release notes:


Xcode Server no longer includes the capacity to host Git repositories. To continue using repositories that were set up in macOS Server, configure a new remote and push your code to that remote. After upgrading to Xcode 9, any existing repositories will be archived in /Library/Developer/XcodeServer/HostedRepositories. (31243129)


Ouch. That's a big part of my workflow removed. Kind of sad.

Wow, I used that a lot too. Any good solution to host git repositieries on you server found?

I haven't updated to Xcode 9 yet. Not really looking forward to having to migrate all these repositories somewhere. I wonder how much money Github paid them to have them remove that feature.

it's pretty straightforward to just use git and ssh on the server. I never used the xcode server option for it - are you really losing anything (besides time having to set up something new)? Don't feel obligated to answer - not like it matters now anyway, right? :-). But I am sincerely curious. Mostly just want to encourage you to look into setting it up yourself as a git+ssh type thing before you feel like you have no option besides switching to paid setup.


I do completely understand the annoyance of having something working and then having it taken away for no apparent reason with no automatic replacement. Having to take time to deal with it ***** when you could be doing other things.

>it's pretty straightforward to just use git and ssh on the server. I never used the xcode server option for it - are you really losing anything (besides time having to set up something new)?


I have a ton of self hosted git repositories set up on my Xcode Server and having to set up remotes elsewhere or to configure them from the command line is a a time consuming task. Just a coulple clicks in the GUI was pretty nice.


>But I am sincerely curious. Mostly just want to encourage you to look into setting it up yourself as a git+ssh type thing before you feel like you have no option besides switching to paid setup.


Paying Github to host private repositories was never going to happen from me. But don't kid yourself, they made a deal with them for this "integrated setup" in Xcode 9 and money was involved. Self-hosting repositories is an easy way to not pay Github, so I bet they agreed with them to remove the feature in exchange for that "open in xcode" stuff on Gitbub. I never suggested I had no other options. They are pushing devs to paying Github. They def. made a deal, that's all I was saying.


>I do completely understand the annoyance of having something working and then having it taken away for no apparent reason with no automatic replacement. Having to take time to deal with it ***** when you could be doing other things.


That's exactly it. I'm not happy having to devote time migrating my repsitories when I'd rather be working on my app. They certainly included the self-hosted repositories option for a reason. And they took it away for a reason. They can do it, and I can complain about it 😉

I agree with the Macho Man

Hi,


the articles might be a bit old but the Logic is there:

http://unixnme.blogspot.lu/2016/07/how-to-setup-git-server-on-mac-os-x.html

https://www.tomdalling.com/blog/software-processes/how-to-set-up-a-secure-git-server-at-home-osx/


then instead it‘s just a matter of moving, don’t forget to change the permissions, all your repo that wher in OS X server to the right place.


IF done well should be transparent and your user wont even see it.

Happy coding

Was putting this off for awhile and just keeping my Server on Sierra. But I ended up having to upgrade to xcode 9 on that machine (which I also was putting off), which appears to have broken my self-hosted repository setup even though I'm still on Sierra on that machine. Re-downloading Xocde 8 doesn't seem to work.


Guess there's no avoiding it now. I used https. I thought about trying to migrate the repositories underneath webdav file sharing but I decided to just clone the bare repositories on a NAS. Def. going to miss the couple click setup in xcode.

Xcode Server no longer includes the capacity to host Git repositories.
 
 
Q