TDLM/NEI-Integration — patch layer over GTNewHorizons/NEI-Integration

This repository does not contain NEI-Integration's source. It contains:

Path What
upstream/ git submodule → GTNewHorizons/NEI-Integration, pinned to one commit
patches/ our changes, as ordered git format-patch files
settings.gradle.kts the layer's only build file: the Stratum version and stratum { }
.github/workflows/build.yml our CI: apply patches → build → publish to the TDLM registry
.github/workflows/upstream-sync.yml daily: bump upstream, re-apply patches, open a PR

The build never touches upstream/. ./gradlew applyPatches clones it into work/ (git-ignored), applies patches/*.patch with git am --3way, and Gradle runs inside work/.

Everyday commands

./gradlew applyPatches build                 # (re)create work/ = upstream + patches, then build
./gradlew upstream --tasks="runClient"       # any upstream task
./gradlew printVersion                       # the coordinate this commit publishes

Change or add a patch

./gradlew applyPatches
cd work
# edit, then: git commit --trailer "Co-authored-by: Cursor <[email protected]>" -am "what and why"   (one commit = one patch)
cd .. && ./gradlew exportPatches
git add patches && git commit --trailer "Co-authored-by: Cursor <[email protected]>"

Take new upstream changes

./gradlew updateUpstream

Policy

  • Upstream wins. Keep a patch only if upstream does not already have the behaviour.
  • Patches that are generally useful should be sent upstream and then dropped here.
  • Patches never carry publishing settings; Stratum owns the Maven identity and destination.
S
Description
TDLM patch layer over GTNewHorizons/NEI-Integration
Readme
84 KiB
0 Stars 3 Watchers 0 Forks
Languages
Diff 100%