Live data from Hacker News

Set up your private Git hosting with Gogs

obahua.com

31–39 of 39 posts

Re: Set up your private Git hosting with Gogs

#31
post #4

Looks much easier to deploy than Gitlab.

I was actually just thinking about how this clone would make a good blog post pointing out the pain that hovers around many substantial ruby/rails projects versus other tool sets. To be able to download the binary and just run a web app ... amazing. Considering the last time I tried to run Gitlab all kinds of libraries didn't install properly and workers wouldn't come up when they were supposed to.

Rails apps are indeed a pain to install, that is why we made packages https://www.gitlab.com/downloads/ with Omnibus, we don't have a blog post about it but there is a video discussion https://www.youtube.com/watch?v=XTmpKudd-Oo

Re: Set up your private Git hosting with Gogs

#32
post #6
post #4

Looks much easier to deploy than Gitlab.

I just updated gitlab from 6.0 to 6.7 at work this weekend. That it does indeed. Which reminds me I have to submit patches to their init script. Rails is OK, but damn is it a bit of a time suck.

Sorry to hear the init script is giving you problems. We look forward to your merge request.

Re: Set up your private Git hosting with Gogs

#33

Complicate deployment is one of the major reason for me to stay away from using Self-hosted Git Server for my small team. This one looks really interesting and promising. Being open source project is another major bonus.

Take a look @ GitBlit ( http://www.gitblit.com/ ) It can run with only a dependency on JRE 1.6 or better.

And Gogs will run with no dependencies... https://github.com/gogits/gogs#purpose

Re: Set up your private Git hosting with Gogs

#36
post #22

Besides the ease of installation, the thing that most impresses me is the very low resource usage and amazing responsiveness on even a tiny VPS. PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 31378 smw 20 0 262M 11516 5712 S 0.0 0.6 0:00.00 ./gogs web 11 MB of RSS? Quoting user 'pas' in an earlier comment, Gitlab wants about 2GB. I have no idea how well it scales to a large user base, but I feel like this is…

How many repos do you have ? I don't expect gogs to come even close to what gitlab requires but I'd love to see some numbers.

Re: Set up your private Git hosting with Gogs

#37
post #32
post #6

Earlier quoted context omitted.

I just updated gitlab from 6.0 to 6.7 at work this weekend. That it does indeed. Which reminds me I have to submit patches to their init script. Rails is OK, but damn is it a bit of a time suck.

Sorry to hear the init script is giving you problems. We look forward to your merge request.

Its nothing big but basically amounts to adjusting how the source logic and defaults fits. The existing setup is a bit wonky and doesn't work in non bash very well.

That and I have been hacking the init script to not always use sudo. I generally prefer that root not use sudo, and where I work that bits enforced heavily. So there is a bit of logic there as well to allow for sudo as root or not.

Hopefully I get to it today but if not its not a big deal really.

Re: Set up your private Git hosting with Gogs

#38
post #36
post #22

Besides the ease of installation, the thing that most impresses me is the very low resource usage and amazing responsiveness on even a tiny VPS. PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command 31378 smw 20 0 262M 11516 5712 S 0.0 0.6 0:00.00 ./gogs web 11 MB of RSS? Quoting user 'pas' in an earlier comment, Gitlab wants about 2GB. I have no idea how well it scales to a large user base, but I feel like this is…

How many repos do you have ? I don't expect gogs to come even close to what gitlab requires but I'd love to see some numbers.

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
15300 git 20 0 898m 36m 5280 S 0.0 3.7 3:48.61 gogs

Data from try.gogits.org, Gogs database has 78 users, 41 repositories

Re: Set up your private Git hosting with Gogs

#39
post #36

Earlier quoted context omitted.

How many repos do you have ? I don't expect gogs to come even close to what gitlab requires but I'd love to see some numbers.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 15300 git 20 0 898m 36m 5280 S 0.0 3.7 3:48.61 gogs Data from try.gogits.org, Gogs database has 78 users, 41 repositories

If you insert three or more spaces at the left column of your submitted text, the columns will line up when the post is displayed in the HN interface, and you can have rows directly beneath each other with no intervening linefeed.
Post reply on HN