Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpm.tools: add parse functions to handle module updates #20214

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented Dec 18, 2023

One of the last changes to vpm before moving to working on the cmd_vpm2 repo. It's also the most complicated of the outstanding changes.

It adds parsing to the update command to improve evaluation of updatable modules. E.g. it,

  • fixes potential recursive loops with shared dependencies - currently it can happen when:
    v install https://gitlab.com/tobealive/a
    # below cause unintended recursive loops
    v install https://gitlab.com/tobealive/a # reinstall
    v update https://gitlab.com/tobealive/a # a module specific update with rec. deps
    v update # a full update if a module with rec. deps is installed
    
  • improves detection of new modules to install when dependencies have changed.

TODO:

  • implement parsing urls of updatable hg modules
  • add hg update test
  • add recursive dependency test

copilot:summary

copilot:walkthrough

@ttytm ttytm force-pushed the vpm.tools/add-update-parse-extend-tests branch from bae84e4 to 5d764a3 Compare December 19, 2023 00:09
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.

None yet

1 participant