Live data from Hacker News

Gogs, an alternative to Gitlab

apertoire.net

221–230 of 239 posts

Re: Gogs, an alternative to Gitlab

#221
post #215
post #192

Earlier quoted context omitted.

Bitbucket provides those. I use it professionally because I like all my stuff in one place and that's where I keep my free private repos.

While bitbucket have some similar features to github (or vice-versa), the features are not the same . So if you want to use only one interface, and you prefer github for projects with multiple collaborators, bitbucket isn't really much of an alternative. Or, if you prefer bitbucket, but is also professionally involved in a number of projects hosted on github, you're still stuck with two interfaces (this is likely the…

Re: Debian -- I see that the notabug.org gogs repo[r] contains a debian-folder, and the package build-depends on gccgo (and gccgo-go, which doesn't appear to be in Debian at all, but is in Ubuntu[g]). My initial attempt to build it under plain Debian 7.0 Wheezy (without gccgo-go, just with a "-d"-override) failed -- but perhaps it works on Ubuntu 14.04.

I don't have any idea about the quality/approach taken wrt Debian packaging, just thought it might be a point of interest.

[r] https://notabug.org/hp/gogs/

[g] http://packages.ubuntu.com/search?keywords=gccgo-go&searchon...

Re: Gogs, an alternative to Gitlab

#222
post #70

Hi, GitLab CEO here. Installing GitLab should take only 2 minutes with the Omnibus packages available on https://about.gitlab.com/downloads/ Upgrading GitLab is as simple as: sudo gitlab-ctl stop unicorn sudo gitlab-ctl stop sidekiq sudo gitlab-rake gitlab:backup:create sudo dpkg -i gitlab_x.x.x-omnibus.xxx.deb sudo gitlab-ctl reconfigure And we're working very hard to make sure this is a flawless, uneventful & borin…

nice. the problem i have with gitlab is not much the upgrage process anymore, but the fact that you don't accept push requests from the community of features that you implemented in the enterprise edition. for example the git hook stuff. i hope someone who has the time and the skills forks gitlab and merges push requests of new features, even if they are already implemented in your pay-for version.

I agree with this actually - the whole public Gitlab CE vs EE repos and management is a bit of a mess - it seems to be getting better though.

Re: Gogs, an alternative to Gitlab

#223

I love OSS, however I hate this argument: "You could certainly purchase access to private Github repositories, but most certainly you’d rather want to invest your capital in more pressing matters." That's their #1 reason? GitHub is, like, $7. If that saves you 10 minutes of having to maintain your own servers? Completely seems worth it to me. Or, GitLab or BitBucket have free private repos. My argument is this: your…

It's not really that simple. For people that already do it - managing servers is easy and doesn't take much time at all. One of the main reasons to run your own code repo is that you're in control of your data and you're not limited by the performance or features of the upstream vendor. Not to mention how much faster having your code repo running internally is - when you have 100 people commit code to and from git all day along with using other 'cloud' products you end up eating up a lot of bandwidth - and in many countries that's really expensive (Australia being one of them).

Remember companies that sell cloud services have a vested interest in making you believe that it always makes financial sense to use a cloud hosted product which as those of us that have experience in both cloud hosted and on site deployments will tell you is not always the case.

Re: Gogs, an alternative to Gitlab

#224
post #217

Earlier quoted context omitted.

Thank you for sharing your points: for me this is actually quite an endorsement of gogs (But then, I'm not looking for an alternative to gitlab). > * There is no Debian package which would be nice. True. AFAIK there aren't any packages in Debian that depend on go/golang yet, not even in sid. That doesn't mean one can't make out-of-band debs, of course, but gogs unfortunately isn't alone here. Does anyone know of any…

For sure - it's got lots of promise and we are by no means bound to what we've bought into - we'll use whatever's best, at the moment that's Gitlab. To clarify I didn't mean that it would be nice to have packages that are maintained by or in the default Debian repo - but an apt repo for the project would be nice. I've found Go a pain to read and hack with - Ruby and Python however are a lot more readable and any of o…

Actually, I was wrong (also in my sibling comment):

http://gogs.io/docs/installation/install_from_packages.md

(Linked from the github page). So there are debs available of gogs. Trying to figure out how to build a deb from the git repo, but if all you want is upstream binary debs, you appear to be covered.

Re: Gogs, an alternative to Gitlab

#225

I love OSS, however I hate this argument: "You could certainly purchase access to private Github repositories, but most certainly you’d rather want to invest your capital in more pressing matters." That's their #1 reason? GitHub is, like, $7. If that saves you 10 minutes of having to maintain your own servers? Completely seems worth it to me. Or, GitLab or BitBucket have free private repos. My argument is this: your…

It's not really that simple. For people that already do it - managing servers is easy and doesn't take much time at all. One of the main reasons to run your own code repo is that you're in control of your data and you're not limited by the performance or features of the upstream vendor. Not to mention how much faster having your code repo running internally is - when you have 100 people commit code to and from git al…

Exactly. I have a somewhat beefy server that I continue to use just for personal things. Once you're well acquainted with self hosting, the successive time investment drops dramatically, and the rewards become substantial.

At this point, my server replaces:

    - A site host
    - Image host
    - Streaming video service (Netflix replacement)
    - File host (Dropbox replacement)
    - Build server
    - Git repository host
    - Proxy
    - Render server
    - Hosts all the random webapps I write
    - Game hosting
By spending my time, I not only get these services, but the expertise to manage and run other services. It's less rewarding in the short term, since I certainly didn't get all this right when I bought the thing, but at this point I am getting a ton of return on my invested time.

Re: Gogs, an alternative to Gitlab

#226
post #190
post #43

Earlier quoted context omitted.

Care to share how did you get it working on Synology? Thanks very much.

Uhm, basically I built it on my mac with GOOS=linux GOARCH=arm GOARM=7 go build See http://dave.cheney.net/2012/09/08/an-introduction-to-cross-c... for cross compilation instructions. Then I created a new user, scpd the distribution and added gogs binary to rc.local. I also installed git from the Synology package manager. There was some tweaking involved, but that was mostly it.

Thanks izacus for sharing!

Re: Gogs, an alternative to Gitlab

#227
post #224

Earlier quoted context omitted.

For sure - it's got lots of promise and we are by no means bound to what we've bought into - we'll use whatever's best, at the moment that's Gitlab. To clarify I didn't mean that it would be nice to have packages that are maintained by or in the default Debian repo - but an apt repo for the project would be nice. I've found Go a pain to read and hack with - Ruby and Python however are a lot more readable and any of o…

Actually, I was wrong (also in my sibling comment): http://gogs.io/docs/installation/install_from_packages.md (Linked from the github page). So there are debs available of gogs. Trying to figure out how to build a deb from the git repo, but if all you want is upstream binary debs, you appear to be covered.

See this stackoverflow q/a -- it appears to contain most of the current highlights. Basically Ubuntu has started packaging a few go apps, and fpm[f] seems to be an ok alternative in the meanwhile:

http://stackoverflow.com/questions/15104089/packaging-golang...

packager.io (which upstream googs uses) seems to be a nice way to just get packages out there, but as far as I can tell it's pretty well walled-off behind a service, so no easy way to build locally, off-line, or without using packager.io etc. In that sense it strikes me as a poor choice for Free software, as there is no promise that things will continue to work, or can be made to work, long term.

[f] https://github.com/jordansissel/fpm

Re: Gogs, an alternative to Gitlab

#228
post #227
post #224

Earlier quoted context omitted.

Actually, I was wrong (also in my sibling comment): http://gogs.io/docs/installation/install_from_packages.md (Linked from the github page). So there are debs available of gogs. Trying to figure out how to build a deb from the git repo, but if all you want is upstream binary debs, you appear to be covered.

See this stackoverflow q/a -- it appears to contain most of the current highlights. Basically Ubuntu has started packaging a few go apps, and fpm[f] seems to be an ok alternative in the meanwhile: http://stackoverflow.com/questions/15104089/packaging-golang... packager.io (which upstream googs uses) seems to be a nice way to just get packages out there , but as far as I can tell it's pretty well walled-off behind a s…

I've used FPM for small things that aren't too complex but I certainly wouldn't trust the Ubuntu packaging team.

Re: Gogs, an alternative to Gitlab

#229
post #35

I know this is on the front page of https://gogs.io , and also that gogs is made to be self hosted, but have a look at https://notabug.org as a website to host git repositories which runs its own version of gogs. I am not affiliated with the project.

https://gogs.io/ seems to be a completely different site from http://gogs.io/ , and has the wrong certificate as well.

My bad! Accidently just assumed https.

Re: Gogs, an alternative to Gitlab

#230
> Also, since Google Code hosting project is closing down, you can expect more projects being driven to it.

Well, Google Code was never used for private repositories, so that argument is irrelevant for the intended free private repository introduction.

Post reply on HN