From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oLMAM9Xi62NgUwAAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 20:36:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oH70MtXi62MyMwEAauVa8A (envelope-from ) for ; Tue, 14 Feb 2023 20:36:53 +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 9372DE09A for ; Tue, 14 Feb 2023 20:36:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pS16Q-000534-IK; Tue, 14 Feb 2023 14:36:35 -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 1pS16M-00052U-Ql for guix-devel@gnu.org; Tue, 14 Feb 2023 14:36:30 -0500 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pS16J-0003JP-BF; Tue, 14 Feb 2023 14:36:29 -0500 Received: by mail-lf1-x12e.google.com with SMTP id f34so24871240lfv.10; Tue, 14 Feb 2023 11:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=24yXAJJ2h5iJufeRv4qMV8yYxwiwj8YYe8cMAEg2jUE=; b=J1Mp6XbosVmt2KGQoKGDViQoahOr37s8E958lMJmHVixrmgmAPjLqRLwr6mkwtYgvL r0VHPCz1d3CyJZj1rR6nass1OsAD5Fog+GXDShhYCuY/Bi4oGSBj/RKoJVZKpG/6cr0z Wl0veo2ApSW2UW+g609A+uhsHPwrzkj0AYSh3IgBaj1a2oUH0H2jJIWPi8yP5rU3rFq5 iOGTIpdk/wYc1I6QIBXkvPth0Qou041iQptBSaYrja8upyM5PMndfEfxucjw/htrJvBO Dv+hse9FkRMx9+sdPGxnENgiiuhfratNBx+6qOi6XUjzZ6bIazwiyYz4ZWb2i/OPbgZy EWhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=24yXAJJ2h5iJufeRv4qMV8yYxwiwj8YYe8cMAEg2jUE=; b=Yr5JktLxQPFa7dEahKi9P5Dhc/XI88xvEm+tptwYS3baEBeomvmF+7UyhHwYlJnG9P ReedozbrYEB97TS/1adUEN/mxmej+3E6fZan9+zAwaNbWIXTk7RS8irCfosnPq1/vn+b 3TO4fu+xgldYZ3STQpcXaH6qP7vPi/2CV2PFek0p6gTaoZ20BaPF/RO4ckH4QxkGf2D+ DVnTqZdllVTJm+vVxVd1gOJznXwXmjAb0Pk5HT1JS4riNCCHQ9VGA/9yDptY16w3Mxui fRaIPcDvSfA7ezSEX7qch04htdbNU4P5KMsPaddTQ/emSsa2e48aH7Mk8xnVBKIxhN10 EncQ== X-Gm-Message-State: AO0yUKUQ4dn4uOXGSM8AHWMq/6CNiyTKt4DNka0sp+Mmu3zZnt5XE8gV 3pPyBRboi+uj6M18MPGRZ+mNTjomKv64zo8TBgY= X-Google-Smtp-Source: AK7set/8baR3v50gWR7rPmmb8yvFpd064sXU1g74SuQVril5asEaWaaMNcEwQUUly+8KPFkH1cKil0Sg5tpsBVS0j1Y= X-Received: by 2002:a19:6545:0:b0:4db:1abe:35f6 with SMTP id c5-20020a196545000000b004db1abe35f6mr615301lfj.3.1676403383291; Tue, 14 Feb 2023 11:36:23 -0800 (PST) MIME-Version: 1.0 References: <167610269975.14308.10330520524841229243@vcs2.savannah.gnu.org> <87cz6g5t87.fsf@cbaines.net> <87zg9kgz2i.fsf@trop.in> <874jrsqh0x.fsf@trop.in> <87bklzn3jc.fsf@gnu.org> <871qms1lne.fsf@gmail.com> In-Reply-To: <871qms1lne.fsf@gmail.com> From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Date: Tue, 14 Feb 2023 20:36:11 +0100 Message-ID: Subject: =?UTF-8?Q?Re=3A_=E2=80=99inherit=E2=80=99_and_list=2Ddependent_=28was_Re=3A_branch?= =?UTF-8?Q?_master_updated=3A_gnu=3A_emacs=3A_Add_TREE=5FSITTER=5FGRAMMAR=5FPATH_su?= =?UTF-8?Q?pport=2E=29?= To: Simon Tournier Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= , Andrew Tropin , Christopher Baines , Guix Devel Content-Type: multipart/alternative; boundary="00000000000029571905f4ae1440" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=gboskovits@gmail.com; helo=mail-lf1-x12e.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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-Seal: i=1; s=key1; d=yhetil.org; t=1676403413; a=rsa-sha256; cv=none; b=GnveFhaHDLKp2uVNNDcesaV0OD9SlmbFwuD+Z8eehACX/dQA0tV6VPI7DTkoEYdcaBUKyd ykYx4l9bbgG95I+x85P3F4YQGL42+7wIkaV7Q3IOH/vywC56b/y1buqhjFtUbh79LV2QCs i8jZdVsa+rvNlQEBV9+OIEOxiohtxLJB/kKlI8A+aL3g3Nwe9nMayJZtXtCIrJ4IAOmVC9 6DfW9i1kUkk4KiR0AL5gl7Xcr3+wbaQhWPB/J433em4G8AZxFPcE5FXOdcX8KHnMjM9uAV uRmuqD96r/SuelMcD0hk28+mCd3w85SLjbALJ5pQ75Sqr6alPBoNzDXMe0ZnKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=J1Mp6Xbo; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676403413; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=24yXAJJ2h5iJufeRv4qMV8yYxwiwj8YYe8cMAEg2jUE=; b=Vbrq4xVaEwXfJlWovhL2T1KGCdlHU00BtVPxQlbpCiD0R+4o5xwHS5wj/uBQVXbYdHP9qz s6/Ec/NJzpH41jI/LuRtxdp8ZMBZvVtaRD7+8uURSXH4ilY7DqczIPg3SHDXpFzA+t1uJX VzbFhYAt3npa2KsdhRyO2XcZO5fW7kPeH79qsQymQ+pDe7L5QiGdG4h4Kl1Cd5lSKi643V CfbjiKhWWnP6P16tkf02UnEoyXC+KkDnoi/Wk42N2OZ5kfo+m1htPXyZt0NfzpB1PMsYGo SDh5GIgr2frDbSjrQ3woMC2mskAfGEqy+hYvRDnk874mdJVOKopQg87X1jfENg== X-Migadu-Queue-Id: 9372DE09A X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=J1Mp6Xbo; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.33 X-Spam-Score: -3.33 X-TUID: 8ZUbBTD9TFI1 --00000000000029571905f4ae1440 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Simon Tournier ezt =C3=ADrta (id=C5=91pont: 2023= . febr. 14., K 13:25): > Hi, > > On dim., 12 f=C3=A9vr. 2023 at 01:14, Ludovic Court=C3=A8s = wrote: > > >> There is an idea to update guix refresh --list-dependent to handle the > >> case with inherited packages as well. WDYT? > > > > Unfortunately, it=E2=80=99s not possible because inheritance info isn= =E2=80=99t > > available at run time. > My idea here was to rescan the source with a minimal scanner and build up an inheritance aware dependency graph. We could then make this information available in some way, but about that part I did not think about too much yet. Another thing that could possibly work is to enrich the package with inheritance information, but I am not sure that this can be done in a backwards compatible way. Wdyt? > > Well, with the current implementation of =E2=80=99inherit=E2=80=99, which= is just > copy/paste at the record level, indeed it is not possible to detect some > relationship. > > However, we could imagine to use =E2=80=99package/inherit=E2=80=99 or ano= ther variant > instead of plain =E2=80=99inherit=E2=80=99 for creating these inherited p= ackages. Doing > so, we could collect some information, e.g., in the field =E2=80=99proper= ties=E2=80=99, > which could be used then by --list-dependent. > > Many of us are bitten by this. I remember a recent update of Git which > also missed the dependency of git-minimal. :-) > > For sure, QA helps a lot. Somehow, braces and belt. ;-) > > > Cheers, > simon > Regards, g_bor > > > > --00000000000029571905f4ae1440 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Simon Tournier <zimon.toutoune@gmail.com> ezt =C3=ADrta (id=C5=91pont= : 2023. febr. 14., K 13:25):
Hi,
On dim., 12 f=C3=A9vr. 2023 at 01:14, Ludovic Court=C3=A8s <ludo@gnu.org&g= t; wrote:

>> There is an idea to update guix refresh --list-dependent to handle= the
>> case with inherited packages as well.=C2=A0 WDYT?
>
> Unfortunately, it=E2=80=99s not possible because inheritance info isn= =E2=80=99t
> available at run time.
<= br>
My idea here was to rescan the source with a min= imal scanner and build up an inheritance aware dependency graph. We could t= hen make this information available in some way, but about that part I did = not think about too much yet.

Another thing that could possibly work is to enrich the package with = inheritance information, but I am not sure that this can be done in a backw= ards compatible way. Wdyt?

Well, with the current implementation of =E2=80=99inherit=E2=80=99, which i= s just
copy/paste at the record level, indeed it is not possible to detect some relationship.

However, we could imagine to use =E2=80=99package/inherit=E2=80=99 or anoth= er variant
instead of plain =E2=80=99inherit=E2=80=99 for creating these inherited pac= kages.=C2=A0 Doing
so, we could collect some information, e.g., in the field =E2=80=99properti= es=E2=80=99,
which could be used then by --list-dependent.

Many of us are bitten by this.=C2=A0 I remember a recent update of Git whic= h
also missed the dependency of git-minimal. :-)

For sure, QA helps a lot.=C2=A0 Somehow, braces and belt. ;-)


Cheers,
simon
Regards,
g_bor



--00000000000029571905f4ae1440--