Skip to content
Snippets Groups Projects
Select Git revision
  • renovate/major-opa
  • advisory/tj
  • main default protected
  • defect/telem
  • docs/pattern
  • spike/go-tools-124-gql
  • spike/go-tools-124
  • chore/deepmap
  • docs/mas
  • build/notify
  • fix/du
  • defect/diff
  • defect/json
  • chore/schema
  • feat/diff-json
  • chore/typo
  • build/binaries
  • build/changelog-
  • defect/otel
  • chore/otel
  • v0.116.2 protected
  • v0.116.1 protected
  • v0.116.0 protected
  • v0.115.3 protected
  • v0.115.2 protected
  • v0.115.1 protected
  • v0.115.0 protected
  • v0.114.0 protected
  • v0.113.5 protected
  • v0.113.4 protected
  • v0.113.3 protected
  • v0.113.2 protected
  • v0.113.1 protected
  • v0.113.0 protected
  • v0.112.0 protected
  • v0.111.1 protected
  • v0.111.0 protected
  • v0.110.2 protected
  • v0.110.1 protected
  • v0.110.0 protected
40 results

dependency-management-data

  • Clone with SSH
  • Clone with HTTPS
  • Jamie Tanna's avatar
    Jamie Tanna authored
    Now we've produced policy violations in #258 and #268, we should also
    make them easily queryable.
    
    We can also expose this in a new report, `policy-violations`, which
    allows us to view these as-is, which may be important for certain users
    interacting with DMD.
    
    As we want to allow filtering on the CLI and the web, we should allow
    tweaking the parameters, requiring we have a separate query for
    performing `Like`s.
    
    This also provides the wiring for both the CLI's reporting, and for
    `dmd-web`.
    
    Closes #275.
    df99b73e
    History

    Dependency Management Data (DMD)

    Dependency Management Data (DMD) is a set of tooling to get a better understanding of the use of dependencies across your organisation.

    The aim is to provide you with a set of queryable data about how your projects use configured, so you can target changes across your projects and organisation more appropriately.

    There is a more detailed documentation site at dmd.tanna.dev.

    Examples + demos

    There are several demos available on the documentation site, which provide examples of how DMD works using real data.

    The web application can be found at dependency-management-data-example.fly.dev/, which uses the same seeded data from the demos.

    Command-line tool

    DMD exists as a command-line tool to simplify working with data sources used for dependency-management-data.

    The command-line tool has further documentation available.

    Installation

    Latest Release

    Pre-built releases can be downloaded from the GitLab Package Registry.

    Alternatively, you can install it yourself by running:

    go install dmd.tanna.dev/cmd/dmd@latest

    Usage

    For instance, if you had used renovate-graph to create a directory called renovate, you could run:

    dmd db init --db dmd.db
    # notice the quoting around the argument, to avoid shell globbing
    dmd import renovate --db dmd.db 'renovate/*.json'

    This will then import the files into dmd.db which can then be queried using i.e.:

    sqlite3 dmd.db
    SELECT * from renovate;

    Datasources

    License

    Licensed under the Apache-2.0 license. Documentation licensed under Creative Commons Attribution Non Commercial Share Alike 4.0 International.