1
0
Fork 0
mirror of https://github.com/xHyroM/void-packages.git synced 2024-12-22 12:11:06 +01:00
void-packages/common/scripts
2024-07-15 13:03:48 +02:00
..
check-custom-licenses add vesktop 2024-03-29 08:12:19 +01:00
lint-commits add vesktop 2024-03-29 08:12:19 +01:00
lint-conflicts add vesktop 2024-03-29 08:12:19 +01:00
lint-version-change add vesktop 2024-03-29 08:12:19 +01:00
lint2annotations.awk add vesktop 2024-03-29 08:12:19 +01:00
README.xbps-cycles.md add vesktop 2024-03-29 08:12:19 +01:00
xbps-cycles.py build: sync with upstream 2024-07-15 https://github.com/void-linux/void-packages/commit/2e969392 2024-07-15 13:03:48 +02:00

Cycle detector for void-packages

This script enumerates dependencies for packages in a void-packages repository and identifies build-time dependency 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.

Dependencies can be cached on disk, one file per package, in directory passed with -c option. On next execution with same option, dependencies are read from file rather than computed.

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