15 ms·
Gogs – Go Git Service
- idoom 11y agoThumbs up, docker image (https://github.com/gogits/gogs/tree/master/docker https://github.com/gogits/gogs/tree/master/docker) works great and is easy to setup. I've had it running for a while on a machine and stopped paying for github :)
- ihowlatthemoon 11y agoPrevious discussion https://news.ycombinator.com/item?id=9210978 https://news.ycombinator.com/item?id=9210978
- FiloSottile 11y agoFor extra ease and security (two things not often found together!) try setting it up in a Sandstorm server, works with one click and is sandboxed from the rest of your server. https://sandstorm.io/ https://sandstorm.io/
- pellucide 11y agoTook me about 3 minutes to have it running on a free account.
- Rapzid 11y agoHow viable would alternate backends be? Like say, AWS CodeCommit?
- fweespee_ch 11y agoIf anyone is interested in trying it, the packages are pretty good at keeping your installation up to date: https://gogs.io/docs/installation/install_from_packages https://gogs.io/docs/installation/install_from_packages It is what I use for my misc things at home.
- Udo 11y agoI've been using Gogs now for a few months and can't recommend it enough as opposed to GitLab. It does have some rough edges (for example the many instances where its CSRF protection feature misfires), but generally it's a very solid and performant git frontend. Although a plugin or widget system would be nice, it was also easy to extend the Gogs UI simply by editing its very straight-forward template files.
- ddon 11y agoWould be nice to have a list of features which Gogs offers and GitLab is missing! We are happy using GitLab...
- toolz 11y agoI would guess the only feature gogs has over gitlab is low resources and easy install, which for someone like me who does solo side-projects and likes to commit to my home server, is enough reason.
- endymi0n 11y agoThat's what has been the deciding part for us in the end. While Gogs is super lightweight, Gitlab is so feature rich, stable and user focused, that it's the only piece of Ruby that's running in our stack. We were right in the decision phase for a CI and had already set up a Jenkins machine when Gitlab integrated their CI which has been super simple, reliable and well integrated so far, no comparison to the monster that Jenkins is. Recent work on performance has been stellar, setup was quick, including backups, and upgrades have been super painless, they really got the important parts nailed down. Can totally recommend it, and it's really got the traction to both catch up with Github and also offer unique features. The pull/merge request workflow isn't as refined and better code review support would be high on my wishlist, but overall it has been a great choice so far with little regrets.
- aaronpk 11y agoI wrote about how and why I switched to Gogs from GitLab and Bitbucket here: https://aaronparecki.com/2016/02/13/18/ https://aaronparecki.com/2016/02/13/18/
- tazjin 11y agoBeen using this for a while now and very happy with it. I decided to stop using Github for personal projects due to political disagreements with the company and the fact that git should really not be centralised. Gogs has probably 95% feature parity with Github and it is a lot faster (is Github still Ruby? That would explain it ...) I run a personal Kubernetes cluster for services and getting Gogs up and running was super-simple: https://git.tazj.in/tazjin/infrastructure/src/master/gogs/gogs-rc.yaml https://git.tazj.in/tazjin/infrastructure/src/master/gogs/go...
- mbrock 11y agoHow can you compare speeds when you can't run GitHub on your setup? Running a multimillion user service is vastly different from running your own personal server, right?
- paukiatwee 11y agoJust curious, where (AWS, DO, GCE or other) do you run your Kubernetes cluster ?
- tazjin 11y agoGCE, it works extremely well there!
- umanwizard 11y agoWhy would ruby explain it? Do you think most of the time you spend waiting for GitHub pages to load is due to CPU load on the application layer? Why would we expect this to be the case?
- kevinSuttle 11y agoIt kills me when people build GitHub alternatives that are hosted on GitHub.
- skj 11y agoWhy? Github is about distribution and collaboration with a community. This product seems to be about private self-owned hosting.
- kevinSuttle 11y agoThen why aren't they hosting on their own product?
- _1 11y agobecause most people already have a github account
- brazzledazzle 11y agoDifferent scale?
- patrickaljord 11y agoBecause that would be public hosting, parent just explained that gogs is great at _private_ hosting. When it comes to public hosting of open source projects with network effect, github is still king. I don't think anyone denies that.
- skj 11y agoI'd answer, but I worry you wouldn't read my second reply either.
- merpnderp 11y agoWe downloaded and installed Gogs, Gitlab, and Bitbucket. I liked Gogs the best, but Gitlab seemed more enterprise-y, and Bitbucket had an issue we could never figure out. We're trying to replace TFS, so we'll probably end up with Gitlab. But since I was the one doing the installing, I sure wish we'd go with Gogs. It was 5 minutes from start to finish.
- sytse 11y agoWhat can we improve in GitLab to make it better? Did the install take too long? Did you try our Omnibus packages or a source install?
- coolsunglasses 11y agoI've tried and failed three times to get Gitlab to send me a sign-up email. I can't get it to work. I can't figure out how to disable the confirmation emails either. I'd be using a self-hosted Gitlab to try to fix the speed issues but because of this issue, I cannot. So, instead, I'm a refugee on your public service until I convince my coauthor to eat another repository migration to a private Gogs instance. I got gogs working in 5 minutes like OP said. Also Gogs is >>>>>>>>>>>>>>>>>>>>>> faster. It baffles me that I can be pushing an initial commit to an empty repository and my terminal will hang for 10-15 seconds. What's going on with that?
- aroch 11y agoIf you're self-hosting, I would use mailgun with the below config in your /etc/gitlab/gitlab.rb https://gist.github.com/ar0ch/b33a9232776504bd83ac https://gist.github.com/ar0ch/b33a9232776504bd83ac
- sytse 11y agoThanks for the feedback. Aroch posted a good Mailgun config in https://news.ycombinator.com/item?id=11374883 https://news.ycombinator.com/item?id=11374883 but your post gave me the idea to disable confirmation emails by default https://gitlab.com/gitlab-org/gitlab-ce/issues/14684 https://gitlab.com/gitlab-org/gitlab-ce/issues/14684 I'm not sure what is up with the initial commit issue you describe and made an issue to investigate https://gitlab.com/gitlab-org/gitlab-ce/issues/14685 https://gitlab.com/gitlab-org/gitlab-ce/issues/14685 Thanks again!
- empressplay 11y agoWe run Gogs on a bog-standard $10 VPS and it works great; quick, snappy, reliable. Very efficient. Can't recommend it enough. Resource usage matters.
- xtacy 11y agoKudos on the polished project release. I am relatively new to go, and I am curious about the technology stack behind such a webapp. How does it work under the hood? - How do you develop such web apps with html, css, javascript, go, etc. all interacting with each other? - How are static assets packaged in a single binary? - Any simple tutorial or stack walkthrough you would recommend me reading? thanks!
- dejawu 11y ago- As it happens, this is also on the front page: https://astaxie.gitbooks.io/build-web-application-with-golang/content/en/preface.html https://astaxie.gitbooks.io/build-web-application-with-golan... - I also recommend going through Go's example wiki tutorial: https://golang.org/doc/articles/wiki/ https://golang.org/doc/articles/wiki/ - By default, Go binaries are statically linked. If by static assets you mean CSS, JS, etc., those are usually just deployed alongside the binary.
- matheweis 11y agoI switched to gogs from GitLab and haven't looked back. The installation literally took 10 minutes including all of the sysadmin work. Main reason was the resource utilization of GitLab was just too high. iirc, it was actually the CEO of GitLab that recommended the switch... ;)
- sytse 11y agoYes, if you are resource constrained (less than 2GB of memory) and using it privately I think Gogs is a great choice.
- matheweis 11y agoHas been so far, thanks again for the recommendation!
- mh-cx 11y agoSorry, but even with 2GB Gitlab is painfully slow. And it also happens on gitlab.com where I assume resources are optimized. Loading times of up to 3 seconds for a stupid list of issues are not really acceptable for a web application in 2016. In fact, they never were.
- sytse 11y agoGitLab.com is slow because of operational issues, like everything running from one NFS server. GitLab on your own server with enough memory should be fast. The slowness of GitLab.com is unacceptable to us, work to improve it is ongoing in https://gitlab.com/gitlab-com/operations/issues/42 https://gitlab.com/gitlab-com/operations/issues/42
- reactor 11y agohttps://notabug.org/ https://notabug.org/ on a fork of Gogs
- Mahn 11y ago> How to use downloads? > 1. Extract the archive. > 2. cd into the directory just created. > 3. Execute ./gogs web and you’re done. Can't beat the simplicity of running Go applications. It's funny because running a compiled binary is so incredibly basic to computing, and yet 90% of the time installing a new shiny toy in a server involves dealing with 342525 dependencies, half of which broke because god knows what dependency wasn't targeting the right version. And you sit there debugging dependencies and errors and pulling your hair for two hours, trying to get someone else's mess to work, wondering how did we get this so wrong.
- gnuvince 11y agoA lot of Java software is "(1) download the jar file, (2) java -jar thefile.jar". Agree it's good for the user, but when people talk about distributing a statically-linked program the "what about security updates" question invariably comes up.
- matt_wulfeck 11y agoIt is still easier with static compiles if you ask me: "Make sure you're running Gogs 1.64.2 or above" "Make sure you're running Gogs 1.64.2, OpenSSL 1.2e, libcrypt 3.73, leftpad 2.0..." Especially when the deployment of said binaries doesn't involve anything installed on the host OS.
- raimue 11y ago"Make sure you run Foo 1.7, Bar 2.1, Baz 2.3, ..." "Make sure you update to OpenSSL 1.2e and restart all services." If you think of more than one program using the same module, shared libraries make a lot of sense.
- chm 11y agoThey do, but static linking means the developer actually does have control of the environment. What happens if you ship the latest and greatest binary but the shared libraries aren't updated by the user?
- mmoya 11y agoEagerly waiting for 2FA https://github.com/gogits/gogs/issues/945 https://github.com/gogits/gogs/issues/945
- fiatjaf 11y agoDoes it run on Heroku?
- simonw 11y agoProbably not without major changes - it looks like it stores a lot of stuff (including gir repos and uploaded attachment files) on the file system.
- Bedon292 11y agoI have been using gogs at home for a few months now as well. It has been great for all of my needs. Like version controlling little python scripts I am playing around with, or my resume, term papers, etc in LaTeX. Stuff that will never be public that I would like to have a little more control over.
- StavrosK 11y agoYes! I've been using it for this purpose as well, and I love it. Easy to install/update, great GUI for all my needs, and runs on my home server. If you aren't using it at home, you need to start yesterday.
- _1 11y agoWhy is software still being named for the language it was written in?
- voidlogic 11y agoFor everyday software this is fair, but is software made FOR DEVELOPERS. All things being equal between two solutions, I am going to take the one implemented technology I know and can hack on easier. Also, many of the most popular solutions in this space are written in what some people would call "low performance languages", since the author here is using a "high performance language", its just good marketing too.
- joeblau 11y agoI thought it was because of "Go"ogle but then I clicked though the link. It's pretty interesting that they've launched this because I feel like this is GitHub's bread and butter for enterprise.
- weberc2 11y agoSo the haters at /r/programming know to stay away?
- ausjke 11y agothe installation doc is not complete, at least not so simple like a 'unzip; ./gogs web', you need create a database, set up users etc, those really should be documented for a good first-time experience. also after installation it refreshes into localhost:3000 instead of my-remote-host:3000, so you have a dead page after the installation. yes they're easy to fix, but it's good if they're documented
- qz_ 11y agoI wonder if Gogs will have to change its ui.. https://news.ycombinator.com/item?id=11374786 https://news.ycombinator.com/item?id=11374786
- tschellenbach 11y agoThey should. Github obviously spent countless hours perfecting their UI. Other apps shouldn't be allowed to copy it. (I have no affiliation with Github, other than that I'm a developer and respect the hard work they've put into their product.)
- Spivak 11y agoDoes the argument really change if they spent a weekend on the UI?
- shimon 11y agoYes, because if the design is trivial, or obvious given the problem domain, then the thing being copied doesn't meet the bar for being a creative work.
- deleted 11y ago[deleted]
- ycmbntrthrwaway 11y agoGood design is obvious because you can reuse many existing ideas. What if you had to redesign tabs, search field, logos bringing you to homepage, scrollbars, buttons, focus, text cursor and all the other things from scratch? If there is no objective way to set the bar you mentioned, we end up with double standard.
- ycmbntrthrwaway 11y agoIt is even worse than copyrighted APIs. Such attitude will allow Microsoft to sue KDE for Windows look-and-feel and LibreOffice for Office look-and-feel, even without patents. Good features and ideas should be copied as widely as possible instead of reinventing the wheel for the sake of difference.
- gramakri 11y ago(Pitching my own company https://cloudron.io https://cloudron.io here) If you want a single click install on a _private_ server and with a custom domain - https://cloudron.io/appstore.html?app=io.gogs.cloudronapp https://cloudron.io/appstore.html?app=io.gogs.cloudronapp. We track Gogs releases actively and keep it up to date with no effort on your part. My own repos are hosted on gogs - https://git.girish.in https://git.girish.in Edit: Since I got asked a couple of times about this (wow, you guys are fast), anyone can write apps for the Cloudron. It's docker based and you can find the Gogs app code here https://github.com/cloudron-io/gogs-app https://github.com/cloudron-io/gogs-app
- fiatjaf 11y agoHow does this relate to that other similar tool the name I just forgot?
- gramakri 11y agoSorry, which tool :-) ? Docker compose? Cloudron gives you a private server (we use DigitalOcean right now) on which you can install web apps. We automate everything about maintaining your server - DNS, certs, app updates, backups etc. In short, we want to make it possible for everyone to have their own server. Cloudron is more a consumer product than a development tool (of course, we have tooling that enables developers to create apps).
- kbaker 11y agoMaybe sandstorm.io? https://apps.sandstorm.io/app/d9ygf47xrtnw12j92cyt6cu8ut75esx01u4q3kcrn8415w9qzzgh https://apps.sandstorm.io/app/d9ygf47xrtnw12j92cyt6cu8ut75es...
- gramakri 11y agoThe products are similar. Do give both of them a try. We have a demo at: https://my-demo.cloudron.me https://my-demo.cloudron.me (username: cloudron password: cloudron)
- ksec 11y agoIs there any Gogs.com hosted version?
- jittermark 11y agoNope. They have an instance at https://try.gogs.io https://try.gogs.io but it's only a demo. The only public instance that I'm aware of is http://notabug.org http://notabug.org but - they only accept free projects - they're still using a very old version of Gogs
- of 11y agoYeah, there's https://notabug.org/ https://notabug.org/
- jeromenerf 11y agoI use gogs and github. Both are great git backends, featuring simple collaboration management. The issues and wiki however feels too primitive to be useful. I can't really decide if they are already bloated or if they have not reached MVP yet. Anyway, I would love to see better integration on both with their mandatory complements, such as kanban, CI, ...
- mohsinr 11y agoGithub killer free app is on Github :)
- djhworld 11y agoI've been running this on my raspberry pi for a few months now, it works great!
- 11mariom 11y agoDo you know any Continous Integrations which fits well with Gogs? Something small, easy to setup, easy to use. Just as Gogs is. All I want - integration with git/gogs (webhook?), status page (with detailed build/test info, especialy for fails), status image (for readme in gogs).
- mrmondo 11y agoI use gogs at home, but run Gitlab At work - it just has so more many more features and far more customisable - also Gitlab CI rocks, it seems to scale really well - 60 active developers on a tiny vm and its lightening quick and we can easily do more than 100 releases a day.
- sytse 11y agoGlad to hear that you like GitLab CI. Continuous Delivery FTW!