nostr-rs-relay icon indicating copy to clipboard operation
nostr-rs-relay copied to clipboard

Provide binaries for releases

Open Asone opened this issue 1 year ago • 3 comments

Hi,

I'm currently trying to install nostr-rs-relay. However i'm having a hard time with both options described in the README, be it with or without Docker.

I don't fear too much as i'm used to handle such difficulties so i'll get through it.

However i am a bit surprised that no binaries are provided for the releases to allow people to just download an go with the service, which helps people with few rust knowledge to avoid headaches regarding compilation.

Could it be a possible option to provide some binaries when shipping releases ? This is what i did for nostrss. You can find the Github actions to ship the binaries as assets on release on this Github action file

Many thanks

Asone avatar Apr 17 '23 07:04 Asone

Good idea, but this is going to be a little bit more difficult than just pulling in your excellent example, I think. It did not seem like the cross docker images had a recent enough version of protobuf-compiler for our setup here. I will keep playing with it, but it seems like we either need a new base image, or to not use cross and limit the release to a single platform.

scsibug avatar Jul 03 '23 17:07 scsibug

I'm running the relay on a shared server (no docker available, just good old linux) and I have to compile it on the server itself. I feel a bit uncomfortable about that, but they didn't complained, yet. They also have an older glibc version which gave me some headache as well, but it compiled. Would be nice to have pre-built versions.

mstoecklein avatar Nov 22 '23 11:11 mstoecklein

Builds are available from sourcehut; example: https://builds.sr.ht/~gheartsfield/job/1105920

Still planning on producing binaries for releases, I'll try to do that for the next one. Not 100% sure where to host it yet. The sourcehut binaries are pruned after 90 days, so that won't work; but perhaps I can attach to the tagged release over there.

scsibug avatar Dec 02 '23 15:12 scsibug