~/talk

Fetching private data with Repo Rules and MODULE Extensions

Talkat BazelCon 2024 · 2024-10-14..10-15· [security, developer-experience]
slides:none on file

Manages authenticated HTTP fetches via Bazel repository rules and MODULE extensions, implementing downloads through the Bazel downloader, reusing a repository cache that is content‑addressable to avoid repeated network fetches, and delegating auth to a credential helper that consumes a URL on stdin and returns headers on stdout. Also shows the remote downloader option (drpc or Unix domain socket) for proxying requests and cites the open‑sourced Rules GCS implementation as a working example that saves disk space and time.

AI-written summary · about

  1. 0:00Private data fetching matters
  2. 1:47Hardcoded solutions problems
  3. 3:15Repository rules for fetching
  4. 4:42HTTP Archive Rule implementation
  5. 6:07Bazel Downloader advantages
  6. 7:12Repository cache efficiency
  7. 7:55Remote downloader for proxies
  8. 8:37Credential helper for private repos
  9. 9:20Dynamic URL rewriting
  10. 9:42Best practices and tools
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.