From owner-freebsd-ruby@freebsd.org Mon Aug 3 10:46:50 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 395BF9B1BA9 for ; Mon, 3 Aug 2015 10:46:50 +0000 (UTC) (envelope-from xmj@freebsd.org) 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 1F3E9893 for ; Mon, 3 Aug 2015 10:46:50 +0000 (UTC) (envelope-from xmj@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1C8A49B1BA8; Mon, 3 Aug 2015 10:46:50 +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 0240C9B1BA7 for ; Mon, 3 Aug 2015 10:46:50 +0000 (UTC) (envelope-from xmj@freebsd.org) Received: from dd16522.kasserver.com (dd16522.kasserver.com [85.13.137.124]) (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 8992D892; Mon, 3 Aug 2015 10:46:49 +0000 (UTC) (envelope-from xmj@freebsd.org) Received: from mx12.chaot.net (65-251-190-90.dyn.estpak.ee [90.190.251.65]) by dd16522.kasserver.com (Postfix) with ESMTPSA id 6034C4560FE; Mon, 3 Aug 2015 12:46:40 +0200 (CEST) Received: from mx12.chaot.net (localhost [127.0.0.1]); by mx12.chaot.net (OpenSMTPD) with ESMTP id 41e70789; Mon, 3 Aug 2015 13:46:39 +0300 (EEST) Message-ID: <55BF468E.7090909@FreeBSD.org> Date: Mon, 03 Aug 2015 13:46:38 +0300 From: Johannes Jost Meixner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Torsten Zuehlsdorff , Steve Wills CC: ruby@freebsd.org Subject: Re: [Gitlab] Current Status of the port 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> In-Reply-To: <55BF31B8.90108@toco-domains.de> Content-Type: text/plain; charset=windows-1252 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 10:46:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Moin, On 08/03/2015 12:17, Torsten Zuehlsdorff wrote: > Hello, > >>>>>> To setup GitLab follow the quide: >>>>>> https://github.com/t-zuehlsdorff/gitlabhq/blob/master/doc/install /installation-freebsd.md >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> 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 >>> /usr/local/www/gitlab/app/controllers/import/bitbucket_controller.rb :5:in >>> >>> >>> `': >>> uninitialized constant Import::BitbucketController::OAuth >>> (NameError) from >>> /usr/local/www/gitlab/app/controllers/import/bitbucket_controller.rb :1:in >>> >>> >>> `>> (required)>' >>> >> >> 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? > > 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. 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? > > Greetings, Torsten _______________________________________________ > freebsd-ruby@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ruby To > unsubscribe, send any mail to > "freebsd-ruby-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVv0aJAAoJEPyeKTcbGw0L+6sH/ji2gc/+3XVu+2feOl6Jy0l7 7x5Eej8VlZNV6FgceX//nUg0I+x2PtdVL0NESm8Od0OEwOyY4ofpw8EyP7zdfy5E yXINU5q9p96E8EX+qGb5Ehpep2C9sHE/uaIXergIg9NZ4Xem/8XK5dwjicuH0f+Q Q/mdYr/TZ17ZfTSf9H+blabVj28APnp2uUIZcdaC9VDtuGTYqeEq9MO/W4fh17I4 MGWjVGoKqmqCHbaH7ZmT28VY7SLO2RyR1YepH2wpc8asrfqtlefKTTXDo5tNALD+ nwafH3Pssqi3Zs1F6Fa/k9n/+m3U0Z4YeWKR7u/OOG8PF6zGe7mkB4vaCr1u25I= =IY8i -----END PGP SIGNATURE-----