News for hackers. Stuff that matters.
Re:Dropbox as a Git Server by StavrosK on Monday April 25, 2016 @11:39AM (#11564913)
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).

Re:Dropbox as a Git Server by wrong_variable on Monday April 25, 2016 @11:40AM (#11564928)
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.

Re:Dropbox as a Git Server by cabargas on Wednesday May 04, 2016 @01:47PM (#11630133)
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
Re:Dropbox as a Git Server by dineshp2 on Monday April 25, 2016 @11:59PM (#11569335)
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

Re:Dropbox as a Git Server by DanielDent on Monday April 25, 2016 @02:17PM (#11566149)
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 [email protected]
Re:Dropbox as a Git Server by StavrosK on Monday April 25, 2016 @02:36PM (#11566273)
Hmm, Gitlab crashes when I try to add a mirror. How did you figure this key out, if I may ask?
Re:Dropbox as a Git Server by DanielDent on Monday April 25, 2016 @03:21PM (#11566614)
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.

Re:Dropbox as a Git Server by StavrosK on Monday April 25, 2016 @09:41PM (#11568824)
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...

Re:Dropbox as a Git Server by sytse on Tuesday April 26, 2016 @06:02AM (#11570598)
GitLab shouldn't crash. We would like to help you resolve this, please email [email protected] and link to this comment to get help.
Re:Dropbox as a Git Server by JoshTriplett on Monday April 25, 2016 @01:19PM (#11565725)
> 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.

Re:Dropbox as a Git Server by StavrosK on Monday April 25, 2016 @02:32PM (#11566245)
Yes, I use git-crypt, but I'm paranoid :)