Gypsum
Gypsum copied to clipboard
update.pike not downloading client
Receiving the following when running update.pike
Downloading latest code...
%% Failed to download latest code
%% Failed to download latest code
%% Failed to download latest code
I can reach it via my browser, however...
https://codeload.github.com/Rosuav/Gypsum/zip/master
I was able to manually download the file and run it.
Windows is becoming harder and harder for me to support. I don't know what the issues are, and I suspect it's to do with SSL certificates (since Pike relies on the root certificates provided by Microsoft - it doesn't ship its own, the way browsers do, since that requires constant updates).
One "solution" would be to try to fetch this via an unencrypted connection. Don't know if that's even possible. Another would be to just give up on having automatic updates on Windows. A third would be to actually ask everyone to do things properly and install git.
Windows is a pain.
Sounds like a job for containers!
If people want to run Gypsum in a container, sure, but they don't help me to develop it, since I don't want to bundle certs with it. The problem is that Microsoft isn't shipping a viable set of root certs. I've seen the Python requests
module deal with this too, and it's not an easy thing to fix. Microsoft, pls fix.
I suppose a next best would be if I could guarantee to be able to find a curl or equivalent that could do the downloading for me, but I have no idea what I can actually depend on.
https://4sysops.com/archives/use-powershell-to-download-a-file-with-http-https-and-ftp/
Wait wait wait.... Microsoft is shipping wget??