Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven repo latest reference gone #36

Open
nothub opened this issue May 15, 2023 · 5 comments
Open

maven repo latest reference gone #36

nothub opened this issue May 15, 2023 · 5 comments

Comments

@nothub
Copy link

nothub commented May 15, 2023

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?

@boldandbrad
Copy link

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

@ghost
Copy link

ghost commented Dec 22, 2023

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.

@boldandbrad
Copy link

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.

@ghost
Copy link

ghost commented Dec 22, 2023

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

@nothub
Copy link
Author

nothub commented Dec 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants