Information about the source revision control system for a package.
When specifying a repo it is useful to know the meaning or intention of the
information as doing so enables automation. There are two obvious common
purposes: one is to find the repo for the latest development version, the
other is to find the repo for this specific release. The ReopKind
specifies which one we mean (or another custom one).
A package can specify one or the other kind or both. Most will specify just a head repo but some may want to specify a repo to reconstruct the sources for this package release.
The required information is the RepoType which tells us if it's using Darcs, Git for example. The repoLocation and other details are interpreted according to the repo type.
Instances10Eq, Data, Ord, Read, Show, Generic, …
Eq SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoData SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoOrd SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoRead SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoShow SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoGeneric SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoNFData SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoBinary SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepoStructured SourceRepoDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepotype Rep SourceRepo = D1 ('MetaDataDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.SourceRepo"SourceRepo"
"Distribution.Types.SourceRepo"
"Cabal-syntax-3.12.1.0-3adc"
'False) (C1 ('MetaCons"SourceRepo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"repoKind"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RepoKind) :*: (S1 ('MetaSel ('Just"repoType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RepoType)) :*: S1 ('MetaSel ('Just"repoLocation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)))) :*: ((S1 ('MetaSel ('Just"repoModule"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just"repoBranch"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String))) :*: (S1 ('MetaSel ('Just"repoTag"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just"repoSubdir"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath))))))