Closed
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new inkypi plugin update <plugin_id> CLI command to update installed third-party plugins based on their stored repository metadata.
Changes:
- Added an
updatesubcommand to theinkypi-pluginCLI script to fetch and replace plugin files and optionally install dependencies. - Wired the new
updatecommand into the command router and CLI usage output. - Added repository-level Copilot guidance in
.github/copilot-instructions.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
install/cli/inkypi-plugin |
Implements the plugin update flow (clone/sparse-checkout/stage/replace, requirements install, service restart) and updates CLI routing/help. |
.github/copilot-instructions.md |
Adds contributor/Copilot guidance for language, docs-first workflow, and running tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| - Language: English. | ||
|
|
||
| - All comments, function and variable names, and code must be written in English and follow the Inkypi coding standards and templates. Use the same naming and documentation model across the repository to keep style consistent. |
There was a problem hiding this comment.
Project name capitalization is inconsistent: this file refers to "Inkypi" (e.g., "Inkypi coding standards"), while the repository uses "InkyPi" (see README.md). Update the wording to match the project name consistently.
Suggested change
| - All comments, function and variable names, and code must be written in English and follow the Inkypi coding standards and templates. Use the same naming and documentation model across the repository to keep style consistent. | |
| - All comments, function and variable names, and code must be written in English and follow the InkyPi coding standards and templates. Use the same naming and documentation model across the repository to keep style consistent. |
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