about summary refs log tree commit diff
path: root/tools/nixery/popcount/popcount.go
AgeCommit message (Collapse)AuthorFilesLines
2021-04-30 feat(build): Run `go vet` as a step in the GitHub Actions workflowVincent Ambo1-1/+1
2020-07-25 fix(popcount): Accommodate upstream changes on nixos.orgVincent Ambo1-2/+9
Channel serving has moved to a new subdomain, and the redirect semantics have changed. Instead of serving temporary redirects, permanent redirects are now issued. I've reported this upstream as a bug, but this workaround will fix it in the meantime.
2019-11-27 refactor: Reshuffle file structure for better code layoutVincent Ambo1-1/+1
This gets rid of the package called "server" and instead moves everything into the project root, such that Go actually builds us a binary called `nixery`. This is the first step towards factoring out CLI-based functionality for Nixery.
2019-11-03 feat(popcount): Cache seen narinfos on diskVincent Ambo1-0/+14
2019-11-03 chore: Add missing copyright headers to source filesVincent Ambo1-0/+14
2019-11-03 feat(popcount): Add new narinfo-based popcount implementationVincent Ambo1-0/+256
Adds an implementation of popcount that, instead of realising derivations locally, just queries the cache's narinfo files. The downside of this is that calculating popularity for arbitrary Nix package sets is not possible with this implementation. The upside is that calculating the popularity for an entire Nix channel can now be done in ~10 seconds[0]. This fixes #65. [0]: Assuming a /fast/ internet connection.