| 23 Apr 2024 |
Sigmanificient | * I managed to simplify my script a lot by using the auto redirect link, now it outputs a json of both package and options count.
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq brotli
function parse_unstable_json() {
local url="https://channels.nixos.org/nixos-unstable/$1.json.br"
echo $(curl -L "$url" | brotli -d --stdout | jq "$2")
}
pkg_count=$(parse_unstable_json "packages" ".packages | length")
opt_count=$(parse_unstable_json "options" "length")
echo "{ 'packages': $pkg_count, 'options': $opt_count }" | tr "'" '"'
which gives the following stats: { "packages": 111413, "options": 18524 } 👀
| 15:49:58 |
| 24 Apr 2024 |
| @stablejoy:matrix.org changed their profile picture. | 08:59:08 |
avocadoom | I won't be able to make it to the meeting, sorry | 19:00:02 |
| 25 Apr 2024 |
garbas | thilobillerbeck (avocadoom): Would it be ok to merge https://github.com/NixOS/nixos-homepage/pull/1399 as it is now ... and you open new PR with more cleanups? Just to save you time on rebasing and resolving conflicts. | 08:09:36 |
avocadoom | In reply to @garbas:matrix.org thilobillerbeck (avocadoom): Would it be ok to merge https://github.com/NixOS/nixos-homepage/pull/1399 as it is now ... and you open new PR with more cleanups? Just to save you time on rebasing and resolving conflicts. There are two minor regressions I noticed that I'd like to fix beforehand, but then sure 👍 | 08:12:09 |
| @tim92:matrix.org left the room. | 12:28:34 |
| NixOS Moderation Bot banned jonringer (Banned until 2024/06/10 after deliberation of the Moderation team). | 21:11:59 |
| SomeoneSerge (matrix works sometimes) changed their display name from SomeoneSerge (void) to SomeoneSerge (UTC+1). | 23:01:10 |
| 26 Apr 2024 |
samrose | What's a good way to request the possible sharing of this post https://supabase.com/blog/nix-postgres on https://www.linkedin.com/company/nixos-foundation/posts/?feedView=all and https://twitter.com/nixos_org (if this is appropriate content for those social media feeds. If not, totally understood) ? | 03:26:56 |
tomberek | usually, it would have to be a Discourse post | 03:27:37 |