mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-23 19:08:57 +03:00
[PR #331] [MERGED] Fix the egg variable disaster... #692
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/331
Author: @notAreYouScared
Created: 6/5/2024
Status: ✅ Merged
Merged: 6/7/2024
Merged by: @notAreYouScared
Base:
main← Head:charles/fixing-eggs📝 Commits (9)
7057c95Migrations to update existing eggs in db3f6ed13Update stock eggs8e6cf56Update Eggs on import4aaed1aAlso update updated versions of eggs that are uploadedc5bd03aRedo this..2b359c2Pint & Update replace77ad2a1Squash Migrations, simplify logic9a04f52Maybe this way...c903eadSwap them over to single call📊 Changes
10 files changed (+127 additions, -49 deletions)
View changed files
📝
app/Services/Eggs/EggConfigurationService.php(+1 -35)📝
app/Services/Eggs/EggParserService.php(+20 -1)📝
app/Services/Eggs/Sharing/EggImporterService.php(+1 -0)📝
database/Seeders/eggs/minecraft/egg-bungeecord.json(+2 -2)📝
database/Seeders/eggs/minecraft/egg-forge-minecraft.json(+2 -2)📝
database/Seeders/eggs/minecraft/egg-paper.json(+2 -2)📝
database/Seeders/eggs/minecraft/egg-sponge--sponge-vanilla.json(+3 -3)📝
database/Seeders/eggs/minecraft/egg-vanilla-minecraft.json(+2 -2)📝
database/Seeders/eggs/voice-servers/egg-mumble-server.json(+2 -2)➕
database/migrations/2024_06_05_220135_update_egg_config_variables.php(+92 -0)📄 Description
This PR does the following
Updates stock eggs, with new values for the config->file updates
Updates all eggs currently in the database, with migrations
As eggs are imported they're updated, then saved.
If we update them as they're saved, any time the egg is exported it should have the correct variables.
Closes https://github.com/pelican-dev/panel/issues/317
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.