Earlier quoted context omitted.
Honestly, I'm not super concerned about GitHub disappearing in a puff of octocat ink one day. I know they're around for the long haul and I think they've done great things for open source. No, I'm more concerned about branding. If someone comes to my site and I direct them somewhere else, I lose them. If they stay on my site and browse around, my site's look and feel is indelibly linked with my code, my projects, and…
Is branding the biggest reason for hosting your own git server?
Self-hosted Git Server
11–20 of 62 posts
Re: Self-hosted Git Server
#12Earlier quoted context omitted.
I still use GitHub quite a lot, but I've started using a private installation of GitLab[1] for private projects and I quite love it. So far, I've only been using it for myself, so I'll admit I haven't really touched the collaborative features, but it does seem to have a lot of the nice features from GitHub. https://www.gitlab.com/
Yeah, GitLab is great. I wanted a quick solution without many dependencies that would also act as a portfolio, so I went with a custom thing. GitLab is definitely something to consider.
Re: Self-hosted Git Server
#13The fantastic thing about distributed version control systems like GIT is that you never actually have to depend on a single repository. Use Github, Bitbucket, and your own "server" all at once. None have to be read-only. Push and pull from multiple sources. Decide that Github is no longer the place for you? No problem! People contributing to your projects should already know where to push to reach everywhere it need…
Re: Self-hosted Git Server
#14I spent years out in the woods with my own projects page that nobody could find and very few cared about, happily cutting trees down with nary a witness. I wanted control over backups, presentation, availability. I was terrified of relying on services that could disappear. I found self promotion distasteful, and I was happy to do the work just for its own sake, for the enjoyment of that process. But then I wrote some…
Honestly, I'm not super concerned about GitHub disappearing in a puff of octocat ink one day. I know they're around for the long haul and I think they've done great things for open source. No, I'm more concerned about branding. If someone comes to my site and I direct them somewhere else, I lose them. If they stay on my site and browse around, my site's look and feel is indelibly linked with my code, my projects, and…
There are many altruistic reasons for using GitHub. Users are far more likely to be comfortable with GitHub's UI than your own site's. It's much easier to contribute to a GitHub project than one hosted elsewhere. Many interactions (such as submitting issues) are standardized across projects.
Hosting on GitHub really does benefit everyone.
Re: Self-hosted Git Server
#15Also check https://github.com/takezoe/gitbucket Installation is as easy as downloading it and running: java -jar gitbucket.war
How do you manage backups?
Since it's running on java, you probably don't want to expose this server to the internet unless you actively want to maintain updates to JDK versions. So now you're on the hook for that.
Self-hosting is never "simple".
Re: Self-hosted Git Server
#16An elegant solution for you, no doubt. However, I couldn't part with the excellent tools that GitHub has developed (and will continue to develop) over the years.
I still use GitHub quite a lot, but I've started using a private installation of GitLab[1] for private projects and I quite love it. So far, I've only been using it for myself, so I'll admit I haven't really touched the collaborative features, but it does seem to have a lot of the nice features from GitHub. https://www.gitlab.com/
Re: Self-hosted Git Server
#17Also check https://github.com/takezoe/gitbucket Installation is as easy as downloading it and running: java -jar gitbucket.war
Disingenuous. What happens when you need to restart your server because of some extreme necessary security patch? How do you manage backups? Since it's running on java, you probably don't want to expose this server to the internet unless you actively want to maintain updates to JDK versions. So now you're on the hook for that. Self-hosting is never "simple".
You think it is a bad idea or something.
Re: Self-hosted Git Server
#18Give Vagrant + Ansible about 15 minutes, and you'll have a nice little local GitLab server running. Modify the Ansible playbook slightly, to point it at a VM on Digital Ocean or elsewhere, and you'll have a nice little hosted copy of something like GitHub.
I run an instance of GitLab on a Digital Ocean droplet, and back it up to a cheap RamNode VPS; all my GitHub repos are pulled daily to repos on the GitLab server (for backup purposes—I use the GitHub repos primarily), and I also use this GitLab server as a central repo to which I push changes for my sites/services, and pull from on production servers.
There are many good reasons to put certain repositories on GitHub, and there are some good reasons to host some repositories yourself (or to just have one local working copy, with a backup).
Re: Self-hosted Git Server
#19I spent years out in the woods with my own projects page that nobody could find and very few cared about, happily cutting trees down with nary a witness. I wanted control over backups, presentation, availability. I was terrified of relying on services that could disappear. I found self promotion distasteful, and I was happy to do the work just for its own sake, for the enjoyment of that process. But then I wrote some…
The other advantage of using multiple servers, some private, is that it becomes OK to just push to GitHub when you're "done", because for better or worse, pushing something to GitHub that anybody else uses is de facto publishing it.
Re: Self-hosted Git Server
#20Earlier quoted context omitted.
Disingenuous. What happens when you need to restart your server because of some extreme necessary security patch? How do you manage backups? Since it's running on java, you probably don't want to expose this server to the internet unless you actively want to maintain updates to JDK versions. So now you're on the hook for that. Self-hosting is never "simple".
I do not believe the GP was trying to be misleading. That's what calling it disingenuous means. You think it is a bad idea or something.
But I do tend to agree with his comment. Self hosting is never simple, it's one more thing you have to take care of. Yes there might be cases where self hosting something is a requirement but, personally, for all the things that are strictly not work related and things that "just have to work" (e.g.: email, im, code hosting for free time projects) I use third party services, unfortunately I don't have enough time to take care of those things, and since I have to take care of similar things at work, at least for my own spare time I want something that helps me focus on what I really want to do.