PolyMC Metadata generation scripts

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

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.