<tilpner>
garbas: I don't anymore, but I wrote a module to mirror NixOS channels, which relies on store-paths.xz. I sent that module to monokrome after they expressed an interest in doing the same, and we noticed it no loner works because store-paths.xz no longer exists
<ikwildrpepper>
tilpner: is the mirror code somewhere public?
<gchristensen>
I would very much like to avoid using lambda
<garbas>
me too, but i don't see the eaier solution then this
<gchristensen>
how about "not doing it"
<gchristensen>
is it possible to not do it?
<garbas>
it is a bit weird that we only redirect some parts of the url but not others. i think this is where confusion is.
<garbas>
we can leave it as it is and just explain how things work
<garbas>
and how to work around them
<garbas>
s/them/limitations/
<gchristensen>
or solve the problem differently, like opening an issue with netlify, or maybe something other than netlify
<garbas>
this is not a netlify issue.
<gchristensen>
ah
<garbas>
it is about nix-channels s3 bucket
<garbas>
netlify redirects correctly nixos.org/channels/:splat to channels.nixos.org/:splat
<garbas>
but aws s3 does not support this kind of redirects. you can only create objects in s3 cache to redirect
<garbas>
we used s3 bucket (for channels.nixos.org) out of convinience since channel script already knew how to handle s3 buckets
<garbas>
gchristensen: out of curiosity, why are you against aws lamda@edge?
<gchristensen>
it adds so much complication, and moves us to spooky action at a distance. everything about how the bucket and the cache works is so clear and easy to follow, and this takes it a step beyond I think
<gchristensen>
and s3-likes no longer become viable alternatives
<samueldr>
what's the issue with that redirection? can't we redirect it like we do other elements of the bucket?
<tilpner>
garbas: That's a workaround, and yes, it might work
<tilpner>
garbas: I'm just reporting breakage of a URL that worked before, assuming it would need fixing
<tilpner>
garbas: How does https://channels.nixos.org/nixos-19.09 work? It redirects to releases.n.o, but applying the same rewrite to the full URL doesn't work?
<tilpner>
(I'll note again that this is a module I no longer use, I'm not looking to fix it)