feat(plugin): add update command for third-party plugins#659
Open
saulob wants to merge 8 commits intofatihak:mainfrom
Open
feat(plugin): add update command for third-party plugins#659saulob wants to merge 8 commits intofatihak:mainfrom
saulob wants to merge 8 commits intofatihak:mainfrom
Conversation
added 4 commits
March 26, 2026 20:19
There was a problem hiding this comment.
Pull request overview
Adds a dedicated inkypi plugin update <plugin_id> command to the existing plugin CLI to update an installed third-party plugin from its recorded repository, reinstall dependencies when needed, and restart the service.
Changes:
- Extended CLI help output to include
plugin update. - Implemented
update_plugin()to clone the plugin repo into a temp directory, stage validated files, replace the installed plugin, optionally installrequirements.txt, and restart the service. - Wired the new
updatesubcommand into the command router.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
added 4 commits
April 1, 2026 00:25
…directory handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new CLI command to update installed third-party plugins
New command
inkypi plugin update <plugin_id>
Behavior
Why
Currently, the CLI only provides install, uninstall and list commands for third-party plugins. Updating a plugin requires re-running the install command manually. This PR adds a dedicated update command, making the workflow clearer and safer
Notes
Manual testing