aura-2.2.1: 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

Contents

Description

Definition of the runtime environment.

Synopsis

Documentation

data Settings Source #

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

Aura Configuration

data BuildConfig Source #

Settings unique to the AUR package building process.

Instances
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
Eq Truncation Source # 
Instance details

Defined in Aura.Settings

Show Truncation Source # 
Instance details

Defined in Aura.Settings

defaultBuildDir :: Path Absolute 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
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

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 

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
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 #