Skip to content

Reinstall plugins on clime init when the source script URL changes#15

Merged
git-hulk merged 1 commit into
git-hulk:masterfrom
Lance726:init-detect-script-drift
May 6, 2026
Merged

Reinstall plugins on clime init when the source script URL changes#15
git-hulk merged 1 commit into
git-hulk:masterfrom
Lance726:init-detect-script-drift

Conversation

@Lance726
Copy link
Copy Markdown
Contributor

Problem

clime init skips any plugin already in the local manifest. When a team manifest publishes a new install.sh URL, already-installed users never pick up the change — the only fix today is a manual remove + reinstall.

Fix

For script-type plugins, compare the source-declared script: URL with the local manifest's source field. If they differ, reinstall and refresh the local field. New plugins install as before; unchanged ones still skip.

Drift detection is limited to script-type plugins for this PR. brew/npm/github involve system-shared state and need explicit user action to switch source.

@git-hulk git-hulk merged commit 3837cfc into git-hulk:master May 6, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants