Skip to content

Instantly share code, notes, and snippets.

@warpfork
Last active December 21, 2015 17:59
Show Gist options
  • Save warpfork/6343783 to your computer and use it in GitHub Desktop.
Save warpfork/6343783 to your computer and use it in GitHub Desktop.
comparison of techniques to obtain reproducible and offline builds (ascii table)
```
core transparent multiple permanent bloat
approach offline? fast reproducible when library histories to source repo
---------- -------- ---- ------------ ------------ --------- ---------------
script (clone semantic no/fail no yes (`checkout yes no no
at build time) -f $HASH`)
script (clone semantic yes yes yes yes no no
once, checkout
at build time)
go get wget yes (caching, yes no/fail yes no no
if not smart)
git semantic yes yes yes yes no no
submodules
other vcs-agnostic semantic yes yes yes yes no no
hash tracking
godep/vendoring blob-copy yes yes yes no/fail yes yes/fail
(main
source repo)
docker+deps blob-copy yes yes yes yes yes no
(separate
vendored repo)
```
@ngrilly
Copy link

ngrilly commented May 14, 2015

I don't understand why git submodules are classified in "offline: yes".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment