From: Simon Tournier <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>, "Andrew Tropin" <andrew@trop.in>
Cc: Christopher Baines <mail@cbaines.net>, guix-devel@gnu.org
Subject: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.)
Date: Tue, 14 Feb 2023 13:23:01 +0100 [thread overview]
Message-ID: <871qms1lne.fsf@gmail.com> (raw)
In-Reply-To: <87bklzn3jc.fsf@gnu.org>
Hi,
On dim., 12 févr. 2023 at 01:14, Ludovic Courtès <ludo@gnu.org> wrote:
>> There is an idea to update guix refresh --list-dependent to handle the
>> case with inherited packages as well. WDYT?
>
> Unfortunately, it’s not possible because inheritance info isn’t
> available at run time.
Well, with the current implementation of ’inherit’, which is just
copy/paste at the record level, indeed it is not possible to detect some
relationship.
However, we could imagine to use ’package/inherit’ or another variant
instead of plain ’inherit’ for creating these inherited packages. Doing
so, we could collect some information, e.g., in the field ’properties’,
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
next prev parent reply other threads:[~2023-02-14 12:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <167610269975.14308.10330520524841229243@vcs2.savannah.gnu.org>
2023-02-11 11:29 ` branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support Christopher Baines
2023-02-11 12:35 ` Andrew Tropin
2023-02-11 16:54 ` Andrew Tropin
2023-02-12 0:14 ` Ludovic Courtès
2023-02-12 4:24 ` Andrew Tropin
2023-02-14 12:23 ` Simon Tournier [this message]
2023-02-14 19:36 ` ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.) Gábor Boskovits
2023-02-21 22:55 ` Ludovic Courtès
2023-02-22 9:17 ` Simon Tournier
2023-02-25 18:10 ` Ludovic Courtès
2023-02-25 19:27 ` Gábor Boskovits
2023-02-27 9:59 ` Simon Tournier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qms1lne.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=andrew@trop.in \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
--cc=mail@cbaines.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.