Skip to content

Add targeted dependency updates - #10

Merged
LunaStev merged 3 commits into
wavefnd:masterfrom
LunaStev:feat/targeted-update
Aug 8, 2026
Merged

Add targeted dependency updates#10
LunaStev merged 3 commits into
wavefnd:masterfrom
LunaStev:feat/targeted-update

Conversation

@LunaStev

@LunaStev LunaStev commented Aug 8, 2026

Copy link
Copy Markdown
Member

Summary

  • add vex update <package>... for targeted Git dependency updates
  • preserve unrelated locked commits and avoid fetching unrelated repositories
  • support selecting transitive packages and recalculating changed subgraphs
  • document the command and add local-Git integration coverage

Why

The existing resolver exposed only a boolean update mode, so vex update always refreshed every Git dependency. Projects need to advance one dependency without changing unrelated locked SHAs or contacting unrelated repositories.

Behavior

  • vex update continues to refresh the complete Git dependency graph.
  • vex update alpha [beta...] refreshes only the named Git packages.
  • Selected transitive packages are supported.
  • New manifests from selected packages can add, remove, or change downstream graph entries while existing cycle, source, version, and package-name checks remain in effect.
  • Unknown names report the available Git packages and an actionable command.
  • --locked and --offline remain rejected for update.
  • Help and README usage now show vex update [<package>...].

Validation

  • cargo fmt --check
  • cargo test --locked
  • cargo clippy --locked --all-targets -- -D warnings
  • cargo build --locked
  • local-Git integration tests for targeted SHA preservation, no unrelated fetch, full update compatibility, transitive selection, graph recalculation, unknown packages, and update policy flag rejection
  • smoke: PATH-resolved wavec ran Hello World; raw --emit=obj stayed rejected; fetch/build --locked --offline succeeded

@LunaStev
LunaStev marked this pull request as ready for review August 8, 2026 08:09
@LunaStev
LunaStev merged commit 256d8ff into wavefnd:master Aug 8, 2026
7 checks passed
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.

1 participant