dmd import renovate

dmd import renovate

Import a data dump from renovate-graph or the Renovate debug logs

Usage

renovate '/path/to/*.json'

Examples

# To consume the output from `renovate-graph`
# NOTE the escaping! Only takes one argument, which can be a glob
dmd import renovate '../out/*.json' --db out.db
# To consume the output from Renovate's debug logs (https://dmd.tanna.dev/cookbooks/consuming-renovate-debug-logs)
dmd import renovate renovate.log --db out.db
# To consume the output from Renovate's Reports (https://dmd.tanna.dev/cookbooks/consuming-renovate-report)
dmd import renovate renovate-report.json --db out.db
# To consume the output from Renovate's Reports (https://dmd.tanna.dev/cookbooks/consuming-renovate-report) and override the `platform`
dmd import renovate renovate-report.json --db out.db --platform gitlab

Synopsis

Takes a data export that pulls data that has been produced by Renovate, and converts it to the database model.

This understands data exports from:

Options

Flag (type) Usage Notes
-h, --help help for renovate
--no-progress prevent displaying progress of long-running tasks
--platform (github) The platform hosts the repository that these Renovate debug logs / this Renovate Report has been generated against, for instance github, `gitlab`. Will only be used when importing Renovate debug logs / a Renovate Report

Options inherited from parent commands

Flag (type) Usage Notes
--db (string) the path to the input/output database
--debug whether to enable debug logging