PolyMC Metadata generation scripts

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

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.