Re: [RFC PATCH 2/2] Documentation: dev-tools: add kconfirm
From: Miguel Ojeda
Date: Tue Apr 28 2026 - 08:53:09 EST
On Mon, Apr 27, 2026 at 9:34 PM Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
> It would also be helpful to reduce the number of hard dependencies
> and ideally only rely on packages that are already shipping in common
> distros.
>
> From the dependency list, it appears that the majority of dependencies
> here are only indirectly pulled in by 'reqwest'. I guess is only
> required for dead-link checking, so maybe that part could be
> made optional?
+1, I had the same thoughts -- even if the fetching is done outside
`make`, it would be still be nice to reduce the dependencies. Even if
it just means calling into `curl` or similar.
Then I thought if the same would apply to `clap` etc., but then again,
we may want to write more tools like this in Rust in the future (we
already felt the pain in the past the pain of not having a e.g. JSON
parser), and whether we could have a more general solution for this,
including perhaps even a kernel.org registry (either as primary or
not) etc.
Cheers,
Miguel