fleetlint Policy for a fleet of repositories
v0.10
Getting started

repo/lockfile-committed/ruby

Dependency lockfile is committed

Implements repo/lockfile-committed for ruby.

Severityerror
Tiers1, 2
Stacksruby
Scopeeach
Kindexpr
Sourcelibrary v0.7.0
Selected byfleetlint-recommended@v0.7.0

Requirement

Gemfile.lock is tracked when there is a Gemfile.

Why

Builds are reproducible only when dependency versions are pinned in git.

Check

"Gemfile.lock" in tracked() || !file("Gemfile")

Fix

Run bundle lock and commit Gemfile.lock.

Agent instruction: Run the package manager to produce the lockfile, remove any .gitignore entry for it, and commit it.

A finding of this rule points at Gemfile.lock.

Sources


Generated by fleetlint docs from catalog v0.7.0.