@seancorfield Thank you for reporting https://github.com/littleli/scoop-clojure/issues/2 The fix landed in master. You should be good to update.
@ales.najmann Do I take it from your comment that the scoop update clojure
won't detect new versions and won't automatically perform updates, unless you manually update the manifest each time?
Yes. Scoop compares the version on your drive, with version from the git and if it detects new version it proceeds with update.
checkver which is a tool that scoop provides for 'admin' to check for newer version is not working very well or I don't understand how to use it properly. But manifest needs to be updated (by hand) anyway.
Is making this something the clj build can do?
It is an interesting question. Scoop is fairly simplistic, but it is still in charge of managing those manifests.
Happy to add something to the process but don’t know what needs to be done
Let me think little bit, maybe I'll come with something.
(1) could be github releases, but it's probably solution to only single problem. problem with version checker. (2) brave idea: generate scoop-clojure manifest with every release.
If clj-for-windows decided to standardize on Scoop for packaging/deployment, (2) would be a natural result of that, yes?
(that's been the big open question around the PS script)
It doesn’t even have to be “standard”. We can make N things as easily as 1
If it’s just generating a file, give me the template
@ales.najmann That would be https://github.com/littleli/scoop-clojure/blob/master/clojure.json right? Don't know how you make the hash value tho'...
(and then that could be hosted on a clojure org GH repo)
We have a CDN for everything else already
Is that hash the sha?
Or rather does it need to be some specific thing or just something unique?
it is sha256sum of the zipfile. I actually manually compute it with command:
shasum.cmd -a 256 -p .\clojure-tools-1.10.1.486.zip
There is basically how scoop checks for versions https://github.com/lukesampson/scoop/wiki/App-Manifest-Autoupdate#adding-autoupdate-to-a-manifest but it is not nice reading