Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • 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
  • Merge Requests 21
    • Merge Requests 21
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Jobs
  • Commits
  • nexedi
  • slapos.core
  • Merge Requests
  • !205

Merged
Opened Apr 23, 2020 by Jérome Perrin@jerome
  • Report abuse
Report abuse

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
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: nexedi/slapos.core!205

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7