hwatch icon indicating copy to clipboard operation
hwatch copied to clipboard

feat: statically linked version for legacy servers

Open dievilz opened this issue 11 months ago • 3 comments

Hi everyone.. The repo doesn't have a Discussions section, so I'm gonna put it here

My use case is that I have several servers with older versions of everything (glibc, kernel, etc) so it would be easier for me if there is an amd64 statically linked version of this program, if it's possible and know your thougths.

Thanks in advance.

dievilz avatar Jan 30 '25 18:01 dievilz

You can try following one of the following workflows to build that. You could also try contributing such a workflow to hwatch. A useful intermediate step is that you can run it in your fork of hwatch.

https://github.com/ilyagr/diffedit3/blob/313bb3ed096ac4ad2507cb15b94f7d644c6d1728/.github/workflows/release.yml#L22

which is a simplified version of

https://github.com/jj-vcs/jj/blob/faa689a736fe28730476f7a3b521bc3173bd800e/.github/workflows/release.yml#L20

ilyagr avatar Jan 30 '25 21:01 ilyagr

Ok, I'm gonna check it out, thanks for the answer.

Also, I want to suggest to activate the Discussions section, so questions like the one asked here or feature requests can be opened there without cluttering the Issues section.

TIA

dievilz avatar Feb 18 '25 20:02 dievilz

Thank you for opening the issue. I just recently changed jobs, so I haven't had any time.

I believe the issue raises the following two points:

  • The Discussions feature is not enabled in this repository.
  • A statically linked binary for amd64 is desired.

My responses are as follows:

I wasn’t aware of this feature, so I hadn’t used it before, but I’ll try enabling it as an experiment. Since this is related to #180, I’ll add it to the Actions starting from the next release.

blacknon avatar Feb 24 '25 09:02 blacknon