TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Gogs, an alternative to Gitlab

424 点作者 apertoire大约 10 年前

37 条评论

gkoberger大约 10 年前
I love OSS, however I hate this argument:<p>&quot;You could certainly purchase access to private Github repositories, but most certainly you’d rather want to invest your capital in more pressing matters.&quot;<p>That&#x27;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.<p>My argument is this: your time is the most important thing you have, and you shouldn&#x27;t be wasting your time on maintaining your own source control servers.
评论 #9213774 未加载
评论 #9213617 未加载
评论 #9214247 未加载
评论 #9215865 未加载
评论 #9216444 未加载
评论 #9214006 未加载
评论 #9213665 未加载
评论 #9214136 未加载
评论 #9214068 未加载
评论 #9214202 未加载
评论 #9213984 未加载
评论 #9213297 未加载
sytse大约 10 年前
Hi, GitLab CEO here. Installing GitLab should take only 2 minutes with the Omnibus packages available on <a href="https://about.gitlab.com/downloads/" rel="nofollow">https:&#x2F;&#x2F;about.gitlab.com&#x2F;downloads&#x2F;</a><p>Upgrading GitLab is as simple as:<p><pre><code> 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 </code></pre> And we&#x27;re working very hard to make sure this is a flawless, uneventful &amp; boring process for 100% of the users <a href="https://twitter.com/PentiumBug/status/569930640725946368" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;PentiumBug&#x2F;status&#x2F;569930640725946368</a> We&#x27;re also working on a package server so you can just use apt-get to upgrade.
评论 #9212269 未加载
评论 #9215716 未加载
评论 #9212662 未加载
评论 #9215629 未加载
评论 #9213091 未加载
评论 #9212141 未加载
评论 #9212203 未加载
评论 #9213806 未加载
评论 #9213101 未加载
评论 #9217261 未加载
评论 #9218131 未加载
评论 #9213824 未加载
评论 #9214072 未加载
评论 #9214597 未加载
geerlingguy大约 10 年前
I&#x27;ve been trying both Gogs and GitLab locally for personal projects, and like both for different purposes. GitLab seems to have an edge in terms of larger organizational usage and integrations... but Gogs is faster for smaller orgs and way simpler to set up and manage.<p>I have a couple quick demo Vagrant configurations you can use to spin up both and choose for yourself which one you like better:<p><pre><code> - Gogs: https:&#x2F;&#x2F;github.com&#x2F;geerlingguy&#x2F;ansible-vagrant-examples&#x2F;tree&#x2F;master&#x2F;gogs - GitLab: https:&#x2F;&#x2F;github.com&#x2F;geerlingguy&#x2F;ansible-vagrant-examples&#x2F;tree&#x2F;master&#x2F;gitlab</code></pre>
评论 #9212374 未加载
评论 #9213121 未加载
izolate大约 10 年前
We moved to Gogs. GitLab was too slow, and started giving us random 500 errors (fatal bug).<p>Overall, it&#x27;s been more enjoyable than Gitlab. Things I don&#x27;t like:<p>* No pull requests &#x2F; issues<p>* No deploy keys<p>* It&#x27;s a full on GitHub replacement in the sense that anybody can sign up to your Gogs instance and use it. Who&#x27;s using it that way? Would be much better if it were built for one organization with a way to group repos into projects.
评论 #9211336 未加载
评论 #9211882 未加载
评论 #9213890 未加载
klaruz大约 10 年前
Why do I rarely see Gitblit talked about as an open source alternative to GitHub? It does a lot: <a href="http://gitblit.com/features.html" rel="nofollow">http:&#x2F;&#x2F;gitblit.com&#x2F;features.html</a>, including a well thought out ticket workflow: <a href="http://gitblit.com/tickets_overview.html" rel="nofollow">http:&#x2F;&#x2F;gitblit.com&#x2F;tickets_overview.html</a> It&#x27;s also very easy to install, since it only needs a JVM.<p>I started using it after getting frustrated with Gitlab&#x27;s install process on RHEL (a year ago), and I used Gitolite before that. Gitblit has been refreshingly simple to deal with. Am I missing something other than the standard JVM hate?
评论 #9211769 未加载
评论 #9211571 未加载
solutionyogi大约 10 年前
Why are they not dogfooding?<p>If they will use Github to develop Gogs, the potential audience may think why they should not use Github itself.<p>I am not trying to put them down, it&#x27;s very difficult to dog food when your product is in its early state but their page suggests that they already support Issue Tracking. I think it is in a state where they can use Gogs to develop Gogs. This will ensure that they work on those items which affects developers the most.
评论 #9211638 未加载
评论 #9211671 未加载
评论 #9211586 未加载
评论 #9211768 未加载
评论 #9211658 未加载
Vendan大约 10 年前
Just as a warning, I don&#x27;t consider gogs to be stable enough for production use. There&#x27;s data race errors that pop up, resulting in errors resolving various assets. I&#x27;ve had everything from user&#x27;s avatar icons to the main homepage randomly error out as 404. The dev doesn&#x27;t seem to understand that data races, i.e. unsafe cross thread data access, is an issue. In addition, note that it and least some of the libraries it uses are written by devs for whom english is at best a second language, so expect difficulties communicating. Finally, a lot of the paradigms it uses are considered un-idiomatic by the golang community at large, so don&#x27;t expect assistance from the community(for instance, dependency injection and reflection powered &quot;magic&quot;).
评论 #9216066 未加载
awalGarg大约 10 年前
I explored it heavily for the last 2 minutes on my Ubuntu 14.04 fresh VM.<p>- Installation (and liberty to chose between 3 database engines) couldn&#x27;t be easier. No Gitlab&#x27;s omnibus package doesn&#x27;t come even close.<p>- Gogs does support issues. Proper Github like issues with labels, milestones, assignees, markdown etc.<p>- There are no pull requests. And you can&#x27;t edit files from the web interface. I bet Linus Torvalds will love it and ask Github to shutdown in favor of Gogs.<p>- The interface is pretty much the same as Github, so ++ there too.<p>- Sending commit messages like &quot;do something, fixes #3&quot; won&#x27;t close #3.<p>- You cannot code review, comment on diffs, or commits. This one hurts me.<p>- Is too much fast and less resource intensive compared to Gitlab, so ++ if you are resource limited.<p>I would recommend to run locally for small personal projects. OR if you just want a web interface to git, and not a browser based version control system.
adsche大约 10 年前
Just downloaded the current linux binary package. Unfortunately, installing is not yet as easy as unzipping the archive as the article claims.<p>It contained some __MACOSX, ._* and .DS_Store files. They don&#x27;t disturb anything but thats just careless packaging.<p>The executable bit on the executable was not set.<p>The config file suggests fo generating keys:<p><pre><code> ; Generate steps: ; $ cd path&#x2F;to&#x2F;gogs&#x2F;custom&#x2F;https ; $ .&#x2F;gogs cert -ca=true -duration=8760h0m0s -host=myhost.example.com </code></pre> The path to the binary here has to be ..&#x2F;..&#x2F;gogs and the mentioned directory has to be created.<p>Once it&#x27;s up and running, I do like it so far for my personal repositories.
izacus大约 10 年前
I use Gogs on my Synology NAS for personal use and I love it. Mostly because it&#x27;s so easy to setup and deploy - cross-compiling the binary for ARM was simple, after that it was just a matter of SCPing it to the NAS itself.<p>It&#x27;s not as feature rich as other options, but it does it&#x27;s job well.
评论 #9211596 未加载
评论 #9211855 未加载
Touche大约 10 年前
There&#x27;s also Gitbucket which has as similar advantage: <a href="https://github.com/takezoe/gitbucket" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;takezoe&#x2F;gitbucket</a>
评论 #9212812 未加载
评论 #9212321 未加载
Rafert大约 10 年前
What experiences do people have with <a href="http://phabricator.org/" rel="nofollow">http:&#x2F;&#x2F;phabricator.org&#x2F;</a> ? It&#x27;s not a GitHub clone but it does seem very complete, possibly replacing Jira and Stash if you&#x27;re into the Atlassian ecosystem.
评论 #9211734 未加载
评论 #9211674 未加载
评论 #9213822 未加载
评论 #9213828 未加载
评论 #9211655 未加载
评论 #9212926 未加载
评论 #9211316 未加载
jumpwah大约 10 年前
I know this is on the front page of <a href="https://gogs.io" rel="nofollow">https:&#x2F;&#x2F;gogs.io</a>, and also that gogs is made to be self hosted, but have a look at <a href="https://notabug.org" rel="nofollow">https:&#x2F;&#x2F;notabug.org</a> as a website to host git repositories which runs its own version of gogs.<p>I am not affiliated with the project.
评论 #9213654 未加载
andmarios大约 10 年前
Gogs is great for one-person or small team setups. I switched to it from gitbucket, which is also great and I do recommend it. It was the memory footprint (Go binary vs JVM) that made the choice easy for me.<p>The functionality I miss the most is search. I think it may be easy to implement some basic form of search using git grep.
评论 #9211409 未加载
hmottestad大约 10 年前
We run Gitlab at work.<p>It&#x27;s a bit slower than Stash, but other than that I really love it. Lots of features, and they are easy to use. Upgrading to the newest version has always been simple.<p>Only gotcha we have had is the timeout of the workers, which meant that some large repositories would be impossible to clone. After adjusting the timeout everything was fine. Although a bit more caching would be in order to speed up clones.
评论 #9211266 未加载
vhost-大约 10 年前
I like this a lot. Gitlab was hard to get running for me on Debian. Plus it was a rails project so it always takes 10 seconds to start up.<p>This was pretty quick. As a Go person myself, I love the single binary way.
ceejayoz大约 10 年前
&gt; You could certainly purchase access to private Github repositories, but most certainly you’d rather want to invest your capital in more pressing matters.<p>Getting a few private repositories on GH is $7&#x2F;month.<p>It&#x27;ll cost me more than that for a server, not to mention the time setting up and managing.
评论 #9212266 未加载
评论 #9212824 未加载
markthethomas大约 10 年前
Is it just me, or does it bother anyone that the design seems SO ripped from Github? Github&#x27;s UI has a lot to be said for it and perhaps emulation is more of a compliment here, but...even the icon font glyphs...
评论 #9212651 未加载
评论 #9212659 未加载
alexcason大约 10 年前
At what point does it become a concern when you&#x27;re just ripping off the UI of a competing product?
评论 #9211297 未加载
评论 #9211249 未加载
technomancy大约 10 年前
Maybe it isn&#x27;t fair, but every time I see &quot;...written in X&quot; tacked on the end of the tag line, I assume it&#x27;s a very immature product. If the implementation language is that high on the list of things potential users might be interested in, it&#x27;s usually a sign that they&#x27;ve got a ways to go.
评论 #9212452 未加载
评论 #9211695 未加载
评论 #9211676 未加载
评论 #9212221 未加载
tracker1大约 10 年前
It really bugs me that more people forget that you can use git+ssh on any shared server, if you don&#x27;t have the Pull-Request&#x2F;review support, why bother with more?<p>That said, the project is pretty cool.. it just bugs me a little that people always reach for a full product for small teams with private git needs.
ctvo大约 10 年前
What&#x27;s the value of hosting your own Github alternative as an organization &#x2F; company? Do people have on-premise requirements and don&#x27;t want to pay for Github enterprise? I assume most start-ups don&#x27;t and 25 USD for 10 private repositories isn&#x27;t going to break the bank.
评论 #9211600 未加载
评论 #9211895 未加载
评论 #9212106 未加载
评论 #9212254 未加载
评论 #9213290 未加载
评论 #9211442 未加载
评论 #9211426 未加载
orthecreedence大约 10 年前
Does Gogs support webhook integrations (ie, someone pushed to this repo, notify our team on slack)?<p>I&#x27;m interested in Gogs because gitlab seems to have trouble servicing multiple requests, like when deploying to four servers and they all try to pull code at once (three of them fail). We could have just misconfigured something, but it&#x27;s hard to imagine there&#x27;s a config option for &quot;fall over on concurrent requests.&quot;
评论 #9213555 未加载
codewithcheese大约 10 年前
&quot;But what if you’re writing some Android app, maybe you’re building the next great iOS game or in general, you’re writing some code that you don’t want to be exposed to the general public ?<p>You could certainly purchase access to private Github repositories, but most certainly you’d rather want to invest your capital in more pressing matters.&quot;<p>... BitBucket!
评论 #9211667 未加载
one-more-minute大约 10 年前
I just downloaded this to try it out and it really is insanely easy to get going. Just unzip and `.&#x2F;gogs web`, done. It&#x27;s also clear what settings and data are getting stored where, so moving &#x2F; upgrading &#x2F; removing looks easy.<p>That in itself is pretty compelling, even if it&#x27;s clearly not as mature as the competition yet.
评论 #9211368 未加载
somesay大约 10 年前
&gt; Also, since Google Code hosting project is closing down, you can expect more projects being driven to it.<p>Well, Google Code was never used for private repositories, so that argument is irrelevant for the intended free private repository introduction.
alkonaut大约 10 年前
Still looking for a good locally deployable github alternative that has decent issue tracker (i.e. youtrack&#x2F;jira&#x2F;tfs level of customization and planinng support) AND pull request support. Are there any? Is this it?
评论 #9212865 未加载
评论 #9211615 未加载
评论 #9211726 未加载
评论 #9211780 未加载
Sami_Lehtinen大约 10 年前
One of the reasons I&#x27;m using Bitbucket vs GitHub is that Bitbucket allows free private repositories. Yay, but I love Cogs. Easy to install self hosted version. Sounds perfect for just so many purposes.
zoomix大约 10 年前
That&#x27;s weird. I&#x27;d have thought that &quot;difficult to manage&#x2F;install&#x2F;update&quot; is a used-to-be problem now that docker&#x27;s around..
IE6大约 10 年前
I&#x27;ve used gogs because of it being mentioned here before however I&#x27;d love to see an analysis of the stability of these various git front ends.
enlightenedfool大约 10 年前
Can anyone comment on the T&amp;C on ownership of repo content on these Git hosts? I could not locate specific mention of that on Gitlab.
评论 #9214742 未加载
amree大约 10 年前
Should&#x27;ve include Redmine in the list too
vallard大约 10 年前
seems like with docker to install gitlab now the argument for ease of deployment doesn&#x27;t matter as much anymore.
评论 #9212551 未加载
le_lenny_face大约 10 年前
Anything to discourage a GitHub monoculture is a good thing, IMO.
lugg大约 10 年前
Found an easier to use docker setup [1]. Took around 5 minutes after downloads to setup in a docker-machine vm on a mac. Quite nice little gui, just make sure you change localhost and port to the correct docker vm ip (or hostname if you&#x27;re on a droplet or something)<p>Only commenting because I found their docker setup to be far overcomplicated (uses fig and I couldn&#x27;t be bothered figuring out what I needed &#x2F; didn&#x27;t)<p>[1] <a href="https://github.com/codeskyblue/docker-gogs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;codeskyblue&#x2F;docker-gogs</a>
yAnonymous大约 10 年前
GitLab is doing a good job here, but it&#x27;s great to see there are many good alternatives in the git world.
eugeneionesco大约 10 年前
Is this better than Phabricator?<p><a href="http://phabricator.org/" rel="nofollow">http:&#x2F;&#x2F;phabricator.org&#x2F;</a>