From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E4B13138306 for ; Wed, 13 Jul 2016 18:04:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D29921C26D; Wed, 13 Jul 2016 18:04:45 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D271F21C097 for ; Wed, 13 Jul 2016 18:04:43 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id f65so39012723wmi.0 for ; Wed, 13 Jul 2016 11:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HvQeH1OQGWTbhrbuJTGA+7oWpFOHAHq5NYMwYBDFd6Q=; b=G9blx0lMlJrV4LvucPgPBexOQvTQbm3zM9zHHXSYsT8rgCn1+SziqJRUofrp74Jjm/ yGWNi6QOI7TxtTd63RWJ3NAq+WZFguVNCDlAeGcw3ZJnX36wzB7qQEW++nh62tdBVBT/ z65r9dpLKBZSJtNTV8j0qfu3VOsYA8udhV48wXPNjNDtCNxlLMo5ESJzZUDtYWNhR5mj nuqhNKH9fAY5KhP8jW8f9cFWju1A23ll71HgdGpCG+l7x+XyqpXc4bGx6FlQzFQ2MngV ZgAd6Zbd4KztnfLu0uc1904r77havxiIvEmVrdk7k6JzIjBTzQE0S8O4OI1T79CcWIng aLUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HvQeH1OQGWTbhrbuJTGA+7oWpFOHAHq5NYMwYBDFd6Q=; b=BzAy95QoLj8xSlpgfXzw+SRzMtIOpqnNSCVAJB1i5cTlqFMAPrfgvpvo+pUTQeRZIK a9XWnqhpKHVIqIDCWMfI54d+KKZ3cWBNs+aXr+ivT5EDrzEOAkqV8K7YxBXu4DTg4u1p J2icR0rO1C3pJmP0lZd7g+ArDSD9UuxhbVr6hq2/WkpM97zNEoHcfM/+9q01OddJyysX y9J1OzMg7hVK+w+m9d64lW8qxIMuEHXBkGchklZRyb59Lr/CSEQdqferjyonIIpq+gQC GnkPbRFsWxrAJW6vi0vu3Z7BZVV+sGH5OcvxYzvgKxV2F7pTUpqAB3TqAzxpUibXcE+2 DjKA== X-Gm-Message-State: ALyK8tLV6vb6NsLIaReY62g7FUiE+EzprlQYOPi1Iei0iSaD3cszw/juGXDywIw6dkG8Gg== X-Received: by 10.28.141.4 with SMTP id p4mr30380004wmd.46.1468433082112; Wed, 13 Jul 2016 11:04:42 -0700 (PDT) Received: from gentoo-tp.home ([2a02:908:f324:d600:acf0:3a73:fbab:148e]) by smtp.gmail.com with ESMTPSA id d80sm9861881wmd.14.2016.07.13.11.04.40 for (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Wed, 13 Jul 2016 11:04:40 -0700 (PDT) Date: Wed, 13 Jul 2016 20:04:45 +0200 From: Jeremi Piotrowski To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gitlab experiences Message-ID: <20160713180445.GA7596@gentoo-tp.home> References: <0b2967a7-68da-b155-79a7-49fa758f3c92@ramses-pyramidenbau.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0b2967a7-68da-b155-79a7-49fa758f3c92@ramses-pyramidenbau.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: 1641f39a-c4ce-4694-85c4-198cae886f87 X-Archives-Hash: db1c710fe691a9f8326fc838160dd4cc On Wed, Jul 13, 2016 at 03:19:00PM +0200, Ralf wrote: > Hi James, > > On 07/13/16 14:44, James wrote: > > > > Has anyone attempted to install a self hosted gitlab on gentoo server(s)? > > A small gentoo cluster/container setup? Using a Distributed File System, > > like cephfs, orangefs or other DFS? > I recommend to deploy gitlab inside a Debian LXC/Docker container as > Gitlab guys provide and maintain precompiled .deb packages. You do not > want to compile it on your own as it comes with a load of dependencies. > And once dependencies change you really might run into trouble with > gentoo. Gitlab isn't just a tiny one-click-and-it-runs webservice, it's > a whole ecosystem. I would deploy it with docker. The gitlab guys push official images of the main gitlab app[1] and CI runners[2] to dockerhub. That should be the easiest path to getting it up and running in no time. That being said, gitlab does not really play well with clustering in general. I don't think the main part of the app does any kind of horizontal scaling (gitlab.com is hosted on a single server) so you need a fairly beefy server. And while storage should be entirely up to you (the app _should_ be indifferent to what you use) most folks appear to run with local disks or NFS. > > > > Any experiences with gitlab are most welcome for comment, good or bad. > Yes. Bad. Slow, unreactive, eats tons of resources. Doesn't scale with > large repos (except you have unlimited access to hardware resources). A > Linux kernel git mirror finally crashed it. I can second that - it's slow and load times are long even when performing the most basic operations such as opening a small file or viewing a single commit (you _will_ notice - it regulary takes several seconds). Mind you the gitlab folks are working on improving this since several releases. As a user, another issue I have with it is that the merge request/review interface is just terrible. There is _no_ merge request versioning, so either you submit your code in perfect shape at first try, or any change (amending/rebasing/merging) will cause the changelist to be duplicated many times over. You also lose track of the review history instantly - old comments are either concealed or swallowed. There is also no CLI utility to automate common review-related tasks (submitting/responding to review) so you are forced to do everything over the slow WebUI. If you care at all about the codereview aspects, I would recommend gerrit or phabricator. Both have cli utilities (git-review and arcanist) and while some claim they are ugly (heard that one especially about gerrit) they are 100x more practical. If you only care about having a repository browser then gitlab can work but there are simpler apps out there (gogs/pagure). [1]: https://hub.docker.com/r/gitlab/gitlab-ce/ [2]: https://hub.docker.com/r/gitlab/gitlab-runner/