From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Odd behavior with --dry-run and --upgrade Date: Sun, 24 Jul 2016 11:49:29 +0300 Message-ID: <87h9bfcteu.fsf@gmail.com> References: <87y44sqtiw.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:4830:134:3::10]:45873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bRF6O-0007B9-82 for guix-devel@gnu.org; Sun, 24 Jul 2016 04:49:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bRF6K-0006KR-69 for guix-devel@gnu.org; Sun, 24 Jul 2016 04:49:36 -0400 In-Reply-To: <87y44sqtiw.fsf@gnu.org> (Roel Janssen's message of "Sat, 23 Jul 2016 17:11:03 +0200") 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: Roel Janssen Cc: guix-devel Roel Janssen (2016-07-23 18:11 +0300) wrote: > Dear Guix, > > For some time now, running `guix package --dry-run --upgrade' results in > build actions involving grafting. For a dry-run, I find that really > odd. I believe the correct behavior should be what can be achieved > with: `guix package --dry-run --no-grafts --upgrade'. I'm totally agree with this; nowadays I always use --dry-run with --no-grafts option. As a user I expect that --dry-run means no building at all. BTW it's not just about =E2=80=98guix package --dry-run --upgrade=E2=80=99,= it relates to all commands, for example =E2=80=98guix build --dry-run foo=E2=80=99, et= c. OTOH, if a future =E2=80=98--dry-run=E2=80=99 would mean what =E2=80=98--dr= y-run --no-grafts=E2=80=99 means now, than how to achieve what =E2=80=98--dry-run=E2=80=99 means now? = Or rather: does anyone use just --dry-run (without --no-grafts)? Is it really useful? --=20 Alex