Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

ahesford/xbps-cycles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cycle detector for void-packages

This script enumerates dependencies for packages in a void-packages repository and identifies build-time dependency cycles. It is based on earlier scripts provided by the Void maintainer @Chocimier. The key differences are

  • No intermediate files are created
  • Dependency enumeration is parallelized by default
  • Output provides a more illustrative view of cycles

For command syntax, run xbps-cycles.py -h. Often, it may be sufficient to run xbps-cycles.py with no arguments. By default, the script will look for a repository at $XBPS_DISTDIR; if that variable is not defined, the current directory is used instead. To override this behavior, use the -d option to provide the path to your desired void-packages clone.

The standard behavior will be to spawn multiple processes, one per CPU, to enumerate package dependencies. This is by far the most time-consuming part of the execution. To override the degree of parallelism, use the -j option.

Failures should be harmless but, at this early stage, unlikely to be pretty or even helpful.

About

Cycle detector for void-packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published