pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: list of all prerequisites/ dependencies on a package



Am 14.04.2022 um 00:04 schrieb Roland Illig:
Am 13.04.2022 um 17:36 schrieb J. Lewis Muir:
On 04/08, Roland Illig wrote:
There should be a cleaner way of listing all of a package's
dependencies.  My first idea was to define a target named
'show-all-depends', but that name is already used as part of 'show-all'.
  Therefore I suggest 'show-depends-all'.

Hi, Roland!

Please, not that name, though.  Not that there's anything wrong with
it on its own, but this would make for two targets that only differ in
the order of two words, and I think most people would not be able to
remember which is which.

Makes sense.  My preferred name would have been 'show-all-transitive',
but there is already prior art in the form of 'fetch-list-recursive',
which also uses _DEPENDS_WALK_CMD, so I went with 'show-all-recursive'.

Oops, I made some typos in the above paragraph.  Of course, I meant
'show-depends-transitive' and 'show-depends-recursive'.  In the code, I
used the correct names.

Roland


Home | Main Index | Thread Index | Old Index