Zeno icon indicating copy to clipboard operation
Zeno copied to clipboard

Multi-platform builds (Linux, Darwin, Windows) and architectures (amd64, arm64)

Open karanngi opened this issue 9 months ago • 8 comments

Add a Goreleaser configuration for multi-platform builds, enabling users to seamlessly run the Zeno on any platform (Linux, Darwin, Windows) and architecture (amd64, arm64) of their choice.

https://goreleaser.com/

karanngi avatar Mar 06 '25 05:03 karanngi

@CorentinB

karanngi avatar Mar 07 '25 11:03 karanngi

Seems like a fine idea, although we should be more clear that we intend Zeno to be used on Linux, and not really on anything else.

CorentinB avatar Mar 07 '25 13:03 CorentinB

How can I contribute to this issue and work hand in hand with you?

Ilurusheshasai avatar Mar 09 '25 19:03 Ilurusheshasai

@CorentinB I was thinking of submitting my GSoC application for the Zeno idea. The idea given is kinda vague, but right now I wanna familiarize myself with the codebase, do you think this would be a good first issue for that, or should I tackle something like #159, #160 or #161, are those issues more pertinent?

shirsakm avatar Mar 11 '25 19:03 shirsakm

There are currently only two factors that prevent Zeno from building and running on Windows and other OS:

  1. Zeno's diskwatcher only uses linux syscall to get the free space size of the PWD.
  2. warclib's DNS configurations is hardcoded to read from /etc/resolv.conf. On some {Linux distributions,containers,OSs} such as Windows, nixos, termux, etc., this path does not exist.

yzqzss avatar Jun 30 '25 02:06 yzqzss

Providing binaries for other platforms does help people try Zeno :) Although, like @CorentinB said, Zeno targets standard Linux, and we cannot guarantee that it will work properly in other environments.

yzqzss avatar Jun 30 '25 02:06 yzqzss

@CorentinB why reopen this issue? Multi-platform builds are working if you look here - https://github.com/internetarchive/Zeno/releases/tag/v2.0.15

willmhowes avatar Sep 04 '25 17:09 willmhowes

@CorentinB why reopen this issue? Multi-platform builds are working if you look here - https://github.com/internetarchive/Zeno/releases/tag/v2.0.15

No actually it was opened, I closed it then realised I wasn't sure so reopened it lol

CorentinB avatar Sep 04 '25 18:09 CorentinB