From debbugs-submit-bounces@debbugs.gnu.org Tue May 03 13:38:23 2022 Received: (at 55242) by debbugs.gnu.org; 3 May 2022 17:38:23 +0000 Received: from localhost ([127.0.0.1]:40977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlwTf-00017h-8o for submit@debbugs.gnu.org; Tue, 03 May 2022 13:38:23 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:45886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlwTd-00017Z-NE for 55242@debbugs.gnu.org; Tue, 03 May 2022 13:38:22 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id SHeL270024UW6Th06HeLpF; Tue, 03 May 2022 19:38:20 +0200 Message-ID: <76510182d505978ad41f5bff88bf7eee7c289558.camel@telenet.be> Subject: Re: [bug#55242] [PATCH 07/10] guix: import: go: More resilience wrt network errors; add logging. From: Maxime Devos To: Attila Lendvai Date: Tue, 03 May 2022 19:38:19 +0200 In-Reply-To: References: <20220503114301.9524-2-attila@lendvai.name> <20220503114301.9524-7-attila@lendvai.name> <7974a00256e3ee153507f77d6b0a405473e9bbc4.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-O4iBwFxcPPomiWsIm2et" 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=1651599500; bh=cqvgvTVY7HwmcdQB+vQfgfzilneY0VsBYKiKCtrD+9c=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=YosGJ4fbPzzSuaQ8WCtYz0fKpNlmHpjO2wrzVzaLtev0IIDUQiFNmFeTfP6bw0seI TP2cEGjNFA8EhOiw2wiuSHkdSxh1Fmsic/GXjdIkEIqMczM/QiUEXTEdi3AWQ4GiDE 4eZcejJedMghnXbcqshFOCrdo6S1QT7Fd3ckTStRo/6EwaG985PR/8CLxxpPpYn33N MdioObi4MQeNXp7TWZhI5/KgAn0kcEILUtGoyYgwlsNrtDF85PclkKbB3ir6/HvyDc d2rpOKAS3G0q7/l+QRevju2Tnm4AxNqxJG+mntBuMeRF3UU/CEaS1Ai9qcOv2XBxjx nEQGuD3R5cImA== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 55242 Cc: 55242@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 (-) --=-O4iBwFxcPPomiWsIm2et Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attila Lendvai schreef op di 03-05-2022 om 17:00 [+0000]: > a possible scenario: a large import can take several minutes. > if there's a transient network error, then this way it may finish > with 99% of the packages, and the rest can be restarted by hand after > inspecting the log output. Catching (presumably) transient network errors and reporting them with 'report-network-error' and the like: no problem. > another scenario is that the importer is simply buggy, ... but if there's some kind of bug,=C2=A0why not just report and fix it? > and the user gets 99% of the packages imported, and has to do only > one package by hand. If the bug is fixed, then no packages need to be done by hand and other people will benefit as well. Whereas if it's only for 1% and the backtrace only happens for recursive import and not for non-recursive or manual import, then I'd think that the chance that the user actually reports or fixes the bug decreases a lot. Greetings, Maxime. --=-O4iBwFxcPPomiWsIm2et 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+4iGRcl7gUCYnFoixccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7oCtAP44EseNJfpxRQyMFCDiGdUGPdKS d+kjKCQOEvB0VdLomAD/QPt1XZ8+ZdIPgOBkZf77VpdWu8ZbEtIOzS4foNy31g0= =xsbZ -----END PGP SIGNATURE----- --=-O4iBwFxcPPomiWsIm2et--