Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

habitat_package: add files and dependencies properties #28

Open
clintoncwolfe opened this issue Apr 8, 2019 · 0 comments
Open

habitat_package: add files and dependencies properties #28

clintoncwolfe opened this issue Apr 8, 2019 · 0 comments
Labels
Component/Resources Triage/Feature Request A request for new functionality

Comments

@clintoncwolfe
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component/Resources Triage/Feature Request A request for new functionality
Projects
None yet
Development

No branches or pull requests

1 participant