~/talk

depstat: Analyzing a Go Project’s Dependencies

Talkat Cloud Native Rejekts NA 2021 · on Saturday, 2021-10-09· [developer-experience, go]
slides:none on file

depstat is a CLI that computes four concrete metrics—number of direct deps, transitive deps, total deps and max depth—and exposes subcommands depstat stats, depstat graph, depstat cycle and depstat list. it generates a graph.dot / dag.svg to visualize chains, reports exact dependency chain changes on PRs that touch go.mod go.sum or vendor, and runs as periodic and pre-merge prow job checks to show diffs (one example PR removed 16 dependencies).

AI-written summary · about

  1. 0:00Intro
  2. 0:40Overview
  3. 1:33What Are Dependencies?
  4. 2:33Go and Dependencies
  5. 3:07A Simple 'go.mod File
  6. 4:30Why Should You Care?
  7. 6:32The Problems
  8. 7:24Enter depstat
  9. 7:53depstat stats
  10. 9:54A Dependency Can Be Both Direct And Transitive
  11. 11:37depstat graph
  12. 13:33depstat cycles
  13. 14:31How do we use it?
  14. 15:30Periodic Job
  15. 16:26Presubmit Job
  16. 17:00How I Got Started
~/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.