!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

227 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

Load older messages


SenderMessageTime
17 Mar 2024
@roberthensing:matrix.orgRobert Hensing (roberth)For it to go missing would be bad13:51:08
@infinisil:matrix.orginfinisilBoth behaviours could be useful13:51:30
@infinisil:matrix.orginfinisilThough I guess it's rare that you'd be okay with not getting a match, or a different match, if there's a build failure13:52:13
@infinisil:matrix.orginfinisilSo fair13:52:18
@roberthensing:matrix.orgRobert Hensing (roberth)It could be updated through the channel update process, but the data should be available on non-channel branches13:52:30
@roberthensing:matrix.orgRobert Hensing (roberth) I mean the hydra-based channel update process, not nix-channel 13:54:23
@infinisil:matrix.orginfinisilI don't see how that could work. Somebody needs to do the processing, and it won't work for every commit13:54:25
@infinisil:matrix.orginfinisilYeah how channels work isn't ideal, but the basic idea of having more slowly updating references that are tested is a good idea, and can't be replaced with git branches13:56:04
@infinisil:matrix.orginfinisil * Yeah how channels work isn't ideal, but the basic idea of having more slowly updating references that are tested is a good idea, and can't be replaced with git branches only13:56:09
@roberthensing:matrix.orgRobert Hensing (roberth) I think this solution is worth considering because it's close to how programs.sqlite was traditionally created for the non-git channel tarballs. I'm pretty sure it needs a hydra evaluation, so it may make sense to make it part of that process instead of a separate cron job. 14:00:26
@roberthensing:matrix.orgRobert Hensing (roberth)Basically it changes where the data is written to, instead of changing the whole process14:00:48
@roberthensing:matrix.orgRobert Hensing (roberth)I've never seen the channel script though - I've only heard about what it does, so grain of salt.14:01:21
@infinisil:matrix.orginfinisil Oh I see what you mean, so instead of putting programs.sqlite in the channel release, it's committed to the source directly 14:01:47
@roberthensing:matrix.orgRobert Hensing (roberth)Yeah14:01:59
@roberthensing:matrix.orgRobert Hensing (roberth)I don't think that script is in Nixpkgs, or is it?14:02:08
@roberthensing:matrix.orgRobert Hensing (roberth) * I don't think that script is in nixpkgs, or is it? 14:02:21
@infinisil:matrix.orginfinisil Robert Hensing (roberth): https://github.com/NixOS/nixos-channel-scripts 14:02:35
@infinisil:matrix.orginfinisilPretty sure14:02:40
@infinisil:matrix.orginfinisil Can't say I'm a fan of the idea, or at least it won't quite work as is. If you run Hydra for commit X, it calculates programs.sqlite for it, but now you need to push it with commit X+1. If you publish commit X as the channel update, people won't get the latest programs.sqlite. 14:05:14
@k900:0upti.meK900Indeed 14:05:02
@k900:0upti.meK900Putting it into nixpkgs is a bad idea14:05:23
@k900:0upti.meK900Unless we add LFS14:05:32
@infinisil:matrix.orginfinisil Could be fixed by publishing X+1 instead, which probably requires extra permission to do a direct git push to master 14:05:46
@k900:0upti.meK900But adding LFS is also a bad idea 14:05:38
@infinisil:matrix.orginfinisil Ultimately it just feels like git commits is not the tool for this due to their immutability 14:06:33
@infinisil:matrix.orginfinisil I guess you could use git notes, which can be attached to commits after the fact 14:06:58
@roberthensing:matrix.orgRobert Hensing (roberth) It already writes to a bucket, so it could just be a package that fetches from channels.nixos.org or something 14:07:25
@k900:0upti.meK900Honestly I'd much prefer the whole CNF database to exist outside of the channels entirely 14:07:01
@k900:0upti.meK900And probably not be versioned at all 14:07:14
@k900:0upti.meK900And be updated incrementally14:07:23

Show newer messages


Back to Room ListRoom Version: 9