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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
| cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
name: darcsden
version: 1.1.99
synopsis: Darcs repository UI and hosting/collaboration app (hub.darcs.net branch).
description: A web application and SSH server for browsing and hosting darcs
repositories and collaborating with others.
.
Installation: <http://hub.darcs.net/simon/darcsden/README.md>
.
Release notes: <http://hub.darcs.net/simon/darcsden/ANNOUNCE.md>
category: Development, Distribution, Web
homepage: https://hackage.haskell.org/package/darcsden
author: Alex Suraci <suraci.alex@gmail.com>
maintainer: Simon Michael <simon@joyful.com>
license: GPL
license-file: LICENSE
build-type: Simple
tested-with:
GHC==8.10.7
extra-source-files:
CHANGES.md
LICENSE
README.md
data-files:
public/bootstrap/css/bootstrap-responsive.css
public/bootstrap/css/bootstrap-responsive.min.css
public/bootstrap/css/bootstrap.css
public/bootstrap/css/bootstrap.min.css
public/bootstrap/img/glyphicons-halflings-white.png
public/bootstrap/js/bootstrap.js
public/bootstrap/js/bootstrap.min.js
public/codemirror-3.14/lib/codemirror-compressed.js
public/codemirror-3.14/lib/codemirror.css
public/codemirror-3.14/LICENSE
public/codemirror-3.14/theme/elegant.css
public/css/highlight.css
public/css/main.css
public/images/added.gif
public/images/delete-small.gif
public/images/delete.gif
public/images/edit.gif
public/images/edit.xcf
public/images/explore.gif
public/images/explore.xcf
public/images/favicon.ico
public/images/favicon.png
public/images/favicon.xcf
public/images/file.gif
public/images/folder.gif
public/images/fork.gif
public/images/forkgif.xcf
public/images/home.gif
public/images/issues.gif
public/images/issues.xcf
public/images/log.gif
public/images/login.gif
public/images/logout.gif
public/images/modified.gif
public/images/new.gif
public/images/new.xcf
public/images/patches.gif
public/images/patches.xcf
public/images/preference.gif
public/images/private.gif
public/images/register.gif
public/images/removed.gif
public/images/spinner.gif
public/images/subscribe.gif
public/images/unsubscribe.gif
public/images/up.gif
public/js/jquery-1.8.1.min.js
public/js/main.js
public/js/relatize.js
public/robots.txt
source-repository head
type: git
location: https://hub.darcs.net/simon/darcsden
flag cli
description: Build the den command-line tool which helps with local use
manual: True
default: True
flag dev
description: Build in developer mode (define DEV, use a different port etc)
manual: True
default: False
flag highlighter
description: Enable source code highlighting, using highlighter.
manual: True
default: False
flag highlightingkate
description: Enable source code highlighting, using highlighting-kate (faster).
manual: True
default: True
flag posthook
description: Build the darcsden-post-hook script that closes issues based on commit messages
manual: True
default: True
flag ssh
description: Build the darcsden-ssh server allowing darcs push/pull from remote machines
manual: True
default: True
flag warn-as-error
description: Build with warnings-as-errors
manual: True
default: False
library
exposed-modules:
DarcsDen.Auth
DarcsDen.Backend.Permanent
DarcsDen.Backend.Permanent.Local
DarcsDen.Backend.Transient
DarcsDen.Darcs
DarcsDen.Handlers
DarcsDen.Mail
DarcsDen.Settings
DarcsDen.Settings.Production
DarcsDen.Settings.Local
DarcsDen.Settings.Test
DarcsDen.Settings.TestSelenium
DarcsDen.Settings.Types
DarcsDen.Settings.Common
DarcsDen.State.Types
DarcsDen.State.Comment
DarcsDen.State.FileSystem
DarcsDen.State.Issue
DarcsDen.State.JSON
DarcsDen.State.Repo
DarcsDen.State.Representation
DarcsDen.State.StateUtils
DarcsDen.State.User
DarcsDen.Util
DarcsDen.WebUtils
DarcsDen.WebServer
DarcsDen.Instance.Class
DarcsDen.Instance.Default
DarcsDen.Instance.Hub
DarcsDen.Instance.Local
DarcsDen.Backend.Permanent.Local.Files
other-modules:
DarcsDen.Backend.Permanent.CouchDB
DarcsDen.Backend.Transient.InProcess
DarcsDen.Backend.Transient.Redis
DarcsDen.DebugUtils
DarcsDen.Handlers.RepoHandlers
DarcsDen.Handlers.RepoHandlerUtils.Annotate
DarcsDen.Handlers.RepoHandlerUtils.Browse
DarcsDen.Handlers.RepoHandlerUtils.Changes
DarcsDen.Handlers.RepoHandlerUtils.Dist
DarcsDen.Handlers.RepoHandlerUtils.Forks
DarcsDen.Handlers.RepoHandlerUtils.Util
DarcsDen.Handlers.UserHandlers
DarcsDen.Handlers.UserHandlerUtils.Github
DarcsDen.Handlers.UserHandlerUtils.Google
DarcsDen.MimeMapSettings
DarcsDen.Pages.Base
DarcsDen.Pages.HubPages
DarcsDen.Pages.PageUtils
DarcsDen.Pages.RepoPages
DarcsDen.Pages.UserPages
DarcsDen.State.Bundle
DarcsDen.State.ForgotPassword
DarcsDen.State.Session
DarcsDen.Validate
Paths_darcsden
hs-source-dirs:
src
default-extensions:
ConstraintKinds ImplicitParams TypeFamilies ScopedTypeVariables StandaloneDeriving ViewPatterns EmptyDataDecls FlexibleContexts ConstrainedClassMethods
ghc-options: -Wall -fno-warn-unused-do-bind
build-tool-depends:
hsx2hs:hsx2hs
build-depends:
ConfigFile
, CouchDB >=1.2.1 && <1.3
, MissingH >=1.3.0.1
, PSQueue ==1.1.*
, SHA
, base >=4.14 && <4.17
, base64-bytestring
, base64-string
, blaze-builder
, blaze-html >=0.5 && <0.10
, blaze-markup
, bytestring
, commonmark >=0.2.1.1
, containers
, darcs >=2.16.3 && <2.17
, directory >=1.2.2.0
, errors
, filepath
, hsp >=0.10
, http-conduit ==2.3.*
, io-streams >=1.3 && <1.6
, json
, lens >=3.10 && <4.20
, mime-mail
, mime-types
, mtl >=2 && <2.3
, network
, old-locale
, old-time
, process
, pureMD5
, random
, redis >=0.14
, safe
, snap-core ==1.0.*
, snap-server >=1.0 && <1.2
, split >=0.1.4.1 && <0.3
, text
, time
, transformers >=0.1 && <0.6
, utf8-string
, uuid
, vector
, void
, xhtml
, xml
default-language: Haskell2010
if flag(warn-as-error)
ghc-options: -Werror
if flag(dev)
cpp-options: -DDEV
if flag(highlightingkate)
cpp-options: -DHIGHLIGHTINGKATE
build-depends:
highlighting-kate >=0.5.5
if flag(highlighter)
cpp-options: -DHIGHLIGHTER
build-depends:
highlighter
if !(os(windows))
cpp-options: -DUNIX
build-depends:
unix >=2.5
executable darcsden
main-is: darcsden.hs
other-modules:
DenConfig
Paths_darcsden
hs-source-dirs:
web-server
default-extensions:
ConstraintKinds ImplicitParams TypeFamilies ScopedTypeVariables StandaloneDeriving ViewPatterns EmptyDataDecls FlexibleContexts ConstrainedClassMethods
ghc-options: -Wall -fno-warn-unused-do-bind
build-tool-depends:
hsx2hs:hsx2hs
build-depends:
ConfigFile
, HsOpenSSL
, base
, base64-string
, blaze-builder
, bytestring
, darcsden
, directory >=1.2.2.0
, filepath
, mtl
, network
, snap-core
, snap-server
default-language: Haskell2010
if flag(warn-as-error)
ghc-options: -Werror
if flag(dev)
cpp-options: -DDEV
if os(windows)
cpp-options: -DWIN32
build-depends:
Win32-services-wrapper
executable darcsden-post-hook
main-is: darcsden-post-hook.hs
other-modules:
Paths_darcsden
hs-source-dirs:
post-hook
default-extensions:
ConstraintKinds ImplicitParams TypeFamilies ScopedTypeVariables StandaloneDeriving ViewPatterns EmptyDataDecls FlexibleContexts ConstrainedClassMethods
ghc-options: -Wall -fno-warn-unused-do-bind -threaded
build-tool-depends:
hsx2hs:hsx2hs
build-depends:
base
, bytestring
, darcsden
, directory >=1.2.2.0
, filepath
, lens
, pcre-light
, time
, xml
default-language: Haskell2010
if !(flag(posthook))
buildable: False
if flag(warn-as-error)
ghc-options: -Werror
if flag(dev)
cpp-options: -DDEV
executable darcsden-ssh
main-is: darcsden-ssh.hs
other-modules:
Paths_darcsden
hs-source-dirs:
ssh-server
default-extensions:
ConstraintKinds ImplicitParams TypeFamilies ScopedTypeVariables StandaloneDeriving ViewPatterns EmptyDataDecls FlexibleContexts ConstrainedClassMethods
ghc-options: -Wall -fno-warn-unused-do-bind -threaded
build-tool-depends:
hsx2hs:hsx2hs
build-depends:
base
, base64-string
, bytestring
, darcsden
, directory >=1.2.2.0
, filepath
, lens
, mtl
, network
, process
, ssh >=0.3.1
, time
default-language: Haskell2010
if !(flag(ssh))
buildable: False
if flag(warn-as-error)
ghc-options: -Werror
if flag(dev)
cpp-options: -DDEV
executable den
main-is: Main.hs
other-modules:
Paths_darcsden
hs-source-dirs:
darcsden-cli
default-extensions:
ConstraintKinds ImplicitParams TypeFamilies ScopedTypeVariables StandaloneDeriving ViewPatterns EmptyDataDecls FlexibleContexts ConstrainedClassMethods
ghc-options: -Wall -fno-warn-unused-do-bind
build-tool-depends:
hsx2hs:hsx2hs
build-depends:
ConfigFile
, MissingH
, base
, bytestring
, darcs
, darcsden
, directory
, filepath
, http-client
, mtl
, open-browser
, process
default-language: Haskell2010
if !(flag(cli))
buildable: False
test-suite darcsden-test
type: exitcode-stdio-1.0
main-is: darcsden-test.hs
other-modules:
Test.GithubTest
Test.GoogleTest
Test.RepoTest
Test.UserTest
Test.Utils
Paths_darcsden
hs-source-dirs:
test-harness
default-extensions:
ConstraintKinds ImplicitParams TypeFamilies ScopedTypeVariables StandaloneDeriving ViewPatterns EmptyDataDecls FlexibleContexts ConstrainedClassMethods
ghc-options: -Wall -fno-warn-unused-do-bind -threaded
build-tool-depends:
hsx2hs:hsx2hs
build-depends:
HUnit
, HsOpenSSL
, aeson
, base
, bytestring
, darcsden
, directory >=1.2.2.0
, exceptions >=0.8 && <0.11
, filepath
, mtl
, random
, split
, temporary ==1.2.*
, test-framework
, test-framework-hunit
, text
, unordered-containers
, webdriver ==0.9.*
default-language: Haskell2010
if flag(warn-as-error)
ghc-options: -Werror
if flag(dev)
cpp-options: -DDEV
test-suite darcsden-test-http
type: exitcode-stdio-1.0
main-is: darcsden-test-http.hs
other-modules:
Paths_darcsden
hs-source-dirs:
test-http
default-extensions:
ConstraintKinds ImplicitParams TypeFamilies ScopedTypeVariables StandaloneDeriving ViewPatterns EmptyDataDecls FlexibleContexts ConstrainedClassMethods
ghc-options: -Wall -fno-warn-unused-do-bind -threaded
build-tool-depends:
hsx2hs:hsx2hs
build-depends:
HUnit
, base
, bytestring
, darcsden
, directory >=1.2.2.0
, filepath
, http-client
, lens
, shelly >=1.5.7 && <1.10
, taggy
, taggy-lens
, test-framework
, test-framework-hunit
, text
, wreq
default-language: Haskell2010
if flag(warn-as-error)
ghc-options: -Werror
if flag(dev)
cpp-options: -DDEV
|