[tools] refactor: update/hash checking scripts, use tags for more deps

Uses tags for a bunch of deps that can use them

Also adds a bunmch of scripts to tools/cpm, notably for checking hashes
and checking for updates.

TODO:
- Documentation
- CI target to check hashes
- Script to update the json directly (dedup)
- Function to filter tags (dedup)
- Weekly CI to check for updates

Need to get that other CI runner up

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter 2025-10-03 16:56:46 -04:00
parent 8cbb3597dc
commit 67f3bf79c1
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
15 changed files with 541 additions and 265 deletions

4
tools/cpm/url-hash.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
SUM=$(wget -q $1 -O - | sha512sum)
echo "$SUM" | cut -d " " -f1