depot/tools/nixery/popcount/popcount.go, branch refs/r/8782 monorepo for the virus lounge http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F8782 2022-04-20T15:31:16+00:00 chore(nixery): Housekeeping for depot compatibility 2022-04-20T15:31:16+00:00 Vincent Ambo mail@tazj.in 2022-04-20T14:41:20+00:00 urn:sha1:6716bf018c465f4b943eef0e6716caa7a54940da Cleans up a whole bunch of things I wanted to get out of the door right away: * depot internal references to //third_party/nixery have been replaced with //tools/nixery * cleaned up files from Github * fixed SPDX & Copyright headers * code formatting and inclusion in //tools/depotfmt checks Change-Id: Iea79f0fdf3aa04f71741d4f4032f88605ae415bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5486 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> feat(build): Run `go vet` as a step in the GitHub Actions workflow 2021-04-30T11:27:59+00:00 Vincent Ambo tazjin@google.com 2021-04-30T11:01:16+00:00 urn:sha1:768f3986a9399c82fc61ddcd4865d10f3bb93351 fix(popcount): Accommodate upstream changes on nixos.org 2020-07-25T13:43:21+00:00 Vincent Ambo tazjin@google.com 2020-05-01T11:47:31+00:00 urn:sha1:987a90510aca61e429ac659e510cbc51de9ae0bb 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. refactor: Reshuffle file structure for better code layout 2019-11-27T14:12:38+00:00 Vincent Ambo tazjin@google.com 2019-11-11T21:07:16+00:00 urn:sha1:2b82f1b71a50b8b1473421cce0eec1a0d7ddc360 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. feat(popcount): Cache seen narinfos on disk 2019-11-03T01:33:36+00:00 Vincent Ambo tazjin@google.com 2019-10-31T17:48:56+00:00 urn:sha1:05b5b1718a4b9f251d51767a189905649ad42282 chore: Add missing copyright headers to source files 2019-11-03T01:33:36+00:00 Vincent Ambo tazjin@google.com 2019-10-31T17:35:15+00:00 urn:sha1:6a2fb092a72be70c173b756e5cb2276a542a09df feat(popcount): Add new narinfo-based popcount implementation 2019-11-03T01:33:36+00:00 Vincent Ambo tazjin@google.com 2019-10-31T17:29:59+00:00 urn:sha1:b03f7a1b4dff4780a8eaeb5c261598d422551220 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.
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<feed xmlns="http://www.w3.org/2005/Atom">
<title>depot/tools/nixery/popcount/popcount.go, branch refs/r/8782</title>
<subtitle>monorepo for the virus lounge</subtitle>
<id>http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F8782</id>
<link rel="self" href="http://code.tvl.fyi/depot/atom?h=refs%2Fr%2F8782"/>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/"/>
<updated>2022-04-20T15:31:16+00:00</updated>
<entry>
<title>chore(nixery): Housekeeping for depot compatibility</title>
<updated>2022-04-20T15:31:16+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
</author>
<published>2022-04-20T14:41:20+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=6716bf018c465f4b943eef0e6716caa7a54940da"/>
<id>urn:sha1:6716bf018c465f4b943eef0e6716caa7a54940da</id>
<content type="text"> Cleans up a whole bunch of things I wanted to get out of the door right away: * depot internal references to //third_party/nixery have been replaced with //tools/nixery * cleaned up files from Github * fixed SPDX & Copyright headers * code formatting and inclusion in //tools/depotfmt checks Change-Id: Iea79f0fdf3aa04f71741d4f4032f88605ae415bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/5486 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: tazjin <tazjin@tvl.su> </content>
</entry>
<entry>
<title>feat(build): Run `go vet` as a step in the GitHub Actions workflow</title>
<updated>2021-04-30T11:27:59+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2021-04-30T11:01:16+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=768f3986a9399c82fc61ddcd4865d10f3bb93351"/>
<id>urn:sha1:768f3986a9399c82fc61ddcd4865d10f3bb93351</id>
<content type="text"> </content>
</entry>
<entry>
<title>fix(popcount): Accommodate upstream changes on nixos.org</title>
<updated>2020-07-25T13:43:21+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2020-05-01T11:47:31+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=987a90510aca61e429ac659e510cbc51de9ae0bb"/>
<id>urn:sha1:987a90510aca61e429ac659e510cbc51de9ae0bb</id>
<content type="text"> 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. </content>
</entry>
<entry>
<title>refactor: Reshuffle file structure for better code layout</title>
<updated>2019-11-27T14:12:38+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2019-11-11T21:07:16+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=2b82f1b71a50b8b1473421cce0eec1a0d7ddc360"/>
<id>urn:sha1:2b82f1b71a50b8b1473421cce0eec1a0d7ddc360</id>
<content type="text"> 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. </content>
</entry>
<entry>
<title>feat(popcount): Cache seen narinfos on disk</title>
<updated>2019-11-03T01:33:36+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2019-10-31T17:48:56+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=05b5b1718a4b9f251d51767a189905649ad42282"/>
<id>urn:sha1:05b5b1718a4b9f251d51767a189905649ad42282</id>
<content type="text"> </content>
</entry>
<entry>
<title>chore: Add missing copyright headers to source files</title>
<updated>2019-11-03T01:33:36+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2019-10-31T17:35:15+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=6a2fb092a72be70c173b756e5cb2276a542a09df"/>
<id>urn:sha1:6a2fb092a72be70c173b756e5cb2276a542a09df</id>
<content type="text"> </content>
</entry>
<entry>
<title>feat(popcount): Add new narinfo-based popcount implementation</title>
<updated>2019-11-03T01:33:36+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
</author>
<published>2019-10-31T17:29:59+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=b03f7a1b4dff4780a8eaeb5c261598d422551220"/>
<id>urn:sha1:b03f7a1b4dff4780a8eaeb5c261598d422551220</id>
<content type="text"> 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. </content>
</entry>
</feed>