From owner-freebsd-ruby@freebsd.org Sat Mar 26 12:17:34 2016 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 7DB05ADD4CD for ; Sat, 26 Mar 2016 12:17:34 +0000 (UTC) (envelope-from johannes@meixner.or.at) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE1E1359 for ; Sat, 26 Mar 2016 12:17:34 +0000 (UTC) (envelope-from johannes@meixner.or.at) Received: by mailman.ysv.freebsd.org (Postfix) id 68995ADD4CC; Sat, 26 Mar 2016 12:17:34 +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 683C0ADD4CB for ; Sat, 26 Mar 2016 12:17:34 +0000 (UTC) (envelope-from johannes@meixner.or.at) 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 33B7A1356; Sat, 26 Mar 2016 12:17:33 +0000 (UTC) (envelope-from johannes@meixner.or.at) Received: from mx12.chaot.net (179-252-190-90.dyn.estpak.ee [90.190.252.179]) by dd16522.kasserver.com (Postfix) with ESMTPSA id C6FC2456094; Sat, 26 Mar 2016 13:17:24 +0100 (CET) Received: from mx12.chaot.net (localhost [127.0.0.1]); by mx12.chaot.net (OpenSMTPD) with ESMTP id 2cd4d156; Sat, 26 Mar 2016 14:17:23 +0200 (EET) Message-ID: <56F67DD3.7090705@meixner.dk> Date: Sat, 26 Mar 2016 14:17:23 +0200 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: sunpoet@FreeBSD.org CC: ruby@freebsd.org Subject: REMINDER: Ruby's pessimistic versioning, Gemfile/Gemspec and random updates OpenPGP: id=C18F24928F1D36EA4FA0B2EF496A9D706250D402 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2016 12:17:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 As you know there's work going on with respect to bringing in Gitlab into the portstree. Now, ruby gems being what they are, most vendors use pessimistic versioning by default, to lock their gems to a specific version number. Often they're being locked to a specific patchlevel -- "~> 3.0.0" -- and hence even any MINOR update of a port that this gem depends on breaks it. It seems to have fallen in flavor to randomly update all the things, which is good in a way, but for the purpose of maintaining "important" software this creates a painful amount of overhead. Please make sure to ALWAYS test if a port you commit has other ports depending on it. On the danger of repeating advice I was told by my mentor at some point: *** BUILD TESTS ARE NOT ENOUGH. *** FreeBSD will build rubygems into ports whether gemspec/gemfile dependencies are satisfied or not. For visualizing the dependencies, freshports.org is a good source as far as default options are concerned. If you do not want to functionally test all the reverse dependencies of a port, *** DO NOT TOUCH IT ***. Thank you, Johannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJW9n3PAAoJEElqnXBiUNQChWcP/RDeM//UKU1dLOwqjwDh2Lsv pKCSt8ghQW01u2NQFEHpvnyKfYA2hImsUM9Cu390XkdpoqUgzLoi35ZwwBD0Rph8 lM+y/jTy4JUg1wkRne183bocI6ctneFQQi7zD1x4dtDQIiK5HjUD0nGz0ENBEkjE MrtzCnievSUYatBDwDJj5eK7D4E5EI4rPLM2zceAt8zQpD3yL/EPtwTSWKw8NYCI PPaZbIAXJ76mDRUy7wBxVFYPUKtOpJeUoY7xRa4iYtuasd3vaPgBkgTklhcIkmuz fCg0L6fkvCHvENnxR+kfg2RhvmDDly7E3o+cugLaVz40aTvGWt2EFJ64wzF6KzCY XDY+dNyiryDL3yIUIOda/oFZIt8Fhgj91/SSvZaeUWdIK3KGjc0TZC2/VWrCCiN/ 3MIH7KJYHOxPrcwdyA/75qv4xfxbZIXK7AGHOOBhWfh2cGCaeTIDgfoKQ4UdizBS zOwzgEJ4yC5ObxYGDD0GUKH13S0zABtq5iRYiuFQzGvJw5HlLkIroDf6rRZzm8W0 yDkTnU0IwHYpUeOGo6ZXDA23yHc25lei6fu1zX92Ck7wMsqpOYzCB/tnnFT48UZ5 /oyEweYu3VXn2hxAB4TutnqyHPO/3p+xXNRdHbiuzR81jIdslvP7S1GnzoKXy+iS JfSl+S/MYhSbSg0GMqc/ =MIIU -----END PGP SIGNATURE-----