keturn

joined 1 year ago
[–] [email protected] 1 points 2 months ago (1 children)

uh, because TypeScript is an object-oriented language, as are the Deno APIs? I'm not sure I understand the question.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

differently hacky idea:

since you do end up with all the packages in a repository on the filesystem, and you just want to have it do this just-in-time updating when the Packages file is accessed...

what if you list it as a normal file apt source, but you make the Packages file a FIFO?

it's a cursed idea but I'm not sure it is any less cursed than the other options we've come up with.

it may or may not help to have systemd.socket manage creating the FIFO and running the service.

[–] [email protected] 3 points 2 months ago (4 children)

I went way down the rabbit hole on this one and ended up with a proof of concept that's probably close enough to be able to wire it up: https://gitlab.com/-/snippets/3745244

I guess it didn't end up too much code, but I'm not entirely sure it's worth it.

(it's after 3 AM? oh no what have I done)