paradigmmc / mc-modpack-kit Goto Github PK
View Code? Open in Web Editor NEWA template designed to streamline the release process of Minecraft modpacks.
License: Creative Commons Zero v1.0 Universal
A template designed to streamline the release process of Minecraft modpacks.
License: Creative Commons Zero v1.0 Universal
Is your feature request related to a problem? Please describe.
I'm making a large modpack, I have multiple places where i include the version of the pack. (In pack.toml, On the main menu, in the Better Compatibility Checker, etc.)
Describe the solution you'd like
I think it would be nice if there was a file where we can manually include the files where we want to update the files.
Release please already has a way to do this, but I'm not sure how this would apply to mc-modpack-kit
https://github.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files
When uploading a pack to modrinth the changelog is empty and just says null
mc-modpack-kit
As the sole maintainer of mc-modpack-kit
, I've encountered significant challenges in managing this GitHub Actions "template" project. Recently, I've been struggling to allocate sufficient time for its maintenance.
Please note: While I will continue maintaining this template for the time being, it's unlikely to be a long-term solution. I prioritize addressing the issues at hand first.
As someone on HackerNews points out:
- Program with github actions. Google "how can I send an email with github actions?" and then plug in some marketplace tool to do it. Your workflows grow to 500-1000 lines and start having all sorts of nonsense like conditionals and the YAML becomes disgusting and hard to understand. Github actions becomes a nightmare and you've invited vendor lock in.
- Configure with github actions. Always ask yourself "can I push this YAML complexity into a script?" and do it if you can. Send an email? Yes, that can go in a script. Your workflow ends up being about 50-60 lines as a result and very rarely needs to be changed once you've set up. Github actions is suddenly fine and you rarely have to do that stupid push-debug-commit loop because you can debug the script locally.
For a detailed exploration of these issues, check out this video:
Given the challenges posed by maintaining a GitHub Actions project, I'm considering a shift towards Nix, which has gained popularity recently. This move offers several advantages, including:
The other actions like bumping versions could be simplified.
A robust but simple pipeline could be achieved.
And as @logamaster said on the Discord:
I say make a simple one file action.
It just reads a release from github and pushes the result.
So using the tag value, push to Modrinth and CurseForge or when a tag is pushed build and set up the result.
This could be done with nix
Considering the challenges in managing a GitHub Actions project, I'm contemplating exploring alternatives like Nix, though the extensive rework required raises concerns about time constraints at least for me, since I have other stuff to do.
Describe the bug
When running the set version workflow it fails
To Reproduce
Steps to reproduce the behavior:
Additional context
Run git commit --allow-empty -m "chore: release v0.3.0" -m "Release-As: v0.3.0
git commit --allow-empty -m "chore: release v0.3.0" -m "Release-As: v0.3.0
shell: /usr/bin/bash -e {0}
/home/runner/work/_temp/bfbe7fc6-da1d-4d30-8d27-685ff7f79927.sh: line 1: unexpected EOF while looking for matching `"'
Error: Process completed with exit code 2.`
Oops
So!
I have been thinking of migrating the template structure to resamble a monorepo
This could help a lot when doing stuff with multiple versions of the modpack, e.g. when you have a fabric and quilt version of your pack
The other improvement this would yeild is that in general this would make mc-modpack-kit hell a lot more modular
Add better mcman support
mcman export packwiz
exports the pack metadata file inside pack
folder by default, ie. pack/pack.toml
mcman export mrpack
can be used to generate an mrpackMODPACK_VERSION
in server.toml
Describe the bug
Each time a commit is made onto main, the commit itself will cause a publish to occur rather than updating a pull request.
Expected behavior
It should make a pull request and not publish.
Describe the bug
just updated my pack and ran into that error message in the Build Modpack Step
error: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I)
at «none»:0: (source not available)
Error: The process '/nix/var/nix/profiles/default/bin/nix-env' failed with exit code 1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
it should work
Additional context
pipeline that errored
https://github.com/Fauli1221/PonyCraftANewGenerationVanilla/actions/runs/8480132868/job/23235321967
Is it possible to have both client and server versions of one pack at the same time and released together for a new version ?
Describe the solution you'd like
ci: Add more ::notice status notifications in pipeline.yml
and others
Additional context
This would be good so that the "end user" gets more status notications for the Actions in the logs
This is being worked on!
Describe the bug
mc-modpack-kit fails to publish
https://github.com/Aninuscsalas/wynncraft-101/actions/runs/7652140532/job/20851328526
Error: Unable to resolve action `Kir-Antipov/[email protected]`, unable to find version `v3.2`
mc-publish v3.2.0 is deprecated, as GitHub no longer supports actions based on Node.js 12.
Add beta functionality to mc-modpack-kit
Is your feature request related to a problem? Please describe.
if a project has older GitHub releases, currently release-please just exits
Additional context
This would be useful in wynncraft 101
When attempting to upload to modrinth, the workflow seems to be entirely broken.
https://github.com/DannyLeWasTaken/DAM/actions/runs/7769306879/job/21188244467
The current ones are kinda bad for an modpack!
Is your feature request related to a problem? Please describe.
A bug report option to the issue templates. Just wanted to report a bug but then saw that there was no bug option.
Describe the solution you'd like
A bug report template for easy bug reporting
Related: googleapis/release-please#1905
Describe the bug
The github action is trying to build the pack but https://nightly.link/packwiz/packwiz/workflows/go/main/Linux%2064-bit%20x86.zip gives a 404 response
Run supplypike/setup-bin@v3
with:
uri: https://nightly.link/packwiz/packwiz/workflows/go/main/Linux%2064-bit%20x86.zip
name: packwiz
version: linux
env:
pack-file: pack.toml
default-release-modrinth: true
default-release-curseforge: false
loader: quilt
game-version: 1.20.2
Error: Error: Unexpected HTTP response: 404
Additional context
:3
A release workflow for the template?
I don't know if this needed
The default Changelogs generated by Release Please dont't really fit modpacks.
For example:
It would be nice if there were options to customize how the changelog is generated, also I'm not really familiar with changelogs or Release Please, but i wanted to open this issue to start a discussion.
Is your feature request related to a problem? Please describe.
Most often i merge releases as a single commit. In these cases commit links aren't really useful.
Describe the solution you'd like
I'm not sure how this would be possible, but an option or a config file to disable the links would be nice.
Additional context
Also, these changelogs can be really long.
Example from one of my packs:
### ☀ Modpack Changes
* **mods:** Add Red Bits ([3230d01](https://github.com/tazta2ra/bluelotus-beyond/commit/3230d01308afefe0dedf325abb6f40edaf0fafd8))
* **mods:** Added Enderman Overhaul ([2532337](https://github.com/tazta2ra/bluelotus-beyond/commit/2532337ef050d6ceadd0edefe12a1a7aae76258b))
* **mods:** Added Formations ([113d1b7](https://github.com/tazta2ra/bluelotus-beyond/commit/113d1b7f53f50c66ead9846139d1a48f7583b0d7))
* **mods:** Added Formations Nether ([6bc93f6](https://github.com/tazta2ra/bluelotus-beyond/commit/6bc93f6e718ec3f7e87cfa91f2fbb1fe2d04ed3e))
* **mods:** Added Formations Overworld ([6bc93f6](https://github.com/tazta2ra/bluelotus-beyond/commit/6bc93f6e718ec3f7e87cfa91f2fbb1fe2d04ed3e))
* **mods:** Added Macaw's Paintings ([2532337](https://github.com/tazta2ra/bluelotus-beyond/commit/2532337ef050d6ceadd0edefe12a1a7aae76258b))
* **mods:** Added Useful Brush ([9c4226f](https://github.com/tazta2ra/bluelotus-beyond/commit/9c4226fa650e71af3579bcf62404b36f6d0ed15c))
* **mods:** Added Villages&Pillages ([9c4226f](https://github.com/tazta2ra/bluelotus-beyond/commit/9c4226fa650e71af3579bcf62404b36f6d0ed15c))
* **mods:** Added Why Does My Glass Sound Like That ([2532337](https://github.com/tazta2ra/bluelotus-beyond/commit/2532337ef050d6ceadd0edefe12a1a7aae76258b))
* **mods:** Added Yung's Menu Tweaks ([9c4226f](https://github.com/tazta2ra/bluelotus-beyond/commit/9c4226fa650e71af3579bcf62404b36f6d0ed15c))
* **mods:** Added Chef's Delight ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Flash ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Head in the Clouds ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added More Axolotl Variants Mod ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Mythic Charms ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added NicerTabBackground ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Panorama Screens ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Potion Cauldron ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Screenshot Viewer ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Seamless Loading Screen ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Soul Fire'd ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Torch hit! ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **mods:** Added Water Resistance Potion ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
* **resourcepacks:** Added Blue Lotus: GUI ([143a5d2](https://github.com/tazta2ra/bluelotus-beyond/commit/143a5d24aa310abc5810b500eda66ff490581c16))
Describe the bug
A clear and concise description of what the bug is.
It creates an EMPTY index.toml
Also doesn't create a pack.toml file at ALL.
To Reproduce
Steps to reproduce the behavior:
Describe the solution you'd like
Add this project to the official Modrinth docs
Additional context
I recently opened [this ] (modrinth/docs#124)
This issue is done when its merged!
Splitting workflows into multiple files like
Handles releases with release please
.github/workflows/release.yml
Triggers on release, builds the project, uploads to artifacts
.github/workflows/build.yml
Final, publishes to ModRinth and CurseForge
.github/workflows/publish.yml
This would need an access token?
Is your feature request related to a problem? Please describe.
Currently, mc-modpack-kit, does not handle multiple loaders, it just sets the $loader variable if it finds one
Describe the solution you'd like
Handle multiple loaders
Describe alternatives you've considered
Maybe just different git repos, bit complex but still
Additional context
Would be useful in wynncraft 101
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.