FiloSottile / age

A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
https://age-encryption.org
BSD 3-Clause "New" or "Revised" License
15.79k stars 477 forks source link

Consider shipping release tarball with vendored dependencies #401

Open DanielSun100478 opened 2 years ago

DanielSun100478 commented 2 years ago

Discussed in https://github.com/FiloSottile/age/discussions/394

Originally posted by **illiliti** February 13, 2022 For example, [dnscrypt-proxy](https://github.com/DNSCrypt/dnscrypt-proxy/tree/master/vendor) does this by simply maintaining vendor directory. You can also setup CI to vendor dependencies into release tarball without needing to keep vendor directory within repository. Here is the command that can be used for this: `go mod vendor` With vendored dependencies, i can build age from source without internet connection by using this command: `go build -mod=vendor`