matthiasblaesing commented on PR #5893: URL: https://github.com/apache/netbeans/pull/5893#issuecomment-1528030926
If we really touch the format of the binaries-list file format, we should also make it extensible regarding supported hashing algorithms. @emilianbold started the work here, but never finished: https://github.com/apache/netbeans/pull/1260 We could switch to XML (yeah I know, clunky, but at least not the latest hot shit, established in the code base, extensible). For the download location we need to be careful: a) for the two main sources (maven central and netbeans.osuosl.org) you can override the download server and use a local proxy for example b) the current URLs and download location are pretty stable, we should not add unnecessary download locations, where we can't predict stability The purl-spec looks intersting, of course it leaves enough room for breakage, not specifying how to handle different repositories (we may assume `maven` === `maven central`). For SNAPSHOTS: It is not true, that snapshots change hash (at least on the sonatype staging repository). Consider this: https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/5.12.0-SNAPSHOT/jna-5.12.0-20220609.181817-3.jar this is the third snapshot I created for the then upcoming 5.12.0 version. Of course this is only as stable as your repository makes it. So IMHO this is already a fixed case. The -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
