Komodo commands¶
The main command is kmd
. This command builds and installs environments. See Basic Usage.
As well as the kmd
command, this package installs several other
commands, each with its own options:
komodo-check-pypi
— Checks if pypi packages are up to datekomodo-insert-proposals
— Copy proposals into release and create PRkomodo-post-messages
— Post messages to a releasekomodo-check-symlinks
— Verify symlinks for komodo versions are according to a given configkomodo-lint
— Lint komodo setupkomodo-reverse-deps
— Extracts dependencies from a given set of packageskomodo-clean-repository
— Clean up unused versions in the repository file based on a set of releaseskomodo-lint-maturity
— Lint the maturity of packageskomodo-snyk-test
— Test a release for security and license issueskomodo-create-symlinks
— Create symlinks for komodo versionskomodo-lint-package-status
— Lint the package status filekomodo-suggest-symlinks
— Returns a pull request if the symlink configuration could be updatedkomodo-extract-dep-graph
— Extracts dependencies from a given set of packageskomodo-non-deployed
— Outputs the name of undeployed matrices given an installation root and a release folderkomodo-transpiler
— Build release fileskomodo-show-version
— Return the version of a specified package in the active release
Auto-formatting configuration files¶
You can auto-format repository and/or releases by running something like
komodo-clean-repository prettier --files repository.yml releases/*
If you are in e.g. CI and only want to check style compliance, add --check
.
Finding reverse dependecies¶
You can show reverse dependencies of a package by running the tool
komodo-reverse-deps
:
komodo-reverse-deps releases/matrices/2022.09.02.yml repository.yml --pkg websockets
If --pkg
is not specified, the program will prompt for it.
The --dot
option outputs the reverse dependency graph in .dot
format.
Alternatively, if GraphViz
and ImageMagick
are available, the
--display_dot
option will try to render the graph directly.