8000 GitHub - nixidae/pynix-review: What a nixpkgs change rebuilds, layered by depth, with build-time estimates · GitHub
[go: up one dir, main page]

Skip to content

About

What a nixpkgs change rebuilds, layered by depth, with build-time estimates

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

pynix-review

What a nixpkgs change rebuilds, in what order, and how long Hydra took to build it. A library and a CLI for review bots, built on huggorm.

pynix-review evaluates the same attributes in two nixpkgs trees. Each tree gets its own evaluator over an in-memory store, so no .drv file reaches disk. It diffs the two derivation closures and layers the changed set by depth, two ways:

  • longest path: depth 1 has no changed input, and building depth k or less builds exactly what it selects;
  • nearest: the distance from what the change touched, which is what "direct dependents" means. A depth here can need more builds than it selects.

A fixed-output derivation matches by its content address, so a fetch whose .drv moved but whose output did not counts as unchanged.

pynix-review is part of nixidae. Work happens there.

About

What a nixpkgs change rebuilds, layered by depth, with build-time estimates

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0