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-13 17:49:19 +09:00
|
|
|
exposed-modules: Control.Applicative.Local
|
2016-05-18 05:34:22 +09:00
|
|
|
Darcs.Local.Hash.Codec
|
|
|
|
Darcs.Local.Hash.Types
|
|
|
|
Darcs.Local.Inventory.Parser
|
|
|
|
Darcs.Local.Inventory.Read
|
|
|
|
Darcs.Local.Inventory.Types
|
|
|
|
Darcs.Local.Patch
|
|
|
|
Darcs.Local.Patch.Types
|
2016-05-08 23:28:03 +09:00
|
|
|
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-05-24 05:46:54 +09:00
|
|
|
Data.CaseInsensitive.Local
|
2016-03-03 17:15:54 +09:00
|
|
|
Data.Char.Local
|
2016-05-13 17:49:19 +09:00
|
|
|
Data.Either.Local
|
2016-05-03 10:20:23 +09:00
|
|
|
Data.EventTime.Local
|
2016-05-11 23:42:41 +09:00
|
|
|
Data.Functor.Local
|
2016-05-03 08:11:32 +09:00
|
|
|
Data.Git.Local
|
2016-07-05 17:46:58 +09:00
|
|
|
Data.Graph.Inductive.Query.Cycle
|
2016-06-21 07:50:16 +09:00
|
|
|
Data.Graph.Inductive.Query.Layer
|
2016-07-05 21:37:31 +09:00
|
|
|
Data.Graph.Inductive.Query.Path
|
2016-06-21 07:50:16 +09:00
|
|
|
Data.HashMap.Lazy.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-10 20:05:56 +09:00
|
|
|
Data.Paginate.Local
|
2016-05-18 16:00:19 +09:00
|
|
|
Data.Revision.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-05-19 21:06:27 +09:00
|
|
|
Data.Tree.Local
|
2016-05-23 21:24:14 +09:00
|
|
|
Database.Esqueleto.Local
|
2016-05-23 06:43:59 +09:00
|
|
|
Database.Persist.Class.Local
|
2016-05-23 21:24:14 +09:00
|
|
|
Database.Persist.Sql.Local
|
2016-07-05 17:46:58 +09:00
|
|
|
Database.Persist.Local.Class.PersistEntityGraph
|
2016-07-06 01:13:48 +09:00
|
|
|
Database.Persist.Local.Class.PersistEntityHierarchy
|
2016-06-13 22:48:31 +09:00
|
|
|
Database.Persist.Local.Class.PersistQueryForest
|
|
|
|
Database.Persist.Local.RecursionDoc
|
2016-06-18 05:17:39 +09:00
|
|
|
Database.Persist.Local.Sql
|
2016-06-13 07:37:52 +09:00
|
|
|
Database.Persist.Local.Sql.Orphan.Common
|
2016-06-13 22:48:31 +09:00
|
|
|
Database.Persist.Local.Sql.Orphan.PersistQueryForest
|
2016-05-18 05:34:22 +09:00
|
|
|
Development.DarcsRev
|
2016-06-29 04:46:54 +09:00
|
|
|
Diagrams.IntransitiveDAG
|
2016-05-24 05:46:54 +09:00
|
|
|
Formatting.CaseInsensitive
|
2016-03-06 20:58:48 +09:00
|
|
|
Network.SSH.Local
|
2016-05-24 05:46:54 +09:00
|
|
|
Text.Blaze.Local
|
2016-06-03 18:12:33 +09:00
|
|
|
Text.Display
|
2016-04-18 02:55:23 +09:00
|
|
|
Text.FilePath.Local
|
2016-05-06 19:29:02 +09:00
|
|
|
Text.Jasmine.Local
|
2016-05-23 21:24:14 +09:00
|
|
|
Web.PathPieces.Local
|
2016-05-10 20:05:56 +09:00
|
|
|
Yesod.Paginate.Local
|
|
|
|
|
2016-02-23 17:45:03 +09:00
|
|
|
Vervis.Application
|
2016-05-26 06:10:41 +09:00
|
|
|
Vervis.Avatar
|
2016-04-25 03:48:07 +09:00
|
|
|
Vervis.BinaryBody
|
2016-05-06 07:20:11 +09:00
|
|
|
Vervis.Changes
|
2016-06-26 17:03:18 +09:00
|
|
|
Vervis.Colour
|
2016-04-23 04:46:46 +09:00
|
|
|
Vervis.Content
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.Darcs
|
2016-05-19 21:06:27 +09:00
|
|
|
Vervis.Discussion
|
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-05-29 22:17:55 +09:00
|
|
|
Vervis.Field.Role
|
2016-05-25 06:48:21 +09:00
|
|
|
Vervis.Field.Sharer
|
2016-06-07 16:33:19 +09:00
|
|
|
Vervis.Field.Ticket
|
2016-05-20 07:07:25 +09:00
|
|
|
Vervis.Form.Discussion
|
2016-05-25 06:48:21 +09:00
|
|
|
Vervis.Form.Group
|
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-29 22:17:55 +09:00
|
|
|
Vervis.Form.Role
|
2016-05-01 06:26:54 +09:00
|
|
|
Vervis.Form.Ticket
|
2016-05-24 05:46:54 +09:00
|
|
|
Vervis.Formatting
|
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-05-20 01:58:23 +09:00
|
|
|
Vervis.Handler.Discussion
|
2016-04-21 09:32:22 +09:00
|
|
|
Vervis.Handler.Git
|
2016-05-25 06:48:21 +09:00
|
|
|
Vervis.Handler.Group
|
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-13 19:11:17 +09:00
|
|
|
Vervis.Handler.Repo.Darcs
|
|
|
|
Vervis.Handler.Repo.Git
|
2016-05-29 22:17:55 +09:00
|
|
|
Vervis.Handler.Role
|
2016-05-25 06:48:21 +09:00
|
|
|
Vervis.Handler.Sharer
|
2016-05-01 07:32:22 +09:00
|
|
|
Vervis.Handler.Ticket
|
2016-06-04 15:57:54 +09:00
|
|
|
Vervis.Handler.Wiki
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.Import
|
|
|
|
Vervis.Import.NoFoundation
|
|
|
|
Vervis.MediaType
|
|
|
|
Vervis.Model
|
2016-05-26 00:52:15 +09:00
|
|
|
Vervis.Model.Group
|
2016-05-23 21:24:14 +09:00
|
|
|
Vervis.Model.Ident
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.Model.Repo
|
2016-05-29 22:17:55 +09:00
|
|
|
Vervis.Model.Role
|
2016-05-11 23:42:41 +09:00
|
|
|
Vervis.Paginate
|
2016-06-23 05:58:42 +09:00
|
|
|
Vervis.Palette
|
2016-03-02 07:43:31 +09:00
|
|
|
Vervis.Path
|
2016-06-18 05:17:39 +09:00
|
|
|
Vervis.Query
|
2016-05-05 16:29:19 +09:00
|
|
|
Vervis.Readme
|
|
|
|
Vervis.Render
|
2016-06-21 16:35:19 +09:00
|
|
|
Vervis.Role
|
2016-05-05 16:29:19 +09:00
|
|
|
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-22 23:31:56 +09:00
|
|
|
Vervis.TicketFilter
|
2016-05-25 16:50:10 +09:00
|
|
|
Vervis.Time
|
2016-05-02 23:16:51 +09:00
|
|
|
Vervis.Widget
|
2016-05-18 19:10:07 +09:00
|
|
|
Vervis.Widget.Discussion
|
2016-05-06 19:29:02 +09:00
|
|
|
Vervis.Widget.Repo
|
2016-07-02 18:02:13 +09:00
|
|
|
Vervis.Widget.Role
|
2016-05-25 06:48:21 +09:00
|
|
|
Vervis.Widget.Sharer
|
2016-07-04 18:58:25 +09:00
|
|
|
Vervis.Widget.Ticket
|
2016-06-04 15:57:54 +09:00
|
|
|
Vervis.Wiki
|
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-05-16 23:02:43 +09:00
|
|
|
-- for Darcs.Local.PatchInfo.Parser
|
|
|
|
, bytestring-lexing
|
2016-02-16 20:41:13 +09:00
|
|
|
, case-insensitive
|
2016-03-07 10:12:55 +09:00
|
|
|
, classy-prelude
|
|
|
|
, classy-prelude-conduit
|
2016-06-26 17:03:18 +09:00
|
|
|
-- for defining colors for use with diagrams
|
|
|
|
, colour
|
2016-03-07 10:12:55 +09:00
|
|
|
, 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-05-10 20:05:56 +09:00
|
|
|
-- for Data.Paginate.Local
|
|
|
|
, data-default-class
|
2016-06-29 04:46:54 +09:00
|
|
|
-- for drawing DAGs: RBAC role inheritance, etc.
|
2016-07-02 17:51:29 +09:00
|
|
|
, diagrams-core
|
|
|
|
, diagrams-lib
|
|
|
|
, diagrams-svg
|
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-05-19 21:06:27 +09:00
|
|
|
-- for building a message tree using DFS in
|
|
|
|
-- Vervis.Discussion, possibly also used by some git
|
|
|
|
-- graph related code?
|
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-26 06:10:41 +09:00
|
|
|
, libravatar
|
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-06-13 07:37:52 +09:00
|
|
|
-- for Database.Persist.Local
|
|
|
|
, mtl
|
2016-04-18 02:55:23 +09:00
|
|
|
, pandoc
|
|
|
|
, pandoc-types
|
2016-05-23 21:24:14 +09:00
|
|
|
-- for PathPiece instance for CI, Web.PathPieces.Local
|
|
|
|
, path-pieces
|
2016-03-07 10:12:55 +09:00
|
|
|
, persistent
|
|
|
|
, persistent-postgresql
|
|
|
|
, persistent-template
|
2016-04-19 23:56:02 +09:00
|
|
|
, process
|
2016-06-13 07:37:52 +09:00
|
|
|
-- for Database.Persist.Local
|
|
|
|
, resourcet
|
2016-02-13 12:35:30 +09:00
|
|
|
, safe
|
2016-03-07 10:12:55 +09:00
|
|
|
, shakespeare
|
2016-07-02 17:51:29 +09:00
|
|
|
, ssh
|
|
|
|
-- for rendering diagrams
|
|
|
|
, svg-builder
|
2016-06-29 04:46:54 +09:00
|
|
|
-- for text drawing in 'diagrams'
|
|
|
|
, SVGFonts
|
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-06-29 04:46:54 +09:00
|
|
|
-- probably should be replaced with lenses once I learn
|
|
|
|
, tuple
|
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-05-18 05:34:22 +09:00
|
|
|
-- for reading gzipped darcs inventory via utils in
|
|
|
|
-- Data.Attoparsec.ByteString.Local
|
|
|
|
, zlib
|
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
|
2016-07-05 17:46:58 +09:00
|
|
|
hs-source-dirs: test
|
2016-01-28 23:15:54 +09:00
|
|
|
default-language: Haskell2010
|
2016-07-05 21:36:40 +09:00
|
|
|
ghc-options: -Wall
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
|
|
|
|
-- test-suite test-graph
|
|
|
|
-- main-is: Test.hs
|
|
|
|
-- build-depends: base
|
|
|
|
-- , fgl
|
|
|
|
-- , fgl-arbitrary
|
|
|
|
-- , hspec
|
|
|
|
-- , vervis
|
|
|
|
-- hs-source-dirs: test
|
|
|
|
-- default-language: Haskell2010
|
|
|
|
-- ghc-options: -Wall
|
|
|
|
-- type: exitcode-stdio-1.0
|