From debbugs-submit-bounces@debbugs.gnu.org Sat May 14 03:09:11 2022 Received: (at 55242) by debbugs.gnu.org; 14 May 2022 07:09:11 +0000 Received: from localhost ([127.0.0.1]:45637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npltm-0003Ww-RW for submit@debbugs.gnu.org; Sat, 14 May 2022 03:09:11 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:38184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npltk-0003Wn-PX for 55242@debbugs.gnu.org; Sat, 14 May 2022 03:09:09 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id WX962700V4UW6Th01X97YG; Sat, 14 May 2022 09:09:07 +0200 Message-ID: <0bd2cbbbca8758572a906796fa1819b0c3d7e945.camel@telenet.be> Subject: Re: [bug#55242] [PATCH 01/10] guix: import: Print the number of packages at the end. From: Maxime Devos To: Attila Lendvai , 55242@debbugs.gnu.org Date: Sat, 14 May 2022 09:09:02 +0200 In-Reply-To: <20220503111620.3139-1-attila@lendvai.name> References: <20220503111620.3139-1-attila@lendvai.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-o5hwpcEG7MiZ9ZFrTmT0" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1652512147; bh=vUeBAaLPpWv69XLGXJ9QCCHG43JuqmlA2eQ1Yoc4daI=; h=Subject:From:To:Date:In-Reply-To:References; b=hk6/vK6/+SDB4I6SyqcOHrmxIHZr+34Js+emGmV2VJOd/6Gc7zLIcnJz9bjpK7bKZ NT5oCvTBNsCHQEUOmXfbQhbiOtGCreV5nJpS9x8iGB1TWpUjXjxV2X0y4CqrCG59Ne 7QcJCWQ5d779aXxnkdwEZfDmBzk1y5KUtuMVxGMiOTBnJlXCGuQIq9A3fb3j9plCiv WzHgPSPsRY2YotOQvvEMj1qdCPdGE2hTd/UzBG5IzlpXv7zl+u4pp7eC/fFXx3Pkza fayEbqMpH30CL8HCjywAtJlYgNTallBZFt0pXY0tlSCIamZwWR0qGXDNV9t2tBhsxH DaZFE1YghxieQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55242 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 (-) --=-o5hwpcEG7MiZ9ZFrTmT0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I forgot that "guix build" already does some debug logging when passed "--verbose" or "--debug". Maybe "guix import ..." can gain a similar=C2=A0 system. I don't know if the internals are reusable though ... (I'm not convinced that we need logging for "guix import" but I'm not convinced of the contrary either, and there is already some kind of debug logging system elsewhere.) > here's how i was working on this codebase: >=20 > RUN=3D12 > clear && ./pre-inst-env guix import go -r --pin-versions =20 > github.com/ethersphere/bee@v1.5.1 > >(tee -a > ~/workspace/guix/importing/bee-run-${RUN}.scm) 2> >(tee -a > ~/workspace/guix/importing/bee-run-${RUN}.log >&2) && beep >=20 FWIW, for these kind of things I do while ./pre-inst-env guix some-command; do echo 'Next'; done and for your case (broken output without errors), maybe while true; do echo 'Next run' >> the-log-file && ./pre-inst-env guix som= e-command >> the-log-file; done Greetings, Maxime. --=-o5hwpcEG7MiZ9ZFrTmT0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYn9VjhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gELAP936Cyd3oOg6VZlpzAzmsjxK9PH Kc8j07HJYpSVepmGfwD/aSFI7+wiWBHcAfVePqPrmRTggATJ2yfHExkmKEAPrwI= =5Jil -----END PGP SIGNATURE----- --=-o5hwpcEG7MiZ9ZFrTmT0--