From owner-freebsd-ruby@freebsd.org Mon Aug 3 11:45:00 2015 Return-Path: Delivered-To: freebsd-ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9C569B2D72 for ; Mon, 3 Aug 2015 11:44:59 +0000 (UTC) (envelope-from info@toco-domains.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CE715D29 for ; Mon, 3 Aug 2015 11:44:59 +0000 (UTC) (envelope-from info@toco-domains.de) Received: by mailman.ysv.freebsd.org (Postfix) id CBBC39B2D71; Mon, 3 Aug 2015 11:44:59 +0000 (UTC) Delivered-To: ruby@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B188B9B2D70 for ; Mon, 3 Aug 2015 11:44:59 +0000 (UTC) (envelope-from info@toco-domains.de) Received: from toco-domains.de (mail.toco-domains.de [176.9.39.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 748F3D27; Mon, 3 Aug 2015 11:44:59 +0000 (UTC) (envelope-from info@toco-domains.de) Received: from [0.0.0.0] (mail.toco-domains.de [176.9.39.170]) by toco-domains.de (Postfix) with ESMTPA id 2598A1B22847; Mon, 3 Aug 2015 13:44:57 +0200 (CEST) Subject: Re: [Gitlab] Current Status of the port To: Johannes Jost Meixner , Steve Wills References: <55BA3B55.5010000@toco-domains.de> <20150730152241.GC82229@mouf.net> <55BA4532.40107@toco-domains.de> <20150731135045.GA49801@mouf.net> <55BB8272.3060900@toco-domains.de> <20150731143935.GC49801@mouf.net> <55BB8B17.7050509@toco-domains.de> <55BCDCE3.1090608@FreeBSD.org> <55BCF71F.2090407@FreeBSD.org> <55BF31B8.90108@toco-domains.de> <55BF468E.7090909@FreeBSD.org> Cc: ruby@freebsd.org From: Torsten Zuehlsdorff Message-ID: <55BF5438.1040501@toco-domains.de> Date: Mon, 3 Aug 2015 13:44:56 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55BF468E.7090909@FreeBSD.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 11:45:00 -0000 Hello, >>>>>>> I've created a basic working configuration for default. >>>>>>> You just should change the "host" in config/gitlab.yml, >>>>>>> if you want to use something other than "localhost". The >>>>>>> rest should work. But please test carefully, i've done >>>>>>> many changes in the last months. >>>> >>>> I built the packages and installed them in a jail, then >>>> followed the guide. Setting up redis, the database, config, >>>> precompiling assets, etc. went fine. When I tried to startup >>>> gitlab, I get this in the unicorn log: >>>> >>>> I, [2015-07-31T19:00:43.855792 #80415] INFO -- : Refreshing >>>> Gem list >>>> [.. ] >>>> >>> >>> After commenting out line 5 of: >>> >>> /usr/local/www/gitlab/app/controllers/import/bitbucket_controller.rb >>>/usr/local/www/gitlab/app/controllers/import/gitlab_controller.rb >>> >>> I have gitlab up and running. This may be related to some local >>> patches I have to ruby and gem. Anyway, I'll keep testing it. So >>> far so good! >> >> After some testing and research i tend to remove the options and >> enable the providers by default. >> >> The documentation advises the user to enable the OAuth(2) methods >> by simply configure them. Therefore they should already be >> installed. >> >> At the moment you can choose between MySQL and PostgreSQL, but the >> project highly advises against MySQL. >> >> In conclusion i would remove all options, make the OAuth providers >> installed by default and remove the MySQL completely. > > Assuming BitBucket OAuth is installed, can people login to my > (hypothetical) GitLab installation without further configuration or > explicitly enabling it from my side? You need explicitly enabling it in config/gitlab.yml. Gitlab needs the Gem installed, but for further use you need explicit configuration. Its commented out by default. >> >> Is somebody against this approach? Otherwise i will try to get >> this ready today/tomorrow :) > > /holds hand up up/ > > > Personally, I like PostgreSQL much better than MySQL, but for the > port, I don't think we should force users to give up on their > MySQL/MariaDB installations just because. There are a lot of > FreeBSD+MySQL/MariaDB users out there. Thats the case why i originally added to option. But i changed my mind after reading this again and again: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/database_mysql.md This implies that the usage of MySQL will come with various problems, which won't be fixed. > Could you just make postgres the default one, so that the packages > are built with it and everything else needs extra work for those who > desparately want it? Yes. I removed this an hour ago for further tests. But of cause i can bring it back. Do you hold your hands still up? Then i will bring it back. Greetings, Torsten