[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs:
From: |
Simon Tournier |
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 |
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
- Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support., Christopher Baines, 2023/02/11
- Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support., Andrew Tropin, 2023/02/11
- Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support., Andrew Tropin, 2023/02/11
- Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support., Ludovic Courtès, 2023/02/11
- Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support., Andrew Tropin, 2023/02/11
- ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.),
Simon Tournier <=
- Re: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.), Gábor Boskovits, 2023/02/14
- Re: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.), Ludovic Courtès, 2023/02/21
- Re: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.), Simon Tournier, 2023/02/22
- Re: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.), Ludovic Courtès, 2023/02/25
- Re: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.), Gábor Boskovits, 2023/02/25
- Re: ’inherit’ and list-dependent (was Re: branch master updated: gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.), Simon Tournier, 2023/02/27