Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !205

Merged
Created Apr 23, 2020 by Jérome Perrin@jeromeOwner

prune: prune dependencies recursively

  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feat/prune_recursive_dependencies
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7