From mboxrd@z Thu Jan 1 00:00:00 1970 From: Katherine Cox-Buday Subject: Re: Is there a way to upgrade only packages with substitutes? Date: Sat, 03 Aug 2019 08:25:02 -0500 Message-ID: <87wofu755d.fsf@gmail.com> References: <871ry38fl9.fsf@gmail.com> <30697aebc00280145b4769566fc9103d@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36543) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htu1y-0004xl-8X for guix-devel@gnu.org; Sat, 03 Aug 2019 09:25:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htu1x-00007H-7V for guix-devel@gnu.org; Sat, 03 Aug 2019 09:25:06 -0400 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]:43643) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htu1x-00006m-3h for guix-devel@gnu.org; Sat, 03 Aug 2019 09:25:05 -0400 Received: by mail-yb1-xb2d.google.com with SMTP id y123so24762938yby.10 for ; Sat, 03 Aug 2019 06:25:05 -0700 (PDT) In-Reply-To: <30697aebc00280145b4769566fc9103d@disroot.org> (znavko@disroot.org's message of "Sat, 03 Aug 2019 04:30:56 +0000") 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: znavko@disroot.org Cc: guix-devel@gnu.org znavko@disroot.org writes: > Hello, Katherine! I fuzzily remember this subject in maillists, maybe > we discussed this feature. And there were instruction of how to define > in `guix package -u` those packages you won't update. > Also I know guix has feature to check substitutes (`guix weather`, is > it?). Yes, sorry, I think I have given the impression that I have had no way of working around this; I do, and I have. It is just an inconvenience. Usually what I do is that when I come upon a package that will take a long time to build, I kill the upgrade, pass the package to `--do-not-upgrade`, and continue. > I think we need a script that will do this: > 1) guix pull > 2) get a list of new packages and dependencies that all will be updated > 3) check which of them haven't substitutes > 4) run `guix package -u` without those packages that have not substitutes. > 4.1) or run `guix package -u` without only those big packages you > defined like 'not to update if they have no substitutes' > > I think this can be done with guix features but this is hard work, not > for usual users. > And sure guix must have this feature. Yes, I think it would be better for users, and on Guix's infrastructure. -- Katherine