From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qIaJOMrhmWMTLwEAbAwnHQ (envelope-from ) for ; Wed, 14 Dec 2022 15:46:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gGmIOMrhmWPiQQEA9RJhRA (envelope-from ) for ; Wed, 14 Dec 2022 15:46:34 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C40A92F2EF for ; Wed, 14 Dec 2022 15:46:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5Sac-0006Bx-Io; Wed, 14 Dec 2022 09:18:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5SaX-0006A5-HT for guix-devel@gnu.org; Wed, 14 Dec 2022 09:18:28 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5SaS-0005Rr-VN for guix-devel@gnu.org; Wed, 14 Dec 2022 09:18:24 -0500 Date: Wed, 14 Dec 2022 14:18:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail2; t=1671027490; x=1671286690; bh=x5+e9I6QoW0XcBtfZywQ+gu/qKW+Pvvi0rvffeX9RJ4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=JvDMW4tvjFQo+6YRxf22a57ULuox9DNqFmQNeN4rbrXnoa8Wdddt8Y1BaZ5bXWh8m 800LG/IsjUkTtuAsYsBHQXU2jhNm6jrLv4I47diKsrS+HOqxiBaKg038KPBS3WifHs JAOvhjcaW6OCkQqy+RhcNEwg+/RCdfyTw7DdhMceLEKiF2DPm/rHv5uCKviPMna+qL pnnz1uw/wkB0sw5tahfvFAkr2unkFxhKbc7f37UU7pYhzsvFfIJ3OOeQwjy1EB0Oa+ hO211YGpPxhmbjB5wzs3gLNd6uKaqBj19bvrxqUQY9eMUtVdgrTNNI/S7qL06+4nkV Nnyt6NJ00iFzQ== To: Ricardo Wurmus From: Attila Lendvai Cc: Guix Devel Subject: Re: shepherd: prefix output with service names? Message-ID: In-Reply-To: <87tu1ytgdq.fsf@elephly.net> References: <87tu1ytgdq.fsf@elephly.net> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671029194; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=x5+e9I6QoW0XcBtfZywQ+gu/qKW+Pvvi0rvffeX9RJ4=; b=SHo4s9eTGnRZa8u/iCTFmjlffoJ61yWweRr0yHxN0FZpCWmxnmq6PQ9vyx2wrfYv3wfY/i ckFsLCWMr8xMB/vG4dN03KHQXOlSoSGnApsQEbnSST2+bGbrZUSiVxprCypmu5nmYGstFm ruR7kqs1Uvwl/FgoG1NKy0DdJa5G1eZUgPxE35tCBqdSI6YghWAAyGL0c6YcQ0bfaaLkfm x8bKtofK8Ig/Xzc/NFWgIVXN3xbPdxiEFI26MASZVMt8cr2RFS0+l1YRc6OKB5Y3JRIUQp K09kLfw+hOvbh4AUmeIISgayqHOWhhVb+ANCSQy8Q7OlRcOEY2k48Qs94lLCEw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=JvDMW4tv; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671029194; a=rsa-sha256; cv=none; b=ibqVZ+0W0auT0Z2Xh8pKUEMaXtU4ZGmNGajCkvJoild83V8udZdA5ZmJU8r3C2TK4PGf2/ v/pS0bRDZha0DjPtGgGsCeJhbgcAW8yeQTgeTLPCUGivo6Nop+mfgJylwIszHXz/HS3bEG wZSVtY6kaoHPuWuWOOTDaR5wby2N4ZxSRQnfFRyqdzMH+7/bhGekW/SC9msT2DxYIrUNWG LZ4ndYXZnQfh7dWZA/O1maN2JS5EHYcB3unD1LleqOakedrPiNkC0UWqsBkC6HUnGxeIYJ Xzrsbo6H0U3k9EssgRbjBZDnfZOHZmp6/zmI9ANiUSLYNwXwe7uq6ZuQRp5vUg== X-Migadu-Spam-Score: -4.48 X-Spam-Score: -4.48 X-Migadu-Queue-Id: C40A92F2EF X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=JvDMW4tv; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: TdjjNJPaIxPH > What do you think of prefixing every line with the name of the service > that is responsible for it? This way we could probably also > prettify/post-process the output somewhat. just a general warning here: errors in the processing of output that resulted in some error messages get= ting silently swallowed by the infrastructure has cost me countless hours o= f unnecessary debugging. i have already experienced this in multiple places also in the Guix codebas= e. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CTo have a right to do a thing is not at all the same as to be righ= t in doing it.=E2=80=9D =09=E2=80=94 G.K. Chesterton