From owner-freebsd-ruby@freebsd.org Sat Mar 26 12:35:21 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 C2999ADD8F1 for ; Sat, 26 Mar 2016 12:35:21 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id A368D1F75 for ; Sat, 26 Mar 2016 12:35:21 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by mailman.ysv.freebsd.org (Postfix) id A2BF8ADD8F0; Sat, 26 Mar 2016 12:35:21 +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 A225FADD8EF for ; Sat, 26 Mar 2016 12:35:21 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 674581F74 for ; Sat, 26 Mar 2016 12:35:21 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by mail-qk0-x231.google.com with SMTP id x64so16358616qkd.1 for ; Sat, 26 Mar 2016 05:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunpoet-net.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CDvbGBvejoMbJZeZLl/MzSJQ1vxDym8zQeqG0+cuszo=; b=krMsJVSwWM9z8USvXMVDv8QHECDxIgwXu4KosYlpDDGve1K3E96I2ML4vH+IZgdec5 Eh1wMwAs6THnxNUTXxp3DSJCTDQ9dKUw5jY94lFHhRnRF38z18i3Qu9l5fvf41vXNJv3 1TMDsJzu8DvOMDQCjIG1P+3czbI1qrqHtXOSUiX471oJxezkgGcpLQ4uJhEPcgXou0ZA eGlgBOA2IeC2kXR2f07S7pFsBWkmOnjtpE9UohRXD9LKcCtdmifc5olH7z/mYojObJ4K bihwV23/cVU9Sqro6iNLP9+76+PcRkSsNK5OYUZApT80TEVA2oUxEyYb1nXO+FaD2Ptt A6UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CDvbGBvejoMbJZeZLl/MzSJQ1vxDym8zQeqG0+cuszo=; b=PTaRIep/oVktIJDctAGEC0tO/AgR/BWtm8zmSjMSWMnLv/vGXDs5H2f+5OB7moPucb MWCp58fKlvZr0O6TyXgw2qoQYVZWumNVCS+5BXrE7hymjzXSheiTPzPCwEQ/kt8rDhMv BynP0w0Hrs6I+OA908nBtiwWSed5D+yANlJHnFeKFxjRX3REzMLigdhpwTwvdVtdDXfG Wx9etf59qDDaSdgGCkPT6tNy9oMG4jVFYfzfP2MYttcALVYBhVrJzrT4YOLItUprFoPy sY/MZbwx5NTHl6s2VIApFmUE/oTwjEQZN+xzEa6ADb0vNlhHgfONDiZ8/5SeCh/QaHAd wj5w== X-Gm-Message-State: AD7BkJJiSyYH/GVWfMbp+33kVZ4o9L08PsWXj9/R0jiSvBugL58O+RmNPwLw6yLGEe/pWlXIsJcqVe4FiR8M3A== X-Received: by 10.13.199.132 with SMTP id j126mr9371737ywd.124.1458995720201; Sat, 26 Mar 2016 05:35:20 -0700 (PDT) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.13.217.6 with HTTP; Sat, 26 Mar 2016 05:34:40 -0700 (PDT) In-Reply-To: <56F67DD3.7090705@meixner.dk> References: <56F67DD3.7090705@meixner.dk> From: Sunpoet Po-Chuan Hsieh Date: Sat, 26 Mar 2016 20:34:40 +0800 X-Google-Sender-Auth: OH1B2tbGQ9CMfV-r9qi_t5nf0Eg Message-ID: Subject: Re: REMINDER: Ruby's pessimistic versioning, Gemfile/Gemspec and random updates To: Johannes Jost Meixner Cc: ruby@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:35:21 -0000 Hello, Thanks for your reminder. I know pessimistic version and I always check all dependent ports before committing. It would be helpful if you point out exactly what port is broken and we could fix it ASAP. Regards, sunpoet On Sat, Mar 26, 2016 at 8:17 PM, Johannes Jost Meixner wrote: > -----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----- >