Package: deps
DepsSimplify managing dependencies within an all-in-one TUI dashboard.How to use depsYou will need to create a GITHUB_TOKEN with permissions viaGithub > Settings > Developer Settingswith therepopermissions to read public/private repositories and andadmin:orgforread:orgif you wish to access an organisation that is not public.pipinstalldeps# your github usernameexportGITHUB_USER="user"# an individual or an organisation in which the repository existsexportGITHUB_ORG="org"# a comma separated list of repositoriesexportGITHUB_REPOSITORIES="repo_1,repo_2"# your personal github tokenexportGITHUB_TOKEN="secret"# optional - export to svgexportDEPS_EXPORT_TO_SVG=falsedepscheckConfigurationDeps supports both .ini and .env files. Deps always searches for configuration in this order:Environment variables;Repository: ini or .env file;Configuration PathReview DefaultsThe following steps are used to provide the configuration using a.envor.inifile. The configuration can be read from within the module/repository (default location set by decouple) using the.envfile or via a location specified by an environmental variable that points to a.inifile located in the root of the project or in a location specified byPATH_TO_CONFIG.Using an.envfile within the repositorycd/home/<your-user>/workspace/apoclyps/deps
touch.envecho"GITHUB_ORG=apoclyps">>.envecho"GITHUB_REPOSITORIES=micropython-by-example">>.env
python-mdepsconfigUsing an.inifile within the repositorycd/home/<your-user>/workspace/apoclyps/deps
touchsettings.iniecho"[settings]\nGITHUB_ORG=apoclyps\nGITHUB_REPOSITORIES=micropython-by-example">>settings.ini

python-mdepsconfigProviding a configuration pathIf you wish to set the configuration path to use aninior.envfile when running the application, you can use the configuration of a specific file by supplying the path to the configuration like so:cd/home/apoclyps/
touchsettings.iniecho"[settings]\nGITHUB_ORG=apoclyps\nGITHUB_REPOSITORIES=micropython-by-example">>settings.inicd/home/<your-user>/workspace/apoclyps/depsexportDEPS_PATH_TO_CONFIG=/home/<your-user>/

python-mdepsconfigIf at any time, you want to confirm your configuration reflects the file you have provided, you can usedeps configto view what current configuration of Deps.Configuring LayoutGetting started with local developmentTo build and run the CLI on your host, you will need Python 3.9 or greater, pip, and virtualenv to build and rundeps.
If you wish to publish a PR with your changes, first create a fork on Github and clone that code.$ghrepocloneapoclyps/deps
$cddeps
$python3-mvenvenv
$sourceenv/bin/activate(env)$pipinstall-rrequirements_dev.txt(env)$pipinstall-rrequirements.txt(env)$python-mdepscheckIf you wish to keep a copy of Deps on your host system, you can install and run it using:python-mvenvenvsourceenv/bin/activate
python-mpipinstall-e.
deps-hYou can run the Deps within Docker:docker-composebuildcli&&docker-composerun--rmclipython-mdepscheckTo build an image and run that image with all of the necessary dependencies using the following commands:docker-composebuildcli
docker-composerun--rmclipython-mdepscheckTestingA test suite has been included to ensure Deps functions correctly.To run the entire test suite with verbose output, run the following:maketestLintingTo run individual linting steps:makelintYou can also set uppre-committo run the linting steps automatically during the commit phase,
the pre-commit pipeline can be set up by running the following command on the project root:pre-commitinstallTo run all checks manually:pre-commitrun--allContributionsPlease readCONTRIBUTING.mdfor details on our code of conduct, and the process for submitting pull requests to us.