Git Product home page Git Product logo

philips-software / blackduck-dependencies-to-reference-format Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 165 KB

Extracts dependencies from the output (source csv) of the Detect tool from BlackDuck (Synopsis), to a reference format. This reference format is a JSON file containing arrays of objects with keys name and version.

License: MIT License

JavaScript 100.00%
software-bill-of-materials

blackduck-dependencies-to-reference-format's People

Contributors

bartgolsteijn avatar dependabot[bot] avatar jeroenknoops avatar sandacontiume avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blackduck-dependencies-to-reference-format's Issues

extract the license information from BlackDuck

Should generate info as reference extended format. Output is a json array of objects, each object having the following format:

  • name
  • version
  • licenses (an array of string values separated by comma)

Example:

[
  {
     name: 'istanbul-lib-source-maps',
     version: '3.0.6',
     licenses: ['BSD', 'BSD-3-Clause']
  }
]

ensure duplicates (by name+version) are removed

There are situations where the same dependency is reported as both Transient and Direct dependency, in the source.csv file.
Currently the tool does not remove the (name+version) duplicates; please add this feature

override the default separator that is expected to differentiate the dependency name from the version in source.csv

This is needed because the format of the contents of the Origin name id field in Detect's output source.csv may vary per technology of the project being analysed (new information)
E.g.,

  • for Javascript projects, the format is name/version
  • for Java projects, the format is name:version
    Currently only the / separator is supported (and assumed).

Suggestion is to add a new parameter to the command line interface, to override the default nave/version separator.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.