14 Jul 2025 |
K900 | It's not centered | 15:41:23 |
hexa | https://github.com/NixOS/nixos-status/commits/main/ | 15:43:07 |
hexa | I have a suspicion | 15:43:10 |
Zhaofeng Li | (from #users:nixos.org ) What's the best/most police way to get the history of channel bumps these days? Is listing the nix-releases bucket polite enough? https://status.nixos.org queries https://prometheus.nixos.org which I presume is not intended to be consumed by others | 16:20:49 |
Zhaofeng Li | * (from #users:nixos.org ) What's the best/most polite way to get the history of channel bumps these days? Is listing the nix-releases bucket polite enough? https://status.nixos.org queries https://prometheus.nixos.org which I presume is not intended to be consumed by others | 16:21:19 |
hexa | Polling it in reasonable intervals is fine | 16:21:43 |
hexa | Ideally we'd have a pubsub service | 16:22:55 |
Zhaofeng Li | You mean listing the bucket? | 16:23:33 |
Zhaofeng Li | * You mean listing the bucket? I can cook up some promql, but that feels a bit awkward | 16:24:00 |
hexa | it is a public api 🤷 | 16:24:15 |
hexa | prom | 16:24:23 |
| relichunter joined the room. | 18:52:52 |
Arian | https://releases.nixos.org/?prefix=nixpkgs/
Shows all channel bumps | 19:36:36 |
dramforever | it's a little bit annoying | 19:37:24 |
dramforever | that page is just a javascript that pulls from s3 | 19:37:34 |
Arian | Visiting that website literally equivalent to listing the bucket iirc .
I think the cost here is neglibile and you can probably just do listBucket on the bucket directly? | 19:37:46 |
dramforever | yeah just use your favorite s3 library | 19:38:35 |
dramforever | to handle like pagination and stuff | 19:38:48 |
Arian | `aws s3 ls s3://nix-releases --region us-east-1 --no-sign-request` should work | 19:40:24 |
Zhaofeng Li | Yeah, that's why I asked whether listing is fine | 19:41:09 |
dramforever | just pull it less often | 19:41:35 |
Arian | Yeh should be totally fine
It's $0.005 per 1000 ListObject requests.
Each ListObject returns 1000 results.
| 19:46:19 |
Arian | So listing a million objects costs us half a cent | 19:46:54 |
| Matthew Kenigsberg joined the room. | 20:23:20 |
Matthew Kenigsberg | Mic92: thanks for the help on https://github.com/NixOS/nixos-homepage/issues/1614! We'll need a GH action to upload artifacts to gh-releases.nixos.org - how should I authenticate to gh-releases.nixos.org? | 20:26:13 |
Mic92 | @matthewkenigsberg:matrix.org: we renamed it to artifacts.nixos.org | 21:24:35 |
Mic92 | One just upload to GitHub | 21:24:51 |
Matthew Kenigsberg | Like with actions/upload-artifact@v4? And that will end up on http://artifacts.nixos.org/? | 21:27:51 |
hexa | shock-wave: mail delivery seems to be working again | 21:38:33 |
Mic92 | @matthewkenigsberg:matrix.org: https://github.com/NixOS/infra/blob/b2cb376a37b84e82c9a2dd16a575a02b445b8b41/terraform/artifacts.tf#L3 | 21:53:03 |