-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix #5 and add local mode for testing #21
base: main
Are you sure you want to change the base?
Conversation
…ishes intermediary, we can't provide reliable info)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hopefully someone from infra can review this
@@ -11,6 +11,7 @@ public final class Constants { | |||
static final String USER_AGENT = "update-quilt-meta/" + TOOL_VERSION; | |||
|
|||
static final String GROUP = "org.quiltmc"; | |||
static final boolean TESTING = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You probably wanted to set this to false, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes!
conn.connect(); | ||
library.size = conn.getContentLength(); | ||
} catch (IOException e) { | ||
// this cannot be a hard crash because of a funny quirk: the json on quilt loader 0.17.5-beta.4 is completely broken and has ${version} instead of the real versions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it might be better to just go and finally drop the thing entirely - at least from meta if not from the Maven.
But doing that this way (by catching the error afterwards) also makes the generated files somewhat nondeterministic if intermittent download failures appear, which aren't too uncommon. For the same reason, you probably want to retry downloads once or twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, i believe pyro said they'd go in and drop it after i asked -- i haven't checked if it's actually been removed
[20 seconds later rai talking now say hi] it hasn't been removed yet. i'll make sure it happens so this code can be removed
i probably should have done two PRs here, but at least it's neatly separated by commits!
example changes to a file: (using https://meta.quiltmc.org/v3/versions/loader/1.14.4/0.27.0)
todo: