aura-3.2.6: A secure package manager for Arch Linux and the AUR.
Copyright(c) Colin Woodbury 2012 - 2020
LicenseGPL3
MaintainerColin Woodbury <colin@fosskers.ca>
Safe HaskellNone
LanguageHaskell2010

Aura.Settings

Description

Definition of the runtime environment.

Synopsis

Documentation

data Settings Source #

The global settings as set by the user with command-line flags.

Instances

Instances details
Generic Settings Source # 
Instance details

Defined in Aura.Settings

Associated Types

type Rep Settings :: Type -> Type #

Methods

from :: Settings -> Rep Settings x #

to :: Rep Settings x -> Settings #

type Rep Settings Source # 
Instance details

Defined in Aura.Settings

Aura Configuration

data BuildConfig Source #

Settings unique to the AUR package building process.

Instances

Instances details
Show BuildConfig Source # 
Instance details

Defined in Aura.Settings

switch :: Settings -> BuildSwitch -> Bool Source #

Is some Aura-specific setting turned on for this run?

data Truncation Source #

How -As should truncate its results.

Constructors

None 
Head !Word 
Tail !Word 

Instances

Instances details
Eq Truncation Source # 
Instance details

Defined in Aura.Settings

Show Truncation Source # 
Instance details

Defined in Aura.Settings

defaultBuildDir :: FilePath Source #

Unless otherwise specified, packages will be built within /tmp.

Pacman Interop

data CommonConfig Source #

Flags that are common to both Aura and Pacman. Aura will react to them, but also pass them through to pacman calls if necessary.

Instances

Instances details
Show CommonConfig Source # 
Instance details

Defined in Aura.Settings

Generic CommonConfig Source # 
Instance details

Defined in Aura.Settings

Associated Types

type Rep CommonConfig :: Type -> Type #

Flagable CommonConfig Source # 
Instance details

Defined in Aura.Settings

type Rep CommonConfig Source # 
Instance details

Defined in Aura.Settings

type Rep CommonConfig = D1 ('MetaData "CommonConfig" "Aura.Settings" "aura-3.2.6-6TM9aS6fz388EoCrNAK9d2" 'False) (C1 ('MetaCons "CommonConfig" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cachePathOf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Either FilePath FilePath)) :*: S1 ('MetaSel ('Just "configPathOf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Either FilePath FilePath))) :*: (S1 ('MetaSel ('Just "logPathOf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Either FilePath FilePath)) :*: S1 ('MetaSel ('Just "commonSwitchesOf") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set CommonSwitch)))))

data CommonSwitch Source #

Yes/No-style switches that are common to both Aura and Pacman. Aura acts on them first, then passes them down to pacman if necessary.

data ColourMode Source #

Matches Pacman's colour options. Auto will ensure that text will only be coloured when the output target is a terminal.

Constructors

Never 
Always 
Auto 

Instances

Instances details
Eq ColourMode Source # 
Instance details

Defined in Aura.Settings

Ord ColourMode Source # 
Instance details

Defined in Aura.Settings

Show ColourMode Source # 
Instance details

Defined in Aura.Settings

Flagable ColourMode Source # 
Instance details

Defined in Aura.Settings

Methods

asFlag :: ColourMode -> [Text] Source #

shared :: Settings -> CommonSwitch -> Bool Source #

Is some Aura/Pacman common setting turned on for this run?

Makepkg Interop

data Makepkg Source #

CLI flags that will be passed down to makepkg when building packages.

Instances

Instances details
Eq Makepkg Source # 
Instance details

Defined in Aura.Settings

Methods

(==) :: Makepkg -> Makepkg -> Bool #

(/=) :: Makepkg -> Makepkg -> Bool #

Ord Makepkg Source # 
Instance details

Defined in Aura.Settings

Show Makepkg Source # 
Instance details

Defined in Aura.Settings

Flagable Makepkg Source # 
Instance details

Defined in Aura.Settings

Methods

asFlag :: Makepkg -> [Text] Source #