From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2BFYHWKbrV+bfQAA0tVLHw (envelope-from ) for ; Thu, 12 Nov 2020 20:30:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MDwvGWKbrV+vdQAAB5/wlQ (envelope-from ) for ; Thu, 12 Nov 2020 20:30:26 +0000 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 E4211940149 for ; Thu, 12 Nov 2020 20:30:25 +0000 (UTC) Received: from localhost ([::1]:46962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdJEe-0006sF-E2 for larch@yhetil.org; Thu, 12 Nov 2020 15:30:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdJEJ-0006rr-0Z for guix-patches@gnu.org; Thu, 12 Nov 2020 15:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34189) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdJEI-0002S3-M3 for guix-patches@gnu.org; Thu, 12 Nov 2020 15:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdJEI-000508-JC for guix-patches@gnu.org; Thu, 12 Nov 2020 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44460] Add copyright lines Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Nov 2020 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44460 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Soo Cc: 44460@debbugs.gnu.org Received: via spool by 44460-submit@debbugs.gnu.org id=B44460.160521297119157 (code B ref 44460); Thu, 12 Nov 2020 20:30:02 +0000 Received: (at 44460) by debbugs.gnu.org; 12 Nov 2020 20:29:31 +0000 Received: from localhost ([127.0.0.1]:45735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdJDm-0004yv-Vd for submit@debbugs.gnu.org; Thu, 12 Nov 2020 15:29:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdJDl-0004yi-BJ for 44460@debbugs.gnu.org; Thu, 12 Nov 2020 15:29:30 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59982) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdJDg-0002Oq-02; Thu, 12 Nov 2020 15:29:24 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58384 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kdJDd-0003E7-Oo; Thu, 12 Nov 2020 15:29:22 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o8kcv30a.fsf@asu.edu> <878sbeoya2.fsf@asu.edu> <87k0usn9jk.fsf@gnu.org> <87imabok8j.fsf@asu.edu> <87ft5elu45.fsf@gnu.org> <87361eoabg.fsf@asu.edu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Brumaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 12 Nov 2020 21:29:19 +0100 In-Reply-To: <87361eoabg.fsf@asu.edu> (John Soo's message of "Thu, 12 Nov 2020 07:37:39 -0800") Message-ID: <871rgyiajk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: qGX5p2zQqGJv Hi, John Soo skribis: > Ludovic Court=C3=A8s writes: > >>> * Still not normalized - how can I search for just the child processes >>> associated with a particular command? >> >> Like: >> >> guix processes | recsel -e 'ClientCommand ~ "xyz"' -p ChildProcess >> >> ? >> >> Actually what does =E2=80=9Cnormalized=E2=80=9D mean in this context? > > Excellent question. I was thinking along the lines of database > normalization. The default output has multi-valued fields for child > processes, so the idea is to make them their own record set. Does that > make sense? Yes it does! Initially I wondered if it was a term used in recutils, but apparently it=E2=80=99s not. > An aside - Probably to be entirely honest about normalizing the output, > locks really would be in a separate record set too. Yeah. > Another challenge is making sure the user can understand what > "normalized" means. I am not sure readers of the manual/cli help will > be able to infer what it means from context. On the other hand, it is > such a small use case that it seems imbalanced to provide a lot of > background for the term "normal". What do you think? Sure. Thinking more about it, to me the appeal of recutils is that it=E2=80=99s b= oth human- and machine-readable. But here we end up having a specific machine-readable variant. But yeah, maybe that=E2=80=99s unavoidable. >>> I wouldn't be opposed to splitting ChildProcess into ChildPID and >>> ChildCommand. I would like it best if that change was made in addition >>> to adding the normalized version, since the normalized version allows >>> more functionality. >> >> I would think it=E2=80=99s OK to break compatibility on just these >> =E2=80=9CChildProcess=E2=80=9D fields. > > Ok. Would it be ok if I put that in a separate commit? Yes (you mean in addition to =E2=80=98-f normalized=E2=80=99, right?). Thanks, Ludo=E2=80=99.