All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] crates.io data access policy
@ 2026-04-27 13:51 Johan Anderholm
  2026-04-27 13:51 ` [PATCH 1/1] fetch2/crate: use CDN for fetching crates Johan Anderholm
  2026-04-27 17:35 ` [bitbake-devel] [PATCH 0/1] crates.io data access policy Quentin Schulz
  0 siblings, 2 replies; 4+ messages in thread
From: Johan Anderholm @ 2026-04-27 13:51 UTC (permalink / raw)
  To: bitbake-devel

It appears that the crate fetcher does not adhere to the data access policy
of crates.io as is described here:

https://crates.io/data-access#api

Namely the part about adding a user-agent identifying the application and
information on how to reach the project in case of issues.

Also users are requested to use the CDN instead of the download API, as that
does not have a 1 request per second limit:

https://github.com/rust-lang/crates.io/issues/13482#issuecomment-4304855751

This patch addresses the request to use a CDN and seems to fix a recent
breakage of the crate fetcher. It does not address the part about a user-agent
since I do not know how to do that, and I do not know what to put in it anyway.

Johan Anderholm (1):
  fetch2/crate: use CDN for fetching crates

 lib/bb/fetch2/crate.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-27 20:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 13:51 [PATCH 0/1] crates.io data access policy Johan Anderholm
2026-04-27 13:51 ` [PATCH 1/1] fetch2/crate: use CDN for fetching crates Johan Anderholm
2026-04-27 17:35 ` [bitbake-devel] [PATCH 0/1] crates.io data access policy Quentin Schulz
2026-04-27 20:25   ` Ross Burton

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.