forgejo-0.1.0: forgejo query library and cli
Safe HaskellNone
LanguageHaskell2010

Gitea.Forgejo

Synopsis

Documentation

listOrgRepos Source #

Arguments

:: String

api url

-> String

org

-> IO (Either String [Repository]) 

List the repositories of a Forgejo org

listRepoIssues Source #

Arguments

:: String

api url

-> String

repo owner

-> String

repo

-> RepoIssueOptions

issue filter options

-> IO (Either String [Issue]) 

List issues in a forgejo repo

data RepoIssueOptions Source #

Constructors

RepoIssueOptions 

Fields

fedoraForge :: String Source #

Fedora Forge api url

data Repository #

Constructors

Repository 

Fields

Instances

Instances details
FromJSON Repository 
Instance details

Defined in Gitea.Model

Methods

parseJSON :: Value -> Parser Repository

parseJSONList :: Value -> Parser [Repository]

omittedField :: Maybe Repository

ToJSON Repository 
Instance details

Defined in Gitea.Model

Methods

toJSON :: Repository -> Value

toEncoding :: Repository -> Encoding

toJSONList :: [Repository] -> Value

toEncodingList :: [Repository] -> Encoding

omitField :: Repository -> Bool

Show Repository 
Instance details

Defined in Gitea.Model

Methods

showsPrec :: Int -> Repository -> ShowS

show :: Repository -> String

showList :: [Repository] -> ShowS

Eq Repository 
Instance details

Defined in Gitea.Model

Methods

(==) :: Repository -> Repository -> Bool

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

data Issue #

Constructors

Issue 

Fields

Instances

Instances details
FromJSON Issue 
Instance details

Defined in Gitea.Model

Methods

parseJSON :: Value -> Parser Issue

parseJSONList :: Value -> Parser [Issue]

omittedField :: Maybe Issue

ToJSON Issue 
Instance details

Defined in Gitea.Model

Methods

toJSON :: Issue -> Value

toEncoding :: Issue -> Encoding

toJSONList :: [Issue] -> Value

toEncodingList :: [Issue] -> Encoding

omitField :: Issue -> Bool

Show Issue 
Instance details

Defined in Gitea.Model

Methods

showsPrec :: Int -> Issue -> ShowS

show :: Issue -> String

showList :: [Issue] -> ShowS

Eq Issue 
Instance details

Defined in Gitea.Model

Methods

(==) :: Issue -> Issue -> Bool

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

data Label #

Constructors

Label 

Fields

Instances

Instances details
FromJSON Label 
Instance details

Defined in Gitea.Model

Methods

parseJSON :: Value -> Parser Label

parseJSONList :: Value -> Parser [Label]

omittedField :: Maybe Label

ToJSON Label 
Instance details

Defined in Gitea.Model

Methods

toJSON :: Label -> Value

toEncoding :: Label -> Encoding

toJSONList :: [Label] -> Value

toEncodingList :: [Label] -> Encoding

omitField :: Label -> Bool

Show Label 
Instance details

Defined in Gitea.Model

Methods

showsPrec :: Int -> Label -> ShowS

show :: Label -> String

showList :: [Label] -> ShowS

Eq Label 
Instance details

Defined in Gitea.Model

Methods

(==) :: Label -> Label -> Bool

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