Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 13 · From Scratch · Container Runtime · about 14 min to read

Play it as a journeyTutor comes with a plan

A package manager that solves versions

A Chain of Snapshots
A Chain of Snapshots · Open board

A chain of saved states, each one pointing at the one before it. A lockfile is the same idea for libraries: one saved state of exactly which versions you use, so anyone can get the same state back.

Lesson 104 of 117 in From Scratch

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • The problem: the same install gives two different programs
  • Manifest: the list of what you want
  • Version range: three numbers and what a change in each one promises
  • The registry and the real difficulty: libraries have their own wishes
  • Backtracking: choose the newest, and undo when stuck
  • Lockfile: the confirmed ticket
  • Conflict: when there is no answer, say who disagrees
  • The code
  • The demo, and its real output
  • How the pieces work
  • Trade-offs

Terms it explains: manifest, version range, registry, backtracking, lockfile, conflict, HEAD, merge commit, parent, rebase, ref, snapshot.

Lab

Your teammate pulled your branch yesterday. You rebase it onto main today. How many of their commits are still on it?

Leave Copy my commits on top selected, raise Commits on my branch, and watch hashes rewritten climb.

Open The rebase copy

Review From Scratch