DimensionalDevelopment / Rift

A lightweight mod loader and API for Minecraft 1.13
MIT License
122 stars 52 forks source link

TODO: versioning, dependencies, and load order #41

Open LemmaEOF opened 6 years ago

LemmaEOF commented 6 years ago

Right now, Rift doesn't have any system for versioning or dependencies. I've made a pull request on this, but don't have any system yet built for load order. Along with that, I'd like to try to see if I can move the SemVer stuff into Rift itself without relying on another system for it. The SemVer library I have is good because it can both validate and compare SemVer versioning, but that can probably be moved in pretty easily. Is there anything else that should be put into the system that people need?

narwhalfire commented 6 years ago

Instead of a map, it'd probably be better to have dependencies in a DAG and just construct it from riftmod.json. Also it seems a little overkill to include a library just for enforcing SemVer when you could easily do so from a RegEx.

LemmaEOF commented 6 years ago

Already done the first part with a Dependency object, and as I mentioned the SemVer should be moved in and simplified.