quilt-installer icon indicating copy to clipboard operation
quilt-installer copied to clipboard

maven repo latest reference gone

Open nothub opened this issue 1 year ago • 5 comments

I use the latest reference in the maven repo to download the installer with the mrpack-install tool. This reference is now gone (see #18). Will this reference be restored, should I parse the maven-metadata.xml or is there another recommended way to fetch the latest version?

nothub avatar May 15 '23 08:05 nothub

This still appears to be an issue. I'm looking for a simple and reliable way to download the installer from the command line (ubuntu server). Used to be able to just pull the jar from the latest url on maven

boldandbrad avatar Dec 21 '23 18:12 boldandbrad

You can use https://quiltmc.org/api/v1/download-latest-installer/java-universal, although I'm not sure this interface has guaranteed support as the person working on this API left. Hopefully someone can confirm.

ghost avatar Dec 22 '23 02:12 ghost

Both curl and wget were giving me corrupted jar files when using that url. Not sure if there is a particular request type, headers, or options required to properly get the jar from that endpoint.

boldandbrad avatar Dec 22 '23 15:12 boldandbrad

I cannot reproduce on Windows. Are you using the flags required to follow redirects?

ghost avatar Dec 22 '23 18:12 ghost

Not sure if there is a particular request type, headers, or options required to properly get the jar from that endpoint.

With curl you can use the -L flag to follow redirects.

nothub avatar Dec 30 '23 16:12 nothub