Hadron / Hadron/carthage

PackageInstall akin to OciMount provider

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
11
Forks
8
Avg merge
9h 26m
Merged PRs (30d)
6

Description

Suggested by Klee:
Some declarative spec for packages required by a MachineModel.

Something perhaps like:
```
add_provider(PackageRequirement(package='exim', requires_running=True))
```

Where `PackageRequirement` could be picked up by a mixin class such as
`AptManagedMixin` or `RpmManagedMixin` .. for example.

This would shift the current paradigm from setup_tasks manually running `apt update` and `install` to a mixin class responsible for gathering requirements and installing them as one (or possibly two if requires_running=True) step(s).

Perhaps eclipses #111

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.