Copyright | (c) 2016-2017 Red Hat Inc. |
---|---|
License | LGPL |
Maintainer | https://github.com/weldr |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Data types for working with Requirements
.
- data ReqContext
- data ReqLanguage = RPM
- data ReqStrength
Documentation
data ReqContext Source #
The type for specifying when a requirement should be enforced.
Build | Applies when building |
Runtime | Applies when the package is on the system |
Test | Applies to running tests |
ScriptPre | Before a package install |
ScriptPost | After a package install |
ScriptPreUn | Before a package uninstall |
ScriptPostUn | After a package uninstall |
ScriptPreTrans | Before a package transaction |
ScriptPostTrans | After a package transaction |
ScriptVerify | Package verification script |
Feature | Feature requirement, e.g. rpmlib features |
Eq ReqContext Source # | |
Read ReqContext Source # | |
Show ReqContext Source # | |
PersistFieldSql ReqContext Source # | |
PersistField ReqContext Source # | |
data ReqLanguage Source #
The type of a requirements language - this basically maps to a packaging system. For now, only RPM is supported.
Eq ReqLanguage Source # | |
Read ReqLanguage Source # | |
Show ReqLanguage Source # | |
PersistFieldSql ReqLanguage Source # | |
PersistField ReqLanguage Source # | |
data ReqStrength Source #
The type for specifying how strictly a requirement should be enforced.
Must | A requirement must be satisfied |
Should | A requirement should be satisfied, but it is not an error if it cannot be. |
May | A requirement should only be satisfied at the user's option. Typically, automated processes will ignore this. |
ShouldIfInstalled | Like |
MayIfInstalled | Like |
Eq ReqStrength Source # | |
Read ReqStrength Source # | |
Show ReqStrength Source # | |
PersistFieldSql ReqStrength Source # | |
PersistField ReqStrength Source # | |