From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 19 08:24:11 2019 Received: (at 37443-done) by debbugs.gnu.org; 19 Sep 2019 12:24:11 +0000 Received: from localhost ([127.0.0.1]:55248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAvTn-0004Wk-8X for submit@debbugs.gnu.org; Thu, 19 Sep 2019 08:24:11 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:39411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAvTj-0004WV-RC for 37443-done@debbugs.gnu.org; Thu, 19 Sep 2019 08:24:09 -0400 Received: by mail-qt1-f195.google.com with SMTP id n7so3918687qtb.6 for <37443-done@debbugs.gnu.org>; Thu, 19 Sep 2019 05:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=w0FfppTCRkXIgoofTxk2Gz/EiYAVFipQOfRxwn4crv4=; b=f4YWxCffxPoTCpp71jVg4dXVR/vfxfmjugPaqrlvrfhOyKisK+JFSZXako4X6z6dJa GzysfkJ1DNCregk7Z6ZFZfqss+2wusBxsPwhbXIzm0hYba37zU5IXwBvZ55rpCdcS+Nc yeFZl9YW3C8A94zYdphHX8GwbY3hfgH06E2U4PL6o2FvSgIm4huuMwnoMmXEUomZNkwG l/zFB0kJL2KqnFUIsi4d6MGFU6Qk/6earNsLVfokFhh60bwhRt7nzCEYKU3RM1XPMwyw 0rXoxfSakG0Pg685mNHWtgk3regrj0T6oH5HGgUdlG66/2yT7Za74RYeyPfMsuxlG/6R +oxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=w0FfppTCRkXIgoofTxk2Gz/EiYAVFipQOfRxwn4crv4=; b=K8gtfNiAuUmwETiHIp8hWEX1E12Mezyo1LLzYBH2zItj2iD8mXwImaoBzCoqadSgvg V4eU/B2T6AiaWdj2bQS/G3q4JwfNrGKeOWrPuZtdIrDbO6lFPeSXBBqcH4oBsk0OpgS1 IppLtr/5EA1x7x1sGL2oJQ2CE7x6zPlChR7P3kX0Z3ZBRZud1Qb90zlIzNshc+w67lu0 KT9OfqKcdnLVAp5I/eC4wGCfy95wj0BHIkdVCdhFlckKLRvz1UzHS8mrgBvgKIY9corl xGaEMPRGOxrxxZB/SxwOUe/bJHoYP49pZp9uY3uwa8o6jgkApKUBKuqz+hm0cxkDjBIV vdKw== X-Gm-Message-State: APjAAAUX4pA+G97VfTcV3/qfMDdkPiIXc/X4Weh2lsG+oyIrZlHeUB5a ZS7r7MLdzJiU96+FrCtYAhkMSoN5apPMglxukpY= X-Google-Smtp-Source: APXvYqxuFHmGYfmvybkLjvd4zke+zMwzoii8luA5rRXK58jSnWVUQ3EqDXQtWj5BQ5nZ8nct13QjftCDwanMxshfLeA= X-Received: by 2002:ac8:428e:: with SMTP id o14mr2976875qtl.186.1568895842370; Thu, 19 Sep 2019 05:24:02 -0700 (PDT) MIME-Version: 1.0 References: <87d0fx71p2.fsf@gnu.org> <87v9toy9wh.fsf@gnu.org> <878sqk33g3.fsf@gnu.org> In-Reply-To: <878sqk33g3.fsf@gnu.org> From: zimoun Date: Thu, 19 Sep 2019 14:23:51 +0200 Message-ID: Subject: Re: [bug#37443] [PATCH] scripts: pull: Add options for generation management To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37443-done Cc: Konrad Hinsen , 37443-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, 19 Sep 2019 at 13:57, Ludovic Court=C3=A8s wrote: > > Konrad Hinsen skribis: > > > Ludovic Court=C3=A8s writes: > Also, now that we finally have =E2=80=9Cguix install=E2=80=9D & co., whic= h is really > what users expect, I feel less of an incentive for a catch-all =E2=80=9Cg= uix > profile=E2=80=9D command. > > Maybe we need more of these aliases, though, like =E2=80=9Cguix show=E2= =80=9D. "guix show" would be nice. But I did not feel a lot of enthusiasm about it. ;-) https://lists.gnu.org/archive/html/guix-devel/2019-07/msg00264.html Something nicer should be to have aliases defined by the user. > > - Everything that operates on "guix" (the software, including the > > package definitions) starts with "itself": > > > > guix itself update (today's "guix pull") > > guix itself roll-back > > It=E2=80=99s a another instance where the categorization you propose make= s sense > to me, but as a command I=E2=80=99d have to type, it=E2=80=99s not someth= ing I like. Me neither. :-) And "guix itself" fixes implicitly the profile to ~/.config/guix/current and maybe people are doing "non-conventional" stuff as "guix pull -p ~/.guix-profile --list-generations". "guix pull --list-generations" should be aliased to "guix log" "guix pull --delete-generations" -> "guix log --delete-generations" "guix pull --switch-generations" -> "guix log --switch-generations" "guix pull --news" -> "guix log --news" All the best, simon