oxidecomputer / buildomat

a software build labour-saving device
Mozilla Public License 2.0
53 stars 2 forks source link

Buildomat serves some artifacts at surprising additional URLs #45

Open jgallagher opened 8 months ago

jgallagher commented 8 months ago

From this omicron build, the rot-all.zip.parta link is https://buildomat.eng.oxide.computer/wg/0/artefact/01HHTZPQ6DY4MZ0KVZFN2X2NHQ/ZXfeWEORzepdonQ3WOeUYdN5pk5TzqRX55vL9m80MrXbzJp7/01HHTZQ06MEN16Z17P40AT2Z6F/01HHV4ZB0JPWPZ7K42WCY97AN8/repo-rot-all.zip.parta. If I change the suffix of that URL to .zip.sha256.txt (which is another file produced by that build) but don't change the IDs leading up to it (https://buildomat.eng.oxide.computer/wg/0/artefact/01HHTZPQ6DY4MZ0KVZFN2X2NHQ/ZXfeWEORzepdonQ3WOeUYdN5pk5TzqRX55vL9m80MrXbzJp7/01HHTZQ06MEN16Z17P40AT2Z6F/01HHV4ZB0JPWPZ7K42WCY97AN8/repo-rot-all.zip.sha256.txt), buildomat still serves the repo-rot-all.zip.parta file. This was confusing when using curl -O, because I ended up with a 1 GiB file named repo-rot-all.zip.sha256.txt.