Slice 6 of the dep-fetcher plan wired engine.install_root() and
engine.config(key) as Lua-level bindings. Use them when available;
keep the slice-5 env-var + hardcoded-URL fallbacks so this lib still
loads correctly under engines that pre-date the bindings.
Resolution chain is now:
install_root : opts -> engine.install_root() -> SPOREL_INSTALL_ROOT
gitea_base : opts -> engine.config('gitea_base') -> hardcoded default
No version bump: behavior unchanged for callers that pass opts.* or
that run under engines without the new bindings.
22 KiB
22 KiB