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

repo/lockfile-committed/hugo

Dependency lockfile is committed

Implements repo/lockfile-committed for hugo.

Severityerror
Tiers1, 2
Stackshugo
Scopeeach
Kindexpr
Sourcelibrary v0.3.1
Selected byfleetlint-recommended@v0.3.1

Requirement

Hugo has no lockfile of its own: Hugo modules are locked by go.sum and npm tooling by its lockfile, both checked as their own stacks; themes added as git submodules are pinned by commit.

Why

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

Applies when

false

Check

true

Fix

Generate the lockfile with the package manager and commit it; remove it from .gitignore.

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

See: https://fleetlint.org/baseline/#dependencies, https://fleetlint.org/stacks/#hugo--static-sites


Generated by fleetlint docs from catalog v0.3.1.