bdcs-0.2.0: Tools for managing a content store of software packages

Copyright(c) 2016-2017 Red Hat Inc.
LicenseLGPL
Maintainerhttps://github.com/weldr
Stabilityalpha
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

BDCS.ReqType

Description

Data types for working with Requirements.

Synopsis

Documentation

data ReqContext Source #

The type for specifying when a requirement should be enforced.

Constructors

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

data ReqLanguage Source #

The type of a requirements language - this basically maps to a packaging system. For now, only RPM is supported.

Constructors

RPM 

data ReqStrength Source #

The type for specifying how strictly a requirement should be enforced.

Constructors

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 Should, but looks at packages that are already installed.

MayIfInstalled

Like May, but looks at packages that are already installed.