1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
name: github
version: 0.14.1
synopsis: Access to the GitHub API, v3.
description:
The GitHub API provides programmatic access to the full
GitHub Web site, from Issues to Gists to repos down to the underlying git data
like references and trees. This library wraps all of that, exposing a basic but
Haskell-friendly set of functions and data structures.
.
For supported endpoints see "GitHub" module.
.
> import qualified GitHub as GH
>
> main :: IO ()
> main = do
> possibleUser <- GH.executeRequest' $ GH.userInfoR "phadej"
> print possibleUser
.
For more of an overview please see the README: <https://github.com/phadej/github/blob/master/README.md>
license: BSD3
license-file: LICENSE
author: Mike Burns, John Wiegley, Oleg Grenrus
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
homepage: https://github.com/phadej/github
copyright: Copyright 2012-2013 Mike Burns, Copyright 2013-2015 John Wiegley, Copyright 2016 Oleg Grenrus
category: Network
build-type: Simple
tested-with: GHC==7.8.4, GHC==7.10.2
cabal-version: >=1.10
extra-source-files:
README.md,
CHANGELOG.md,
fixtures/issue-search.json,
fixtures/list-teams.json,
fixtures/members-list.json,
fixtures/user-organizations.json,
fixtures/user.json
flag aeson-compat
description: Whether to use aeson-compat or aeson-extra
default: True
manual: False
source-repository head
type: git
location: git://github.com/phadej/github.git
Library
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: src
exposed-modules:
GitHub
GitHub.Auth
GitHub.Data
GitHub.Data.Comments
GitHub.Data.Content
GitHub.Data.Definitions
GitHub.Data.Gists
GitHub.Data.GitData
GitHub.Data.Id
GitHub.Data.Issues
GitHub.Data.Name
GitHub.Data.PullRequests
GitHub.Data.Repos
GitHub.Data.Request
GitHub.Data.Search
GitHub.Data.Teams
GitHub.Data.Webhooks
GitHub.Data.Webhooks.Validate
GitHub.Endpoints.Activity.Starring
GitHub.Endpoints.Activity.Watching
GitHub.Endpoints.Gists
GitHub.Endpoints.Gists.Comments
GitHub.Endpoints.GitData.Blobs
GitHub.Endpoints.GitData.Commits
GitHub.Endpoints.GitData.References
GitHub.Endpoints.GitData.Trees
GitHub.Endpoints.Issues
GitHub.Endpoints.Issues.Comments
GitHub.Endpoints.Issues.Events
GitHub.Endpoints.Issues.Labels
GitHub.Endpoints.Issues.Milestones
GitHub.Endpoints.Organizations
GitHub.Endpoints.Organizations.Members
GitHub.Endpoints.Organizations.Teams
GitHub.Endpoints.PullRequests
GitHub.Endpoints.PullRequests.ReviewComments
GitHub.Endpoints.Repos
GitHub.Endpoints.Repos.Collaborators
GitHub.Endpoints.Repos.Comments
GitHub.Endpoints.Repos.Commits
GitHub.Endpoints.Repos.Forks
GitHub.Endpoints.Repos.Webhooks
GitHub.Endpoints.Search
GitHub.Endpoints.Users
GitHub.Endpoints.Users.Followers
GitHub.Request
-- Packages needed in order to build this package.
build-depends: base >= 4.7 && <4.10,
aeson >=0.7.0.6 && <0.12,
attoparsec >=0.11.3.4 && <0.14,
base-compat >=0.6.0 && <0.10,
base16-bytestring >=0.1.1.6 && <0.2,
binary >=0.7.1.0 && <0.9,
binary-orphans >=0.1.0.0 && <0.2,
byteable >=0.1.1 && <0.2,
bytestring >=0.10.4.0 && <0.11,
containers >=0.5.5.1 && <0.6,
cryptohash >=0.11 && <0.12,
deepseq >=1.3.0.2 && <1.5,
deepseq-generics >=0.1.1.2 && <0.3,
exceptions >=0.8.0.2 && <0.9,
hashable >=1.2.3.3 && <1.3,
http-client >=0.4.8.1 && <0.5,
http-client-tls >=0.2.2 && <0.3,
http-link-header >=1.0.1 && <1.1,
http-types >=0.8.6 && <0.10,
iso8601-time >=0.1.4 && <0.2,
mtl >=2.1.3.1 && <2.3,
network-uri >=2.6.0.3 && <2.7,
semigroups >=0.16.2.2 && <0.19,
text >=1.2.0.6 && <1.3,
time >=1.4 && <1.7,
transformers >=0.3.0.0 && <0.6,
transformers-compat >=0.4.0.3 && <0.6,
unordered-containers >=0.2 && <0.3,
vector >=0.10.12.3 && <0.12,
vector-instances >=3.3.0.1 && <3.4
if flag(aeson-compat)
build-depends: aeson-compat >=0.3.0.0 && <0.4
else
build-depends: aeson-extra >=0.2.0.0 && <0.3
test-suite github-test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: spec
other-modules:
GitHub.ActivitySpec
GitHub.CommitsSpec
GitHub.OrganizationsSpec
GitHub.ReposSpec
GitHub.SearchSpec
GitHub.UsersSpec
main-is: Spec.hs
ghc-options: -Wall
build-depends: base,
base-compat,
github,
vector,
unordered-containers,
file-embed,
hspec
if flag(aeson-compat)
build-depends: aeson-compat
else
build-depends: aeson-extra
|