Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I ran out of private GitHub repositories a long time ago

why doesn't OP use bit-bucket ?



I deployed Gogs at home and am loving it for things I don't want anyone else to have access to (mostly hobby projects with some secret keys in them), and Gitlab is just so fantastic nowadays that I'm adding projects to it instead of Github.

I wish they would fix their Github syncing (they can currently do it, but don't tell you their public SSH key so you can add it to Github as a pushing/pulling key).


Gogs is awesome :)

The only first world probem I have with Gogs is when you change branch deep into a directory it goes back to the top level view.


Thanks for the 'fantastic'!. We’re always trying to enable our users to integrate with more services/tools. I would love to have your input on this specific topic at https://gitlab.com/gitlab-com/support-forum/issues/695


I agree that Gogs works very well for small repositories.

Just a heads-up to anyone planning to use Gogs for large repos: Gogs is basically unusable for large repositories( such as the git repository itself and the linux kernel). The response times through the web UI can extend into a few minutes on small servers( I tried it with a 2 cpu and 2GB RAM server on DigitalOcean) and even on extremely powerful servers, the response times for large repositories is almost the same( I tried it on a 8 cpu and 16GB AM server). The reason for this is that Gogs lacks a cache system for git repos. You can follow the issue here[1].

[1] https://github.com/gogits/gogs/issues/1518


It's not documented anywhere, so it's possible they use different keys for different users, but I was able to figure out they use this key for my account:

    ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8cBZzV5gblDfbi41AxXC3fmfP8w1okfdNn9b6uXaj7i03NwhJ0n4Eg8Z+zgAtyrIa2bw9tzF8fyeYsnRbK5Paj059dn+XiXp3HOgcvHO9jy9C1+nomkRCM55fkMSGyiSByh2KSOiqqAusrTV9joig/Re30gYpxm8iCs20gbD717lZTT0A3dnrv7IQ86nbn9+5h+yMcok/AWEWS6Xq1NJGG5vav+vh+Nhlteo72qj77B/DFK1noUxcTgcy27xZOp1wrr7a6PaBu6wEMgKd2Oe9wQtzycaOYTAywHqtXnOE/w7FvhJen20GqtL9k4Zr94hxUNG7LJoiO6gNzo/0q24t git@theo.gitlab.com


Hmm, Gitlab crashes when I try to add a mirror. How did you figure this key out, if I may ask?


Bitbucket, which they also support, shows me the key they added to my repo.

Using the key they placed on my Bitbucket repo worked on one of my Github repos.


Ah, thank you, I'll try that.

EDIT: Turns out that key doesn't work. How can I make them add a key to my BitBucket account? I don't see an option for that...


GitLab shouldn't crash. We would like to help you resolve this, please email support@gitlab.com and link to this comment to get help.


> mostly hobby projects with some secret keys in them

For that, you might consider using something like git-remote-gcrypt, which encrypts data client-side before sending to the server.


Yes, I use git-crypt, but I'm paranoid :)


Or GitLab? I really don't understand why anyone would misuse Dropbox as a Git server...


The OP seems to be interested in a SaaS (alternative for GitHub). For the people that think you always have to install GitLab, instead of running your own GitLab server you can also use GitLab.com with unlimited projects and collaborators, see https://about.gitlab.com/gitlab-com/


Has Gitlab done any work on the high availability front? I remember reading a while back that gitlab.com was hosted on 2 servers, or something like that.


They definitely stated that gitlab.com was running on one single server (plus a spare):

https://about.gitlab.com/2015/01/03/the-hardware-that-powers... https://about.gitlab.com/2015/03/09/moving-all-your-data/

It looks like this is no longer the case:

https://about.gitlab.com/2015/06/04/gitlab-dot-com-outage-on...

I haven't been able to determine if they're still storing the git repositories on NFS:

https://about.gitlab.com/2015/09/01/gitlab-dot-com-outage-on...

but if that's the case, I would be extremely nervous about the integrity and stability of their platform. I've had too many bad experiences with NFS mounts failing and general instability that I don't want to deploy it anymore.


We have many servers now, see https://gitlab.com/gitlab-com/blog-posts/issues/214

We're still on NFS but are looking into Ceph https://gitlab.com/gitlab-com/operations/issues/1


We're currently using 20 Azure instances to host GitLab.com. Git data is stored on an NFS server though I can't recall the exact setup from the top of my head.


Huge fan of Gogs here: https://gogs.io/ easilly run on any low powered machine/vps, super great for personal projects.


Or even GitLab

Edit: Apparently I was beat to the punch ;)


Or GitBucket hosted on your own hardware.


I've never tried it, but couldn't you theoretically make another github account using your email (assuming you use gmail) with a "+whatever" in it, and use that to create an infinite number of new github accounts? I believe gmail redirects you+something@gmail.com to you@gmail.com.

Of course, just using Gitlab is the more sensible option :)

[EDIT] - as lfowles pointed out, github doesn't private repos on free-tier accounts, so this is pointless.


Github has no private repositories in the free tier.


I would personally prefer gogits - since its simpler than GitLab.

But since I am a ghetto peasant without a static IP address I prefer to keep everything in what the cool kids call "The Cloud".


I was referring to gitlab's hosted option (maybe I'm not the only one that didn't know this existed until recently) - https://gitlab.com/users/sign_in

I assume you're running your own VPS with gogits/gogs running on it?


I'm pretty much using a single private Git repository where I store all of the things I don't want to open source. When I'm the only one using that repository, I don't see the issue with doing so.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: