2016-01-28 23:15:54 +09:00
|
|
|
name: vervis
|
2016-04-13 00:19:02 +09:00
|
|
|
version: 0.1
|
2016-01-28 23:15:54 +09:00
|
|
|
synopsis: Hopefully one day a decentralized project hosting platform
|
|
|
|
description:
|
|
|
|
This project is starting as a minimal Git repo viewer, but aims to evolve
|
|
|
|
into a decentralized federated software project hosting platform.
|
|
|
|
homepage: http://hub.darcs.net/fr33domlover/vervis
|
|
|
|
bug-reports: http://rel4tion.org/projects/vervis/tickets/
|
|
|
|
license: PublicDomain
|
|
|
|
license-file: COPYING
|
|
|
|
author: fr33domlover
|
|
|
|
maintainer: fr33domlover@riseup.net
|
|
|
|
copyright: ♡ Copying is an act of love. Please copy, reuse and share.
|
|
|
|
category: Development, Distribution, Git, Web
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files: AUTHORS
|
|
|
|
ChangeLog
|
|
|
|
COPYING
|
|
|
|
INSTALL.md
|
|
|
|
NEWS.md
|
|
|
|
README.md
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: darcs
|
|
|
|
location: http://hub.darcs.net/fr33domlover/vervis
|
|
|
|
|
2016-02-13 12:35:30 +09:00
|
|
|
flag dev
|
|
|
|
description: Turn on development settings, like auto-reload templates.
|
|
|
|
default: False
|
|
|
|
|
|
|
|
flag library-only
|
|
|
|
description: Build for use with "yesod devel"
|
|
|
|
default: False
|
|
|
|
|
2016-01-28 23:15:54 +09:00
|
|
|
library
|
2016-05-08 23:28:03 +09:00
|
|
|
exposed-modules: Darcs.Local.PatchInfo.Parser
|
|
|
|
Darcs.Local.PatchInfo.Types
|
|
|
|
Darcs.Local.Repository
|
|
|
|
Data.Attoparsec.ByteString.Local
|
2016-05-04 20:44:06 +09:00
|
|
|
Data.Binary.Local
|
2016-04-25 03:25:30 +09:00
|
|
|
Data.ByteString.Char8.Local
|
2016-04-01 14:00:02 +09:00
|
|
|
Data.ByteString.Local
|
2016-03-03 17:15:54 +09:00
|
|
|
Data.Char.Local
|
2016-05-03 10:20:23 +09:00
|
|
|
Data.EventTime.Local
|
2016-05-03 08:11:32 +09:00
|
|
|
Data.Git.Local
|
2016-05-06 08:05:56 +09:00
|
|
|
Data.Hourglass.Local
|
2016-02-27 14:41:36 +09:00
|
|
|
Data.List.Local
|
2016-05-06 19:29:02 +09:00
|
|
|
Data.Text.UTF8.Local
|
|
|
|
Data.Text.Lazy.UTF8.Local
|
2016-05-08 23:28:03 +09:00
|
|
|
Data.Time.Clock.Local
|
2016-03-06 20:58:48 +09:00
|
|
|
Network.SSH.Local
|
2016-04-18 02:55:23 +09:00
|
|
|
Text.FilePath.Local
|
2016-05-06 19:29:02 +09:00
|
|
|
Text.Jasmine.Local
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Application
|
2016-04-25 03:48:07 +09:00
|
|
|
Vervis.BinaryBody
|
2016-05-06 07:20:11 +09:00
|
|
|
Vervis.Changes
|
2016-04-23 04:46:46 +09:00
|
|
|
Vervis.Content
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.Darcs
|
2016-03-08 11:52:46 +09:00
|
|
|
Vervis.Field.Key
|
2016-02-25 12:10:30 +09:00
|
|
|
Vervis.Field.Person
|
|
|
|
Vervis.Field.Project
|
2016-02-27 14:41:36 +09:00
|
|
|
Vervis.Field.Repo
|
2016-03-08 11:52:46 +09:00
|
|
|
Vervis.Form.Key
|
2016-02-25 12:10:30 +09:00
|
|
|
Vervis.Form.Person
|
|
|
|
Vervis.Form.Project
|
2016-02-27 14:41:36 +09:00
|
|
|
Vervis.Form.Repo
|
2016-05-01 06:26:54 +09:00
|
|
|
Vervis.Form.Ticket
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Foundation
|
|
|
|
Vervis.Git
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.GitOld
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Handler.Common
|
2016-04-21 09:32:22 +09:00
|
|
|
Vervis.Handler.Git
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Handler.Home
|
2016-03-07 09:42:06 +09:00
|
|
|
Vervis.Handler.Key
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Handler.Person
|
|
|
|
Vervis.Handler.Project
|
2016-02-27 14:41:36 +09:00
|
|
|
Vervis.Handler.Repo
|
2016-05-01 07:32:22 +09:00
|
|
|
Vervis.Handler.Ticket
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Handler.Util
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.Import
|
|
|
|
Vervis.Import.NoFoundation
|
|
|
|
Vervis.MediaType
|
|
|
|
Vervis.Model
|
|
|
|
Vervis.Model.Repo
|
2016-03-02 07:43:31 +09:00
|
|
|
Vervis.Path
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.Readme
|
|
|
|
Vervis.Render
|
|
|
|
Vervis.Settings
|
|
|
|
Vervis.Settings.StaticFiles
|
|
|
|
Vervis.SourceTree
|
2016-03-06 20:58:48 +09:00
|
|
|
Vervis.Ssh
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Style
|
2016-05-02 23:16:51 +09:00
|
|
|
Vervis.Widget
|
2016-05-06 19:29:02 +09:00
|
|
|
Vervis.Widget.Repo
|
2016-01-28 23:15:54 +09:00
|
|
|
-- other-modules:
|
2016-02-13 12:35:30 +09:00
|
|
|
default-extensions: TemplateHaskell
|
|
|
|
QuasiQuotes
|
|
|
|
OverloadedStrings
|
|
|
|
NoImplicitPrelude
|
|
|
|
MultiParamTypeClasses
|
|
|
|
TypeFamilies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
EmptyDataDecls
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
DeriveDataTypeable
|
|
|
|
ViewPatterns
|
|
|
|
TupleSections
|
|
|
|
RecordWildCards
|
2016-03-07 10:12:55 +09:00
|
|
|
build-depends: aeson
|
2016-05-08 23:28:03 +09:00
|
|
|
-- for parsing commands sent over SSH and Darcs patch
|
|
|
|
-- metadata
|
2016-04-19 18:42:02 +09:00
|
|
|
, attoparsec
|
2016-03-07 10:12:55 +09:00
|
|
|
, base
|
2016-05-08 23:28:03 +09:00
|
|
|
-- for hex display of Darcs patch hashes
|
|
|
|
, base16-bytestring
|
2016-05-05 16:29:19 +09:00
|
|
|
, base64-bytestring
|
2016-04-25 03:25:30 +09:00
|
|
|
-- for Data.Binary.Local
|
|
|
|
, binary
|
2016-03-07 09:42:06 +09:00
|
|
|
, blaze-html
|
2016-05-06 19:29:02 +09:00
|
|
|
-- for Data.EventTime.Local
|
|
|
|
, blaze-markup
|
2016-04-12 07:13:32 +09:00
|
|
|
, byteable
|
2016-03-07 10:12:55 +09:00
|
|
|
, bytestring
|
2016-02-16 20:41:13 +09:00
|
|
|
, case-insensitive
|
2016-03-07 10:12:55 +09:00
|
|
|
, classy-prelude
|
|
|
|
, classy-prelude-conduit
|
|
|
|
, conduit
|
2016-02-16 20:41:13 +09:00
|
|
|
, containers
|
2016-05-08 23:28:03 +09:00
|
|
|
-- for SHA1 hashing when parsing Darcs patch metadata
|
|
|
|
, cryptonite
|
2016-05-05 16:29:19 +09:00
|
|
|
-- for Storage.Hashed because hashed-storage seems
|
|
|
|
-- unmaintained and darcs has its own copy
|
|
|
|
, darcs
|
2016-02-16 20:41:13 +09:00
|
|
|
, data-default
|
2016-03-07 10:12:55 +09:00
|
|
|
, directory
|
2016-05-03 08:11:32 +09:00
|
|
|
-- for Data.Git.Local
|
|
|
|
, directory-tree
|
2016-03-02 07:16:01 +09:00
|
|
|
, dlist
|
2016-02-16 20:41:13 +09:00
|
|
|
, esqueleto
|
2016-03-07 10:12:55 +09:00
|
|
|
, fast-logger
|
2016-02-29 10:59:33 +09:00
|
|
|
, fgl
|
2016-02-13 12:35:30 +09:00
|
|
|
, file-embed
|
2016-02-27 14:41:36 +09:00
|
|
|
, filepath
|
2016-04-14 01:17:34 +09:00
|
|
|
, formatting
|
2016-03-01 06:42:37 +09:00
|
|
|
, hashable
|
2016-05-03 08:11:32 +09:00
|
|
|
-- for source file highlighting
|
2016-04-12 20:21:14 +09:00
|
|
|
, highlighter2
|
2016-05-03 08:11:32 +09:00
|
|
|
-- for pandoc inline code highlighting
|
2016-04-18 02:55:23 +09:00
|
|
|
, highlighting-kate
|
2016-02-16 20:41:13 +09:00
|
|
|
, hit
|
2016-04-10 00:45:00 +09:00
|
|
|
, hit-graph >= 0.1
|
2016-04-29 13:32:32 +09:00
|
|
|
, hit-harder >= 0.1
|
2016-04-23 04:46:46 +09:00
|
|
|
, hit-network >= 0.1
|
2016-05-06 19:29:02 +09:00
|
|
|
-- currently discarding all JS so no need for minifier
|
|
|
|
--, hjsmin
|
|
|
|
-- 'hit' uses it for 'GitTime'
|
2016-02-16 20:41:13 +09:00
|
|
|
, hourglass
|
2016-03-07 10:12:55 +09:00
|
|
|
, http-conduit
|
2016-02-29 23:04:23 +09:00
|
|
|
, http-types
|
2016-05-08 23:28:03 +09:00
|
|
|
-- for converting Darcs patch hash Digest to ByteString
|
|
|
|
, memory
|
2016-03-07 10:12:55 +09:00
|
|
|
, monad-control
|
|
|
|
, monad-logger
|
2016-04-18 02:55:23 +09:00
|
|
|
, pandoc
|
|
|
|
, pandoc-types
|
2016-03-07 10:12:55 +09:00
|
|
|
, persistent
|
|
|
|
, persistent-postgresql
|
|
|
|
, persistent-template
|
2016-04-19 23:56:02 +09:00
|
|
|
, process
|
2016-02-13 12:35:30 +09:00
|
|
|
, safe
|
2016-03-07 10:12:55 +09:00
|
|
|
, shakespeare
|
2016-03-06 20:58:48 +09:00
|
|
|
, ssh
|
2016-02-16 20:41:13 +09:00
|
|
|
, template-haskell
|
2016-03-07 10:12:55 +09:00
|
|
|
, text
|
2016-02-16 20:41:13 +09:00
|
|
|
, time
|
2016-02-29 23:04:23 +09:00
|
|
|
, transformers
|
2016-02-13 12:35:30 +09:00
|
|
|
, unordered-containers
|
|
|
|
, wai
|
2016-03-07 10:12:55 +09:00
|
|
|
, wai-extra
|
|
|
|
, wai-logger
|
|
|
|
, warp
|
2016-04-18 02:55:23 +09:00
|
|
|
, xss-sanitize
|
2016-03-07 10:12:55 +09:00
|
|
|
, yaml
|
|
|
|
, yesod
|
|
|
|
, yesod-auth
|
2016-02-16 20:41:13 +09:00
|
|
|
, yesod-auth-hashdb
|
2016-03-07 10:12:55 +09:00
|
|
|
, yesod-core
|
|
|
|
, yesod-form
|
|
|
|
, yesod-static
|
2016-03-07 09:42:06 +09:00
|
|
|
, yesod-persistent
|
2016-02-14 18:10:21 +09:00
|
|
|
hs-source-dirs: src
|
2016-02-13 12:35:30 +09:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
if flag(dev) || flag(library-only)
|
|
|
|
cpp-options: -DDEVELOPMENT
|
|
|
|
ghc-options: -Wall -fwarn-tabs -O0
|
|
|
|
else
|
|
|
|
ghc-options: -Wall -fwarn-tabs -O2
|
|
|
|
|
|
|
|
executable vervis
|
|
|
|
main-is: main.hs
|
|
|
|
build-depends: base, vervis
|
|
|
|
hs-source-dirs: app
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
|
|
|
|
|
|
|
if flag(library-only)
|
|
|
|
buildable: False
|
|
|
|
|
|
|
|
test-suite test
|
|
|
|
main-is: Spec.hs
|
|
|
|
default-extensions: TemplateHaskell
|
|
|
|
QuasiQuotes
|
|
|
|
OverloadedStrings
|
|
|
|
NoImplicitPrelude
|
|
|
|
CPP
|
|
|
|
MultiParamTypeClasses
|
|
|
|
TypeFamilies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
EmptyDataDecls
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
DeriveDataTypeable
|
|
|
|
ViewPatterns
|
|
|
|
TupleSections
|
|
|
|
build-depends: base
|
|
|
|
, vervis
|
|
|
|
, yesod-test >= 1.5.0.1 && < 1.6
|
|
|
|
, yesod-core
|
|
|
|
, yesod
|
2016-02-06 22:36:35 +09:00
|
|
|
, persistent
|
2016-02-13 12:35:30 +09:00
|
|
|
, persistent-postgresql
|
2016-02-12 10:53:19 +09:00
|
|
|
, resourcet
|
2016-02-13 12:35:30 +09:00
|
|
|
, monad-logger
|
|
|
|
, shakespeare
|
2016-02-12 20:01:53 +09:00
|
|
|
, transformers
|
2016-02-13 12:35:30 +09:00
|
|
|
, hspec >= 2.0.0
|
|
|
|
, classy-prelude
|
|
|
|
, classy-prelude-yesod
|
|
|
|
, aeson
|
|
|
|
hs-source-dirs: test
|
2016-01-28 23:15:54 +09:00
|
|
|
default-language: Haskell2010
|
2016-02-13 12:35:30 +09:00
|
|
|
ghc-options: -Wall
|
|
|
|
type: exitcode-stdio-1.0
|