Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !205

prune: prune dependencies recursively

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Jérome Perrin requested to merge feat/prune_recursive_dependencies into master Apr 23, 2020
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 2

prune was not recursive when checking dependencies, for example when we have for example a shared part for openssl that is used only by a shared part for curl that is not used, we had to run prune twice, the first iteration would remove curl and only the second iteration would see that openssl is not used.

This prune in a loop until nothing is pruned by the last iteration. To support dry-run, we added a ignored_shared_parts parameter to ignore the parts that are supposed to be deleted.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feat/prune_recursive_dependencies
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7