Skip to content

habitat_package: add files and dependencies properties #28

Open
@clintoncwolfe

Description

@clintoncwolfe

Add support for listing installed files and dependencies of an installed package.

Approach:
Find hab pkg install location by running 'hab pkg env hab', look for PATH export, pick apart
Find deps by using hab pkg install location / origin / name/ version / release / TDEPS
Find files installed by using hab pkg install location / origin / name/ version / release / FILES and parsing

Partial work towards adding support finding the install root is in place on https://github.com/inspec/inspec-habitat/tree/cw/add-files-to-package-resource, but needs a change in train-habitat (enabling support for run_command) is needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions