pkgtreediff-0.6.0: RPM package tree diff tool
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.RPM.PackageTreeDiff

Description

A library for pkgtreediff for comparing trees of rpm packages

Synopsis

Documentation

data NVRA #

Constructors

NVRA 

Fields

Instances

Instances details
Eq NVRA 
Instance details

Defined in Data.RPM.NVRA

Methods

(==) :: NVRA -> NVRA -> Bool

(/=) :: NVRA -> NVRA -> Bool

Ord NVRA 
Instance details

Defined in Data.RPM.NVRA

Methods

compare :: NVRA -> NVRA -> Ordering

(<) :: NVRA -> NVRA -> Bool

(<=) :: NVRA -> NVRA -> Bool

(>) :: NVRA -> NVRA -> Bool

(>=) :: NVRA -> NVRA -> Bool

max :: NVRA -> NVRA -> NVRA

min :: NVRA -> NVRA -> NVRA

readNVRA :: String -> NVRA #

data RPMPkgDiff Source #

RPMPkgDiff type encodes how a particular rpm package differs between trees

Instances

Instances details
Eq RPMPkgDiff Source # 
Instance details

Defined in Distribution.RPM.PackageTreeDiff

Methods

(==) :: RPMPkgDiff -> RPMPkgDiff -> Bool

(/=) :: RPMPkgDiff -> RPMPkgDiff -> Bool

diffPkgs :: Ignore -> [NVRA] -> [NVRA] -> [RPMPkgDiff] Source #

Compare two lists of packages NVRAs

data Ignore Source #

Ignore describes how comparison is done

Constructors

IgnoreNone

do not ignore version or release

IgnoreRelease

ignore differences in release

IgnoreVersion

ignore differences in version

Instances

Instances details
Eq Ignore Source # 
Instance details

Defined in Distribution.RPM.PackageTreeDiff

Methods

(==) :: Ignore -> Ignore -> Bool

(/=) :: Ignore -> Ignore -> Bool