open-component-model / ocm

Open Component Model (Software Bill of Delivery Toolset)
https://ocm.software
Apache License 2.0
31 stars 19 forks source link

eliminate lib to cli dependencies #741

Closed mandelsoft closed 3 months ago

mandelsoft commented 3 months ago

Description

There are dependencies from the library (package pkg) to the cli (cmds). This is because of

The cli based test environment can be replaced by the lib test environment, it was just accidently used.

The parsing support has been moved to a cli support package in the lib.

The plugin tests based on command executions have been moved to a plugin test package in the top-level cli package. Additionally, the lib now tests the pure lib version of the plugin usage without command executions.

What type of PR is this? (check all applicable)

Related Tickets & Documents

Screenshots

Added tests?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Added to documentation?

Checklist: