PolyMC Metadata generation scripts

Lenny McLennington c38408fe5b Merge pull request #21 from 62832/master пре 6 месеци
caches b0810ce299 chore: drop seemingly unused enumerateForge.py пре 2 година
config 799d5c3b85 refactor: move GIT_SSH_COMMAND into local config пре 2 година
docker 7b08c714c8 chore: Don't mix string and array in argument пре 2 година
meta d370003353 Add better handling of the two bad legacy versions пре 7 месеци
public dc6dc8c496 fix: add public directory пре 2 година
static 664e612ab0 fix: add WoA to rules for LWJGL 3.3.1 пре 1 година
.dockerignore 72029d6f0d feat: add initial Quilt support пре 2 година
.gitignore 05b6144203 Add NeoForge support пре 7 месеци
COPYING d2e7987142 Add MS-PL license пре 10 месеци
Dockerfile f9fc6c02d1 fix: update dependencies пре 2 година
README.md f6175f1983 chore: Remove old README instructions пре 2 година
clone.sh beac3155df chore: Double quote to prevent globbing and word splitting пре 2 година
config.sh 651e432daf fix: use deploy paths in container пре 2 година
docker-compose.local.yaml 1dce769555 fix: mount everything into container пре 2 година
docker-compose.yaml 64e57494b3 fix(docker): add restart to default docker-compose.yaml пре 2 година
generateFabric.py 6d39c8dfe9 refactor: cleanup пре 2 година
generateForge.py 69607f2baa oops пре 9 месеци
generateLiteloader.py 7ab37c8658 refactor: make GradleSpecifier its own class пре 2 година
generateMojang.py fbfccc9e40 update lwjgl variants пре 6 месеци
generateNeoforge.py 71e476dcd5 Add legacy 1.20.1 versions, remove separate hashes dir пре 7 месеци
generateQuilt.py 11138a271f fix: only recommend stable Quilt versions пре 2 година
index.py 031d271d62 chore: Remove unused imports пре 2 година
status.sh 67303c5463 chore: Use `pushd/popd ... || exit` in case pushd/popd fails пре 2 година
update.sh 05b6144203 Add NeoForge support пре 7 месеци
updateFabric.py 07b05bd815 refactor: remove unused metadata пре 2 година
updateForge.py c8fa8f4125 chore: Remove argument when equal to default parameter value пре 2 година
updateLiteloader.py fe4269cb12 fix: ensure base directory of liteloader exists пре 2 година
updateMojang.py 51cdb9b0c4 fix: workaround Mojang forgetting to change all URLs пре 2 година
updateNeoforge.py e51ab78cdf Temporarily fix metadata not being generated for new major versions (e.g. 1.21) пре 6 месеци
updateQuilt.py f7138b416b fix: add debug output for Quilt meta пре 1 година

README.md

PolyMC Meta

Scripts to generate jsons and jars that PolyMC will access.

Deployment

It is recommended to use Docker to deploy the environment.

  • Clone this repo to a server
  • Make sure it's writable by the container later: chown -R 1337:1337 .
  • Configure config/config_local.sh
    • The defaults should be fine (apart from committer email and name perhaps)
  • Put your SSH key (which has push access to meta-upstream and meta-polymc) at config/deploy.key
  • Pull meta- repos: bash clone.sh
  • Customize docker-compose.yaml
  • Run docker-compose up -d --build
  • Observe Cron logs using docker-compose logs -f (Runs hourly by default)
  • (Optional) Run once to fill caches: docker-compose run meta update

For local development you can also use docker-compose.local.yaml. By default it uses UID=1000 and GID=1000. Make sure it's the same as your host instance.