Skip to content

Replace libjansson dependency with jq program #12

@Pri-yan-shu

Description

@Pri-yan-shu

Currenly the program depends on libjansson for parsing bear intercept output.

Proposed changes

Remove libjansson dependency and related code.
Create a new script which calls bear intercept and extract package names in a new file, each package on one line. Instead of calling bear intercept directly, we call this script, and then read package names from our new file.

Instead of requiring libjansson development package, systems would require the jq program.

Notes:

The functionality of virt-pack -- build_command and virt-pack --remove must remain unchanged when no name is supplied, to ensure compatibility with existing workflows.
Make sure to test using the directories in the code-base.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions