From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yA+vCnWlSWG6LwEAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 11:27:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6P1ZBnWlSWENKQAAB5/wlQ (envelope-from ) for ; Tue, 21 Sep 2021 09:27:17 +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 773A015211 for ; Tue, 21 Sep 2021 11:27:16 +0200 (CEST) Received: from localhost ([::1]:58240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSc3W-0000Iu-Ix for larch@yhetil.org; Tue, 21 Sep 2021 05:27:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSc3K-0000Hx-AB for guix-patches@gnu.org; Tue, 21 Sep 2021 05:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSc3K-00072x-2U for guix-patches@gnu.org; Tue, 21 Sep 2021 05:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSc3J-0002F6-Uh for guix-patches@gnu.org; Tue, 21 Sep 2021 05:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50632] [PATCH] graph: Add '--max-depth'. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Sep 2021 09:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50632 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50632@debbugs.gnu.org Received: via spool by 50632-submit@debbugs.gnu.org id=B50632.16322163798558 (code B ref 50632); Tue, 21 Sep 2021 09:27:01 +0000 Received: (at 50632) by debbugs.gnu.org; 21 Sep 2021 09:26:19 +0000 Received: from localhost ([127.0.0.1]:44920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSc2d-0002Dx-GP for submit@debbugs.gnu.org; Tue, 21 Sep 2021 05:26:19 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:42622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSc2b-0002Dg-Vg for 50632@debbugs.gnu.org; Tue, 21 Sep 2021 05:26:18 -0400 Received: by mail-wr1-f48.google.com with SMTP id q11so37142675wrr.9 for <50632@debbugs.gnu.org>; Tue, 21 Sep 2021 02:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=C5KNmRdQHBWzlEnE7303EN0DwfEfEU7qNtJJH9egpAo=; b=pz4cZEeJ7aXbJ/hD4ezr0TFESq7Ii8cKUMN8ekSnsqZuOhdkXbdtP8T0he7xOVRuzZ TC8gC80LP7FPxP1S1ccqgxpJjRvsIFjgbbU3BJPM/Ua6Vo4berFDi08cYbXHp0YkXqm9 T8IstIo9qxA83MNNMWBiH34rqHy4i8TG/X+gGmWlmg2oOgM3GXtGxERXJMeZKULoBKbs t8NkNtW5YfdH3FJGnt+m3wJfird7CBI9ybgA+DTSVMUfR0MVxxgMVqeGoUavhXZsl0tj TcvCt/becGdaqFyLR6bavuwmyolbYyhtG6FHhv75KKTJOB5WJoQ5KAsbp+isEgfZEOUt h+uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=C5KNmRdQHBWzlEnE7303EN0DwfEfEU7qNtJJH9egpAo=; b=EQ+k3oExYnT8701YD+KeO+8wtbJpeZazxyFUQwzpZduC5fvt/4M2t3sqVKK7J4Cswl FAwlGvd6l5bB588q6prJgdLDYICDkKdfdhvD/dww9TdV9z16k6SEOlsRVIdO8h4QtBmB QpDiyCTq9InXsxatt43iCIAb2wUE7y6miHkSTzVIXJiRlMck4LqPlWXQSPjZIGvysnnn jFZn9sCqgQoXQDoxEnrSe86gKNjcIiVo0GQlUJDGj9MJPVjXvxvEeMl2cqMpBnmiLC7S CXXTu7kieMtr7P8bVYR0Kq701w46e4hCtbq8lHErHkklOW2gln0aor1WlwXEGWLP9Qmf LAOQ== X-Gm-Message-State: AOAM531Q7PS9tN9lRqKDwvOLneAlkT8wMA31SeRIkpKdRGZHGXC7jRsv t8zwHOaeqm3KGbLvulN5WE5PP65U2yJuGg== X-Google-Smtp-Source: ABdhPJy9+1xEHVfoyZbKHeoU3mGY+cOnCsJZyL52AGJ7BJwmZBb44Mmn3+FJHryIUQ+ojWS4U866NQ== X-Received: by 2002:a1c:3b87:: with SMTP id i129mr3468976wma.115.1632216372148; Tue, 21 Sep 2021 02:26:12 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id k1sm19027644wrz.61.2021.09.21.02.26.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 02:26:11 -0700 (PDT) From: zimoun In-Reply-To: <87a6k6nwr1.fsf@gnu.org> References: <20210917081848.14264-1-ludo@gnu.org> <87a6k6nwr1.fsf@gnu.org> Date: Tue, 21 Sep 2021 11:19:45 +0200 Message-ID: <86v92ub80e.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632216436; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=C5KNmRdQHBWzlEnE7303EN0DwfEfEU7qNtJJH9egpAo=; b=eW2VNSDG+2+Q/p80/RdOwqD2NBddybgxOTmLXOpTRcrV1xc9CSZgMmZEgL3gx377FqY+sl 6Z49kevbGxqmZsQAl71ZghoqwJ4OuVrbjQPmpuHJRWhd2dZR0Zh6T7fNklAEBUsInyXex9 ShKyM1bkhL8YLTQnBHFW+liNSFfhHZTg6igjRsQNEPVCDm1nbaeHTecu9d+7Wx0GmqCO4K /Cu1vfikwhGt6lwkSmn8vVAhxhroYyhdWLkBPiz1rvWgboT0626AsDz08axjHmF70Z9EmF 2Nysycrn8+dHwEEKs4LPhZPKbCZJcpZsJU6oT9y4CXcWgoZvYXoQMsec2lc3Tw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632216436; a=rsa-sha256; cv=none; b=W0vRiOfb+05E7VsmA+vKAeZGNuujeGuItI8/CE1ia0UbV6debKJE2HOdiZJGk4s25AJnl/ gwANurwxYBZsDTiw8rnyuvvrW2Vl+vdmhQQ2X9kQ+AdGYvVbIJXsakLME78EaVyV83Gq8Q 32gvEswR3DmLGyJ/YJVjcABSllsRXYn91XmrXlxkMATHmNPHkPajJ31fK7ZDSfFZJ65RGy g87GjSj50EsgjmYGZvBQCWNwUmJDehSYqFqAudasNLHSVxxR7tMq/QKtqDkvMUlMbTsQZF 7k0biPQ8ivFD7xihGcbBbQ3s5qILeEG+Jo5VTSuOR0besxIYkdw9Jqd9USBDMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pz4cZEeJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Spam-Score: 0.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=pz4cZEeJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Migadu-Queue-Id: 773A015211 X-Spam-Score: 0.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: bqZPvvVte2us Hi Ludo, On Tue, 21 Sep 2021 at 10:44, Ludovic Court=C3=A8s wrote: > True, it=E2=80=99s a separate program, but it=E2=80=99s mentioned since > c2b2c19a7b8b75ef6dd153ca121dd8765cdcd746 because it=E2=80=99s more conven= ient > IMO. Ah, I should have missed this. However, it does not work out of the box: --8<---------------cut here---------------start------------->8--- $ guix environment --ad-hoc xdot $ guix graph coreutils | xdot - Traceback (most recent call last): File "/gnu/store/gm49bvwdgjpx23wlcfrm8mbf8n75a77n-xdot-1.1/bin/.xdot-real= ", line 11, in load_entry_point('xdot=3D=3D1.1', 'gui_scripts', 'xdot')() File "/gnu/store/gm49bvwdgjpx23wlcfrm8mbf8n75a77n-xdot-1.1/lib/python3.8/= site-packages/xdot/__main__.py", line 70, in main win =3D DotWindow(width=3Dwidth, height=3Dheight) File "/gnu/store/gm49bvwdgjpx23wlcfrm8mbf8n75a77n-xdot-1.1/lib/python3.8/= site-packages/xdot/ui/window.py", line 546, in __init__ self.dotwidget =3D widget or DotWidget() File "/gnu/store/gm49bvwdgjpx23wlcfrm8mbf8n75a77n-xdot-1.1/lib/python3.8/= site-packages/xdot/ui/window.py", line 67, in __init__ self.connect("draw", self.on_draw) TypeError: : unknown signal name: draw (.xdot-real:5940): Gtk-WARNING **: 11:09:08.420: A floating object was fina= lized. This means that someone called g_object_unref() on an object that had only a floating reference; the initial floating reference is not owned by anyone and must be removed with g_object_ref_sink(). guix graph: error: fport_write: Broken pipe Segmentation fault --8<---------------cut here---------------end--------------->8--- That=E2=80=99s why I suggest to keep examples in the manual as simple as possible. From my point of view, this package should be mentioned but should not be part of the example. The core of the comment is when releasing. Examples involving a complex stack are harder to fix. And from my point of view, release broken examples in the manual is not acceptable*; for an instance of this, see . *not acceptable: well, it is not GNU high standard; even if we can live with them. ;-) Cheers, simon