-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhaskell.dhall
85 lines (81 loc) · 2.61 KB
/
haskell.dhall
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
let default_since = "2000-01-01"
let --| Belows are function to create the Monocle configuration
Monocle =
https://raw.githubusercontent.com/change-metrics/monocle/db5c16b1c78e0f209ba84c9471b774e32521f5fb/schemas/monocle/config/package.dhall
sha256:bec5b4fe2f3a191137ae4e2f3110e98131b1eae3c092193ddaf817b983932488
let Prelude =
https://prelude.dhall-lang.org/v17.0.0/package.dhall
sha256:10db3c919c25e9046833df897a8ffe2701dc390fa0893d958c3430524be5a43e
let mkGHOrgCrawler =
\(name : Text) ->
Monocle.Crawler::{
, name = "gh-${name}"
, update_since = default_since
, provider =
Monocle.Provider.Github
Monocle.Github::{ github_organization = name }
}
in Monocle.Workspace::{
, name = "haskell"
, projects = Some
[ Monocle.Project::{
, name = "core-libraries"
, repository_regex = Some
( Prelude.Text.concatSep
"|"
[ "haskell/stm"
, "haskell/text"
, "haskell/bytestrings"
, "haskell/containers"
, "haskell/network"
, "haskell/cabal"
, "haskell/primitive"
, "haskell/process"
, "haskell/time"
, "haskell/win32"
, "haskell/alex"
, "haskell/happy"
, "haskell/filepath"
, "haskell/directory"
]
)
}
]
, crawlers =
[ mkGHOrgCrawler "haskell"
, Monocle.Crawler::{
, name = "ghkmett"
, update_since = default_since
, provider =
Monocle.Provider.Github
Monocle.Github::{
, github_organization = "ekmett"
, github_repositories = Some
[ "lens"
, "exceptions"
, "profunctors"
, "comonad"
, "pointed"
, "adjunctions"
, "trifecta"
, "ad"
, "free"
, "semigroupoids"
, "gl"
]
}
}
, Monocle.Crawler::{
, name = "ghc"
, update_since = default_since
, provider =
Monocle.Provider.Gitlab
Monocle.Gitlab::{
, gitlab_token = Some "GITLAB_HASKELL_TOKEN"
, gitlab_url = Some "https://gitlab.haskell.org/api/graphql"
, gitlab_organization = "ghc"
, gitlab_repositories = Some [ "ghc", "head.hackage" ]
}
}
]
}