Date: Sat, 26 Mar 2016 14:17:23 +0200 From: Johannes Jost Meixner <johannes@meixner.dk> To: sunpoet@FreeBSD.org Cc: ruby@freebsd.org Subject: REMINDER: Ruby's pessimistic versioning, Gemfile/Gemspec and random updates Message-ID: <56F67DD3.7090705@meixner.dk>
next in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56F67DD3.7090705>