Conversation
Mralimoh
force-pushed
the
feat/pkg-update
branch
from
September 17, 2026 00:55
21621a4 to
d1be9e9
Compare
pkg update now shares the planner the system-module refresh uses: a module disabled or hand-pinned in the local vault is left alone, a developer's own directory or linked build is never replaced, and any module that could not be updated makes the command fail. The superseded store copy is still collected.
A refresh now plans under Recover, UpdateAll or UpdateNamed and returns a typed skip reason. A bulk update skips modules missing from the registry and versions installed from an explicit artifact instead of failing; naming a module overrides an inferred pin and fails with a hint when it is disabled or not store-managed. Versions a refresh already collected no longer count as a hand pin, so a registry rollback can't leave a module stuck. The update fetches the registry fresh, reads the local vault strictly, logs each change and tells the user to run apply, and pkg update is documented.
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.
No description provided.