From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: bug#38529: Make --ad-hoc the default for guix environment proposed deprecation mechanism Date: Sat, 21 Dec 2019 16:18:29 +0100 Message-ID: References: <87eexeu8mo.fsf@ambrevar.xyz> <87k16vdise.fsf@gnu.org> <87v9qapuq6.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49711) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iigWa-0002vE-SS for guix-devel@gnu.org; Sat, 21 Dec 2019 10:18:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iigWZ-0006qB-NA for guix-devel@gnu.org; Sat, 21 Dec 2019 10:18:36 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:36027) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iigWZ-0006dp-03 for guix-devel@gnu.org; Sat, 21 Dec 2019 10:18:35 -0500 In-Reply-To: <87v9qapuq6.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: Guix Devel , 38529@debbugs.gnu.org Hi Ricardo, > I wonder if we should simply bump the version number to indicate that > this is a breaking change? That's a possibility, but who ever looks at Guix version numbers? > Another more difficult option would be to do what responsible API > developers on the web do: to version their API and to make the API > version selectable. I don=E2=80=99t know *how* to do this elegantly, and That's an interesting idea which would also take care of similar situations in the future. One way to implement this is to have executables "guix1", "guix2" etc. Most users would then define an alias "guix" for interactive use, but hopefully script authors would use the versioned executables. Cheers, Konrad.