about summary refs log tree commit diff
path: root/pkgs/test/nixpkgs-check-by-name/README.md
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-12-14 02:47:44 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2023-12-14 03:40:49 +0100
commita6ba4cae311698ea907ee239785f75d76bd01e4b (patch)
treeea580fc2e2a7a86fac5cf47473cb74d0711e60e3 /pkgs/test/nixpkgs-check-by-name/README.md
parente98d22851b67a6125683f80735e4bc1042252aef (diff)
tests.nixpkgs-check-by-name: Intermediate refactor
This prepares the code base for the removal of the `--version` flag, to
be replaced with a flag that can specify a base version to compare the
main Nixpkgs against, in order to have gradual transitions to stricter
checks.

This refactoring does:
- Introduce the `version` module that can house the logic to increase
  strictness, with a `version::Nixpkgs` struct that contains the
  strictness conformity of a single Nixpkgs version
- Make the check return `version::Nixpkgs`
- Handle the behavior of the still-existing `--version` flag with `version::Nixpkgs`
- Introduce an intermediate `process` function to handle the top-level
  logic, especially useful in the next commit
Diffstat (limited to 'pkgs/test/nixpkgs-check-by-name/README.md')
0 files changed, 0 insertions, 0 deletions