Re: [bitbake-devel] [PATCH] fetch2/crate: support user-defined protocols
Paul Barker <[email protected]> Fri, 19 Jun 2026 13:16:22 +0100
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2026-06-17 at 18:59 +0000, Gabriel A Smith via lists.openembedded.org wrote: > From cd89f0c841d9611d79047c70045a05f6ac41da56 Mon Sep 17 00:00:00 2001 > From: Gabriel Smith <[email protected]> > Date: Wed, 17 Jun 2026 17:53:56 +0000 > Subject: [PATCH] fetch2/crate: support user-defined protocols > > By default HTTPS is used for crate downloads, but both HTTP and FTP are > also supported by wget. FTP is not supported by crate registries so > it is not recommended. This adds a protocol parameter similar to the > git fetcher to allow a user to specify a different protocol. > > Documentation has been updated to mention the new parameter. > > Signed-off-by: Gabriel Smith <[email protected]> Hi Gabriel, What's the motivation for this patch? I don't think we should encourage use of insecure protocols. If there's a strong reason for supporting this, please also rebase on top of the patch for configurable registry and index URLs support [1] and send a v2. [1]: https://lore.kernel.org/bitbake-devel/[email protected]/ Thanks, -- Paul Barker
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- iIcEABYKAC8WIQSzjPXf5Y1BDWhU2iCrY1Tsnbr0bgUCajUzFhEccGF1bEBwYmFy a2VyLmRldgAKCRCrY1Tsnbr0br+uAP96TkOG4i41UGuH2ia03tkvwCxQTAhMcup/ K7Tymux5jgEAqfZtduaSr4RJAw48YgtH8+1Tp8Tg2AVQoiaS6xyqAg0= =LUMR -----END PGP SIGNATURE-----