Skip to main content

CLI for dependencies.io

Project description

dependencies-cli

https://travis-ci.org/dependencies-io/cli.svg?branch=master https://img.shields.io/pypi/v/dependencies-cli.svg https://img.shields.io/pypi/l/dependencies-cli.svg https://img.shields.io/pypi/pyversions/dependencies-cli.svg

CLI for dependencies.io that makes it easier to both develop for and interact with dependencies.io.

Features

Create

Create a new collector/actor. Gives you a fully functioning collector/actor to start with and you can modify it from there.

dependencies create .
dependencies create in/this/directory

Test

Eases the process of writing tests for a collector/actor.

dependencies test

History

2.2.4 (2018-03-15)

  • Fix subtest naming so -k selects them too
  • Use colons as test name separators

2.2.3 (2018-03-07)

  • Fix –loose-output-data-comparison for actors

2.2.2 (2018-03-06)

  • –loose-output-data-comparison remove “installed” from lockfile dep, in addition to “constraint”

2.2.1 (2018-03-06)

  • Bug fixes in –loose-output-data-comparison

2.2.0 (2018-03-06)

  • Rename –loose-json-comparison to –loose-output-data-comparison and make it more specific
  • Don’t print JSON output directly while testing

2.1.1 (2018-03-04)

  • Always dump JSON without a space after the comma in –update-output-data

2.1.0 (2018-03-02)

  • Update dependencies-schema to 2.0.0 final version

2.0.0 (2018-02-22)

  • Major update to be compatible with dependencies.io v2

0.5.0 (2017-10-29)

  • Add dependencies schema validate command
  • Fix when expected and parsed JSON is printed out (to include all data)
  • Add a compare_available_versions option to collector test for more specific testing

0.4.0 (2017-08-30)

  • Forward all test command args to pytest
  • Add CPU and Memory constraints to docker container in tests
  • Print out expected and parsed JSON in tests for easier debugging

0.3.9 (2017-07-20)

  • Change .dependencies.yml to dependencies.yml in template
  • Update actor test env variables to include GitLab

0.3.8 (2017-06-28)

  • Update dependencies-schema - requires at least 1 item in dependency.available

0.3.7 (2017-06-27)

  • Add COLLECTOR_ID and ACTOR_ID env variables

0.3.6 (2017-06-26)

  • Sort collector test dependencies by name before comparison.

0.3.5 (2017-06-26)

  • Fix actor template schema usage.

0.3.4 (2017-06-26)

  • Fix collector template dependency sources.

0.3.3 (2017-06-26)

  • Include project_template in manifest

0.3.2 (2017-06-23)

  • Remove “” around string env variables in test

0.3.1 (2017-06-23)

  • Fix test for actors and update examples and create templates

0.3.0 (2017-06-23)

  • Use dependencies-schema for parsing and validation in test
  • Improved test failure reporting

0.2.0 (2017-06-15)

  • Add create command to help start a collector or actor
  • Fix __version__ in init.py
  • JSON encode settings in test

0.1.6 (2017-06-14)

  • Pass user config settings to collector tests
  • Add test name to pytest report for collector/actor base test
  • Add GITHUB_REPO_ID actor env variable

0.1.5 (2017-06-12)

  • Fix dependencies test for collectors

0.1.4 (2017-06-12)

  • Improve pytest reporting and interaction
  • Remove user_config path from actor test

0.1.3 (2017-06-12)

  • Fix dependencies test for TravisCI

0.1.2 (2017-06-12)

  • Add pytest to requirements

0.1.1 (2017-06-12)

  • Fix exit code for test command
  • Compatible with more python versions

0.1.0 (2017-06-11)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dependencies_cli-2.2.4.tar.gz (141.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page