Commit 5ee3ac46 authored by James Addison's avatar James Addison 💬
Browse files

How to add variance: add dependency-drift grouping

parent 8e8f7d55
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -44,18 +44,20 @@ Its [`README`](https://salsa.debian.org/reproducible-builds/reprotest/-/blob/mas
- Dependencies listed in your project


### Lockfiles
### Preventing dependency drift

#### Lockfiles

Some build systems (Go, Cargo, NPM...) allow you to include the exact version of your dependencies.
Whenever possible, you should version it or include it in your source tarballs, so that people will be able to use them to recreate a similar environment to you.


### Vendored dependencies
#### Vendored dependencies

Another possibility is to include a copy of your dependencies in your source tree, or to reference it with similar methods, such as git submodules.


### Debian Snapshots
#### Debian Snapshots

Debian packages must be reproducible with the packages that were available in the archive when they were built.