Slackbot
11/19/2022, 6:52 PMthadhouse
11/19/2022, 6:59 PMThomas Broyer
11/19/2022, 11:08 PMmavenCentral()
before the gradlePluginPortal()
? and/or configure those repositories with content filtering to only pick from the Plugin Portal what it's actually capable of serving?thadhouse
11/19/2022, 11:14 PMthadhouse
11/19/2022, 11:15 PMThomas Broyer
11/19/2022, 11:19 PMThomas Broyer
11/19/2022, 11:20 PMthadhouse
11/19/2022, 11:22 PMthadhouse
11/19/2022, 11:25 PMVampire
11/20/2022, 7:01 PMthadhouse
11/20/2022, 7:52 PMVampire
11/20/2022, 9:33 PMIf the real jcenter can forward to mavencentral, why can’t the mirror? That argument makes no sense.I didn't say it cannot, I said it does not. Probably because it was brought up as a quick counter-measure during one of the outages and not properly designed as a permant replacement. I didn't make any argument, just answering your question.
Also, yes the actual Java code works fine, but gradle is the whole ecosystem imo.
Using an unreliable service that is built in, and is the default unless you explicitly go out of your way to do other things, should directly be considered part of the build tool.Well, opinions differ. You are surely right to some extent. And to the extent you are right, the service they provide is also good and stable and if something is failing is usually rapidly fixed or worked-around, and they are working on a proper solution to get rid of JCenter completely, it is just not as easy as you might think. But still, depending on a free service someone else provides and for which you neither pay, nor have any SLA, is always risky and can go havoc. It works fine for the most of the time and has a great uptime and if it actually is down and you loose money or whatever because you relied on the free service provided to you, then sorry, imo it is your fault for not having some backup plan like having a caching proxy for the things you need to work. :-)
And as I said later, I didn’t think it was a jcenter issue. That was kind of just a side thing. It was a dependency directly uploaded to the plug-in portal that was failing to download. It was uploaded about 5 minutes before the failure started occurring, so my guess is something was going weird with distributing the new binaries across all the servers. I’d just never seen that happen before, so assumed something was starting to fail in the portal itself.If you think there is something bogus in the portal, you should open an issue at https://github.com/gradle/plugin-portal-requests/issues, this is a community server, so just complaining here might not reach the appropriate ears. ;-)
Vampire
11/20/2022, 9:34 PM