mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #620] [MERGED] Auto-check eggs for update #857
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/620
Author: @Boy132
Created: 10/12/2024
Status: ✅ Merged
Merged: 10/15/2024
Merged by: @Boy132
Base:
main← Head:feature/egg-updater📝 Commits (6)
f8ac880add command to check eggs for update40c9694add "update" button to ListEggs70b2b66fix "unset"fe51d9fMerge branch 'pelican-dev:main' into feature/egg-updater4c2fbc9rename class10b6616add confirmation modal to update button📊 Changes
3 files changed (+86 additions, -6 deletions)
View changed files
➕
app/Console/Commands/Egg/CheckEggUpdatesCommand.php(+46 -0)📝
app/Console/Kernel.php(+6 -4)📝
app/Filament/Resources/EggResource/Pages/ListEggs.php(+34 -2)📄 Description
Adds a new command to check installed eggs for updates. This just fetches the json from the
update_urland compares it with the current json. (or rather the hashes of the json files) It runs automatically every hour.If an update is found it will also display a button on the eggs list that will simply re-import the updated egg json.
This will also mean that if you edit an egg it will detect it as "outdated"!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.