NixOS JVM | 138 Members | |
| 29 Servers |
| Sender | Message | Time |
|---|---|---|
| 30 Oct 2024 | ||
| (IANAL though) | 17:57:22 | |
| ok Debian have a Java team so I'll say it's okay :) | 18:00:11 | |
| I hate that Java's idea of a package manager is downloading prebuilt binary blobs | 18:15:20 | |
| can we just rewrite every single Gradle build in the tree please? | 18:15:34 | |
it turns out that our current deps.json literally cannot be reproduced | 18:18:06 | |
| because JCenter died and they just, killed all the jars I guess | 18:18:14 | |
so even though I fixed it for modern Gradle there is just no way to get the jd-core JAR it wants except using the one we build ourselves and I am not sure I can be bothered to figure out how to tell Gradle to use something local | 18:18:47 | |
| bah. never mind I looked it up in a moment of weakness and it's easy. | 18:19:47 | |
oh but we don't even build jd-core for jd-cli! | 18:21:15 | |
and jd-cli's FOD is also not reproducible because it also fetches it from JCenter! | 18:22:27 | |
| so we actually should drop that one too | 18:22:40 | |
| I kind of suspect we'd find that half the Java applications we build can't even be reproduced now | 18:23:00 | |
fwiw jd-core is not mirrored to any other repositories according to mvnrepository.com | 18:26:19 | |
| it's not clear if there are any complete mirrors of JCenter, so that's kind of worrying in terms of reproducibility of our Java packages | 18:26:34 | |
| Tracking issue time! 🙃 | 18:27:06 | |
| not on Wayback either: https://web.archive.org/web/20240000000000*/https://jcenter.bintray.com/org/jd/jd-core/1.1.3/jd-core-1.1.3.pom | 18:27:23 | |
| I'm surprised nobody tried to archive it | 18:27:28 | |
| we really need to find a way to build Java dependenciees from source | 18:27:46 | |
| * we really need to find a way to build Java dependencies from source | 18:27:48 | |
source is very likely to get archived or have another source, random mystery meat .jars are bad for supply-chain security and bad for longevity | 18:28:05 | |
| anyway yeah just yeet both the GUI and the CLI. tragic but nothing we can easily do | 18:28:54 | |
unless someone wants to write a from-source jd-core package | 18:29:20 | |
In reply to @emilazy:matrix.orgsketch of a solution: we MITM to file:/// and maintain a reverse DNS → Nixpkgs package mapping | 18:31:10 | |
| dunno if Gradle supports a more "native" way of doing this | 18:31:19 | |
looks like there's some flatDir thing for getting deps from the fs | 18:32:03 | |
| not sure how bad the incompatible version proliferation is in Java | 18:32:25 | |
| anyway if you update the PR to drop the CLI too I'll merge :( | 18:35:47 | |
| there's actually a jar at https://github.com/java-decompiler/jd-core/releases. we could use that, if we care. | 18:56:29 | |
| the actual Gradle fixes were trivial
| 18:56:52 | |
| Ultimately up to you whether or not to update it | 20:14:01 | |