From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#38529: Make --ad-hoc the default for guix environment proposed deprecation mechanism Date: Fri, 20 Dec 2019 22:12:17 +0100 Message-ID: <87v9qapuq6.fsf__49965.6597663247$1576876437$gmane$org@elephly.net> References: <87eexeu8mo.fsf@ambrevar.xyz> <87k16vdise.fsf@gnu.org> 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]:48210) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iiPa3-0003J8-6C for bug-guix@gnu.org; Fri, 20 Dec 2019 16:13:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iiPa2-0003HJ-0Y for bug-guix@gnu.org; Fri, 20 Dec 2019 16:13:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iiPa1-0003GP-Ra for bug-guix@gnu.org; Fri, 20 Dec 2019 16:13:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iiPa1-0000Cy-Ll for bug-guix@gnu.org; Fri, 20 Dec 2019 16:13:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Konrad Hinsen Cc: Guix Devel , 38529@debbugs.gnu.org Konrad Hinsen writes: >> Maybe I miss a point. It is not: "watch out, this will do something >> else in the future" but "watch out, this was doing something else in >> the past and the change happened the in ". > > Concrete example: I am writing a tutorial about using Guix for > reproducible research. It shows several uses of "guix environment", some > of them without '=E2=80=93add-hoc' or '=E2=80=93inputs-of'. I know my exa= mples will > cease to work in a few months. What am I supposed to do about this? I wonder if we should simply bump the version number to indicate that this is a breaking change? 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 there=E2=80=99s a real maintenance cost (it seems small in this case), but configuration files can be used for changing new defaults. -- Ricardo