Slide 1

Slide 1 text

Homebrew’s move to GitHub Packages with zero downtime Mike McQuaid The Great Migration

Slide 2

Slide 2 text

The Background 📦

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

Mike McQuaid https://github.com/MikeMcQuaid https://mastodon.social/@mikemcquaid https://twitter.com/MikeMcQuaid

Slide 7

Slide 7 text

https://ben.balter.com/2015/11/12/why-urls/

Slide 8

Slide 8 text

https://github.com/Homebrew/brew/commit/29d85578e

Slide 9

Slide 9 text

https://github.com/Homebrew/brew/commit/29d85578e

Slide 10

Slide 10 text

https://twitter.com/mxcl/status/608682016205344768

Slide 11

Slide 11 text

https://github.com/Homebrew/brew

Slide 12

Slide 12 text

https://github.com/Homebrew/homebrew-core

Slide 13

Slide 13 text

https://github.com/Homebrew/homebrew-core/commit/ea309d16

Slide 14

Slide 14 text

https://docs.brew.sh/Bottles

Slide 15

Slide 15 text

https://docs.brew.sh/Bottles

Slide 16

Slide 16 text

The Crisis ☠

Slide 17

Slide 17 text

https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Slide 18

Slide 18 text

https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ 💩

Slide 19

Slide 19 text

https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

Slide 20

Slide 20 text

https://www.amazon.co.uk/Its-Not-Fair-Anita-Harper/dp/1853408972

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

https://github.com/orgs/Homebrew/discussions/691

Slide 23

Slide 23 text

The Investigation 🧐

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

https://github.com/opencontainers/image-spec

Slide 28

Slide 28 text

https://dlorenc.medium.com/oci-artifacts-explained-8f4a77945c13

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

The Implementation 🧑💻

Slide 33

Slide 33 text

https://github.com/Homebrew/brew/pull/10677

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

https://github.com/Homebrew/brew/pull/10835

Slide 38

Slide 38 text

https://github.com/Homebrew/brew/pull/10835

Slide 39

Slide 39 text

https://github.com/oras-project/oras

Slide 40

Slide 40 text

https://github.com/containers/skopeo

Slide 41

Slide 41 text

https://github.com/oras-project/oras/pull/241

Slide 42

Slide 42 text

https://github.com/Homebrew/brew/pull/11070

Slide 43

Slide 43 text

https://github.com/orgs/Homebrew/discussions/691

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

The Result 🏁

Slide 46

Slide 46 text

https://github.com/homebrew/homebrew-core/packages

Slide 47

Slide 47 text

https://github.com/Homebrew/homebrew-core/pkgs/container/core%2Fopenssl%2F1.1

Slide 48

Slide 48 text

https://github.com/Homebrew/homebrew-core/pkgs/container/core%2Fopenssl%2F1.1

Slide 49

Slide 49 text

No content

Slide 50

Slide 50 text

https://github.com/Homebrew/homebrew-core/pkgs/container/core%2Fopenssl%2F1.1/97480112

Slide 51

Slide 51 text

https://reproducible-builds.org

Slide 52

Slide 52 text

https://github.com/Homebrew/brew/pull/11077

Slide 53

Slide 53 text

https://github.com/Homebrew/brew/pull/11366

Slide 54

Slide 54 text

https://github.com/Homebrew/brew/pull/12459

Slide 55

Slide 55 text

https://github.com/Homebrew/brew/pull/12459/files

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

https://github.blog/2021-06-21-github-packages-container-registry-generally-available

Slide 59

Slide 59 text

The Aftermath 📈

Slide 60

Slide 60 text

https://github.com/orgs/Homebrew/discussions/1906

Slide 61

Slide 61 text

https://github.com/orgs/Homebrew/discussions/1906

Slide 62

Slide 62 text

https://github.com/orgs/Homebrew/discussions/1906

Slide 63

Slide 63 text

No content

Slide 64

Slide 64 text

Thanks! 💜 [email protected]