Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Scalzi
90588dd23c Upgrade Claritas. 2024-04-07 03:28:55 -04:00
Daniel Scalzi
f9041a6dfc Log which file caused zip analysis failure, upgrade claritas. 2023-02-04 18:03:30 -05:00
Daniel Scalzi
2f143d74a7 Drop support for LiteLoader.
Liteloader is obsolete and abandoned. It is not worth the hassle of maintenance.
2022-02-04 19:17:17 -05:00
Daniel Scalzi
f70c7b6802 Update Claritas - Do not fail when mod's entrypoint is in the default package.
Resolves https://github.com/dscalzi/Nebula/issues/41
2022-01-23 13:54:34 -05:00
Daniel Scalzi
5b0b9fb4fe Fix claritas failure with module-info.
Resolves https://github.com/dscalzi/Nebula/issues/35
2021-09-30 12:07:36 -04:00
Daniel Scalzi
aeda32cf02 Update claritas. 2021-09-28 21:22:04 -04:00
Daniel Scalzi
70bc6b8d5e Upgrade dependencies and java libs. 2021-06-24 18:21:02 -04:00
Daniel Scalzi
b6cb191aca Update Claritas, dependencies. 2020-10-01 21:30:39 -04:00
Daniel Scalzi
7c099f749d Claritas now reports MOD, CORE_MOD, TWEAKER, or UNKNOWN for ForgeMods 1.12-. 2020-09-05 18:52:44 -04:00
Daniel Scalzi
f287388931 Pass arguments to Claritas via an argFile to bypass cli length limits. (#16) 2020-08-02 16:01:04 -04:00
Daniel Scalzi
0e83a071d7 Update claritas integration to support large result sets.
The output is now pulled from a json file.
2020-07-18 00:41:46 -04:00
Daniel Scalzi
0ac31e5eb7 Move claritas invocation to separate function, clean versions in Claritas. 2020-07-16 20:26:22 -04:00
Daniel Scalzi
ea23912a85 Compensate for lack of mod id in litemod claritas resolution.
More tweaks to Claritas.
2020-07-16 20:26:22 -04:00
Daniel Scalzi
bda96eb24e First pass at Claritas implementation.
The resolution logic was reworked so that Claritas only needs to be invoked once per supported type, ie only once for ForgeMod and LiteMod resolutions per server. The resolver now uses identifies module candidates and collects them. Claritas is invoked and the resulting metadata is stored. The module resolution then proceeds with all of this data available.
Toggleable module logic was also reworked to first accumulate all candidates and then process. This required the resolution function to optionally take a preprocess and postprocess callback to perform the necessary cleanup and transformations.
The minor rework was necessary because spawning child process is expensive, and we should only do it as often as we must to keep the application performant.
Claritas resolution also supports exceptions defined by the structure class. This is to facilitate handling of special cases (ex. Optifine).
2020-07-16 20:26:22 -04:00
Daniel Scalzi
21d80fef82 Integrate with PackXZExtract to support pack.xz libs.
All pack.xz libraries now have their MD5s properly calculated.
Sha1 validations are performed on jar libraries. The checksums
forge provides for compressed files are neither the sha1 or md5
of the initial or extracted file. Ignoring those for now.

Still TODO is integration with baseurl. Might move both that
and base path to the .env file to reduce redundency in command processing.
2020-01-12 05:27:35 -05:00