summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apt
diff options
context:
space:
mode:
authorJoey Hess2016-03-30 16:31:46 -0400
committerJoey Hess2016-03-30 16:31:46 -0400
commit73e61cdfadb10dcdbc2a8117ef82c413a67aeef0 (patch)
treea9b1de9682138af44817830686f9358d855e4614 /src/Propellor/Property/Apt
parent49255357459cd2f5661e5f6832ac1f611bb37967 (diff)
improve comments
Diffstat (limited to 'src/Propellor/Property/Apt')
-rw-r--r--src/Propellor/Property/Apt/PPA.hs19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/Propellor/Property/Apt/PPA.hs b/src/Propellor/Property/Apt/PPA.hs
index 9831ff30..b708fae4 100644
--- a/src/Propellor/Property/Apt/PPA.hs
+++ b/src/Propellor/Property/Apt/PPA.hs
@@ -1,4 +1,6 @@
--- | This module provides properties software-properties-common.
+-- | Maintainer: 2016 Evan Cofsky <evan@theunixman.com>
+--
+-- Personal Package Archives
module Propellor.Property.Apt.PPA where
import Data.List
@@ -9,20 +11,19 @@ import Data.String (IsString(..))
import Propellor.Base
import qualified Propellor.Property.Apt as Apt
--- | Ensure it's installed in case it's not. It's part of Buntish's defaults so
--- one might assume...
+-- | Ensure software-properties-common is installed.
installed :: Property DebianLike
installed = Apt.installed ["software-properties-common"]
--- | Personal Package Archives are people's individual package contributions to
--- Ubuntu. There's a well-known format for adding them, and this type represents
--- that. It's also an instance of 'Show' and 'IsString' so it can work with
--- 'OverloadedStrings'. More on PPAs can be found at
--- <https://help.launchpad.net/Packaging/PPA>
+-- | Personal Package Archives are people's individual package
+-- contributions to the Buntish distro. There's a well-known format for
+-- representing them, and this type represents that. It's also an instance
+-- of 'Show' and 'IsString' so it can work with 'OverloadedStrings'.
+-- More on PPAs can be found at <https://help.launchpad.net/Packaging/PPA>
data PPA = PPA {
-- | The Launchpad account hosting this archive.
ppaAccount :: String,
- -- | The
+ -- | The name of the archive.
ppaArchive :: String
} deriving (Eq, Ord)