Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P Pacman
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Filipe Laíns
  • Pacman
  • Repository
Switch branch/tag
  • pacman
  • lib
  • libalpm
  • sync.c
Find file BlameHistoryPermalink
  • Andrew Gregory's avatar
    sortbydeps: include local pkgs in dep graph · c2134fde
    Andrew Gregory authored Oct 17, 2013 and Allan McRae's avatar Allan McRae committed Oct 31, 2013
    
    
    Detecting indirect dependencies by traversing a package's entire
    dependency tree is prohibitively slow for larger transactions.  Instead
    add local packages to the dependency graph.  This additionally requires
    delaying dependency ordering for sync operations so that removed
    packages may be excluded from dependency detection.
    
    tests/sync012.py was also updated to ensure that the dependency cycle
    was actually detected.
    
    Fixes FS#37380
    
    Signed-off-by: default avatarAndrew Gregory <andrew.gregory.8@gmail.com>
    Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
    c2134fde