2016-01-28 15:15:54 +01:00
|
|
|
name: vervis
|
2016-04-12 17:19:02 +02:00
|
|
|
version: 0.1
|
2016-01-28 15:15:54 +01: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 04:35:30 +01: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 15:15:54 +01:00
|
|
|
library
|
2016-05-13 10:49:19 +02:00
|
|
|
exposed-modules: Control.Applicative.Local
|
2016-05-17 22:34:22 +02: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 16:28:03 +02:00
|
|
|
Darcs.Local.Repository
|
|
|
|
Data.Attoparsec.ByteString.Local
|
2016-05-04 13:44:06 +02:00
|
|
|
Data.Binary.Local
|
2016-04-24 20:25:30 +02:00
|
|
|
Data.ByteString.Char8.Local
|
2016-04-01 07:00:02 +02:00
|
|
|
Data.ByteString.Local
|
2016-03-03 09:15:54 +01:00
|
|
|
Data.Char.Local
|
2016-05-13 10:49:19 +02:00
|
|
|
Data.Either.Local
|
2016-05-03 03:20:23 +02:00
|
|
|
Data.EventTime.Local
|
2016-05-11 16:42:41 +02:00
|
|
|
Data.Functor.Local
|
2016-05-03 01:11:32 +02:00
|
|
|
Data.Git.Local
|
2016-05-06 01:05:56 +02:00
|
|
|
Data.Hourglass.Local
|
2016-02-27 06:41:36 +01:00
|
|
|
Data.List.Local
|
2016-05-10 13:05:56 +02:00
|
|
|
Data.Paginate.Local
|
2016-05-18 09:00:19 +02:00
|
|
|
Data.Revision.Local
|
2016-05-06 12:29:02 +02:00
|
|
|
Data.Text.UTF8.Local
|
|
|
|
Data.Text.Lazy.UTF8.Local
|
2016-05-08 16:28:03 +02:00
|
|
|
Data.Time.Clock.Local
|
2016-05-17 22:34:22 +02:00
|
|
|
Development.DarcsRev
|
2016-03-06 12:58:48 +01:00
|
|
|
Network.SSH.Local
|
2016-04-17 19:55:23 +02:00
|
|
|
Text.FilePath.Local
|
2016-05-06 12:29:02 +02:00
|
|
|
Text.Jasmine.Local
|
2016-05-10 13:05:56 +02:00
|
|
|
Yesod.Paginate.Local
|
|
|
|
|
2016-02-23 09:45:03 +01:00
|
|
|
Vervis.Application
|
2016-04-24 20:48:07 +02:00
|
|
|
Vervis.BinaryBody
|
2016-05-06 00:20:11 +02:00
|
|
|
Vervis.Changes
|
2016-04-22 21:46:46 +02:00
|
|
|
Vervis.Content
|
2016-05-05 09:29:19 +02:00
|
|
|
Vervis.Darcs
|
2016-03-08 03:52:46 +01:00
|
|
|
Vervis.Field.Key
|
2016-02-25 04:10:30 +01:00
|
|
|
Vervis.Field.Person
|
|
|
|
Vervis.Field.Project
|
2016-02-27 06:41:36 +01:00
|
|
|
Vervis.Field.Repo
|
2016-03-08 03:52:46 +01:00
|
|
|
Vervis.Form.Key
|
2016-02-25 04:10:30 +01:00
|
|
|
Vervis.Form.Person
|
|
|
|
Vervis.Form.Project
|
2016-02-27 06:41:36 +01:00
|
|
|
Vervis.Form.Repo
|
2016-04-30 23:26:54 +02:00
|
|
|
Vervis.Form.Ticket
|
2016-02-23 09:45:03 +01:00
|
|
|
Vervis.Foundation
|
|
|
|
Vervis.Git
|
2016-05-05 09:29:19 +02:00
|
|
|
Vervis.GitOld
|
2016-02-23 09:45:03 +01:00
|
|
|
Vervis.Handler.Common
|
2016-04-21 02:32:22 +02:00
|
|
|
Vervis.Handler.Git
|
2016-02-23 09:45:03 +01:00
|
|
|
Vervis.Handler.Home
|
2016-03-07 01:42:06 +01:00
|
|
|
Vervis.Handler.Key
|
2016-02-23 09:45:03 +01:00
|
|
|
Vervis.Handler.Person
|
|
|
|
Vervis.Handler.Project
|
2016-02-27 06:41:36 +01:00
|
|
|
Vervis.Handler.Repo
|
2016-05-13 12:11:17 +02:00
|
|
|
Vervis.Handler.Repo.Darcs
|
|
|
|
Vervis.Handler.Repo.Git
|
2016-05-01 00:32:22 +02:00
|
|
|
Vervis.Handler.Ticket
|
2016-02-23 09:45:03 +01:00
|
|
|
Vervis.Handler.Util
|
2016-05-05 09:29:19 +02:00
|
|
|
Vervis.Import
|
|
|
|
Vervis.Import.NoFoundation
|
|
|
|
Vervis.MediaType
|
|
|
|
Vervis.Model
|
|
|
|
Vervis.Model.Repo
|
2016-05-11 16:42:41 +02:00
|
|
|
Vervis.Paginate
|
2016-03-01 23:43:31 +01:00
|
|
|
Vervis.Path
|
2016-05-05 09:29:19 +02:00
|
|
|
Vervis.Readme
|
|
|
|
Vervis.Render
|
|
|
|
Vervis.Settings
|
|
|
|
Vervis.Settings.StaticFiles
|
|
|
|
Vervis.SourceTree
|
2016-03-06 12:58:48 +01:00
|
|
|
Vervis.Ssh
|
2016-02-23 09:45:03 +01:00
|
|
|
Vervis.Style
|
2016-05-02 16:16:51 +02:00
|
|
|
Vervis.Widget
|
2016-05-18 12:10:07 +02:00
|
|
|
Vervis.Widget.Discussion
|
2016-05-06 12:29:02 +02:00
|
|
|
Vervis.Widget.Repo
|
2016-01-28 15:15:54 +01:00
|
|
|
-- other-modules:
|
2016-02-13 04:35:30 +01:00
|
|
|
default-extensions: TemplateHaskell
|
|
|
|
QuasiQuotes
|
|
|
|
OverloadedStrings
|
|
|
|
NoImplicitPrelude
|
|
|
|
MultiParamTypeClasses
|
|
|
|
TypeFamilies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
FlexibleContexts
|
|
|
|
FlexibleInstances
|
|
|
|
EmptyDataDecls
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
DeriveDataTypeable
|
|
|
|
ViewPatterns
|
|
|
|
TupleSections
|
|
|
|
RecordWildCards
|
2016-03-07 02:12:55 +01:00
|
|
|
build-depends: aeson
|
2016-05-08 16:28:03 +02:00
|
|
|
-- for parsing commands sent over SSH and Darcs patch
|
|
|
|
-- metadata
|
2016-04-19 11:42:02 +02:00
|
|
|
, attoparsec
|
2016-03-07 02:12:55 +01:00
|
|
|
, base
|
2016-05-08 16:28:03 +02:00
|
|
|
-- for hex display of Darcs patch hashes
|
|
|
|
, base16-bytestring
|
2016-05-05 09:29:19 +02:00
|
|
|
, base64-bytestring
|
2016-04-24 20:25:30 +02:00
|
|
|
-- for Data.Binary.Local
|
|
|
|
, binary
|
2016-03-07 01:42:06 +01:00
|
|
|
, blaze-html
|
2016-05-06 12:29:02 +02:00
|
|
|
-- for Data.EventTime.Local
|
|
|
|
, blaze-markup
|
2016-04-12 00:13:32 +02:00
|
|
|
, byteable
|
2016-03-07 02:12:55 +01:00
|
|
|
, bytestring
|
2016-05-16 16:02:43 +02:00
|
|
|
-- for Darcs.Local.PatchInfo.Parser
|
|
|
|
, bytestring-lexing
|
2016-02-16 12:41:13 +01:00
|
|
|
, case-insensitive
|
2016-03-07 02:12:55 +01:00
|
|
|
, classy-prelude
|
|
|
|
, classy-prelude-conduit
|
|
|
|
, conduit
|
2016-02-16 12:41:13 +01:00
|
|
|
, containers
|
2016-05-08 16:28:03 +02:00
|
|
|
-- for SHA1 hashing when parsing Darcs patch metadata
|
|
|
|
, cryptonite
|
2016-05-05 09:29:19 +02:00
|
|
|
-- for Storage.Hashed because hashed-storage seems
|
|
|
|
-- unmaintained and darcs has its own copy
|
|
|
|
, darcs
|
2016-02-16 12:41:13 +01:00
|
|
|
, data-default
|
2016-05-10 13:05:56 +02:00
|
|
|
-- for Data.Paginate.Local
|
|
|
|
, data-default-class
|
2016-03-07 02:12:55 +01:00
|
|
|
, directory
|
2016-05-03 01:11:32 +02:00
|
|
|
-- for Data.Git.Local
|
|
|
|
, directory-tree
|
2016-03-01 23:16:01 +01:00
|
|
|
, dlist
|
2016-02-16 12:41:13 +01:00
|
|
|
, esqueleto
|
2016-03-07 02:12:55 +01:00
|
|
|
, fast-logger
|
2016-02-29 02:59:33 +01:00
|
|
|
, fgl
|
2016-02-13 04:35:30 +01:00
|
|
|
, file-embed
|
2016-02-27 06:41:36 +01:00
|
|
|
, filepath
|
2016-04-13 18:17:34 +02:00
|
|
|
, formatting
|
2016-02-29 22:42:37 +01:00
|
|
|
, hashable
|
2016-05-03 01:11:32 +02:00
|
|
|
-- for source file highlighting
|
2016-04-12 13:21:14 +02:00
|
|
|
, highlighter2
|
2016-05-03 01:11:32 +02:00
|
|
|
-- for pandoc inline code highlighting
|
2016-04-17 19:55:23 +02:00
|
|
|
, highlighting-kate
|
2016-02-16 12:41:13 +01:00
|
|
|
, hit
|
2016-04-09 17:45:00 +02:00
|
|
|
, hit-graph >= 0.1
|
2016-04-29 06:32:32 +02:00
|
|
|
, hit-harder >= 0.1
|
2016-04-22 21:46:46 +02:00
|
|
|
, hit-network >= 0.1
|
2016-05-06 12:29:02 +02:00
|
|
|
-- currently discarding all JS so no need for minifier
|
|
|
|
--, hjsmin
|
|
|
|
-- 'hit' uses it for 'GitTime'
|
2016-02-16 12:41:13 +01:00
|
|
|
, hourglass
|
2016-03-07 02:12:55 +01:00
|
|
|
, http-conduit
|
2016-02-29 15:04:23 +01:00
|
|
|
, http-types
|
2016-05-08 16:28:03 +02:00
|
|
|
-- for converting Darcs patch hash Digest to ByteString
|
|
|
|
, memory
|
2016-03-07 02:12:55 +01:00
|
|
|
, monad-control
|
|
|
|
, monad-logger
|
2016-04-17 19:55:23 +02:00
|
|
|
, pandoc
|
|
|
|
, pandoc-types
|
2016-03-07 02:12:55 +01:00
|
|
|
, persistent
|
|
|
|
, persistent-postgresql
|
|
|
|
, persistent-template
|
2016-04-19 16:56:02 +02:00
|
|
|
, process
|
2016-02-13 04:35:30 +01:00
|
|
|
, safe
|
2016-03-07 02:12:55 +01:00
|
|
|
, shakespeare
|
2016-03-06 12:58:48 +01:00
|
|
|
, ssh
|
2016-02-16 12:41:13 +01:00
|
|
|
, template-haskell
|
2016-03-07 02:12:55 +01:00
|
|
|
, text
|
2016-02-16 12:41:13 +01:00
|
|
|
, time
|
2016-02-29 15:04:23 +01:00
|
|
|
, transformers
|
2016-02-13 04:35:30 +01:00
|
|
|
, unordered-containers
|
|
|
|
, wai
|
2016-03-07 02:12:55 +01:00
|
|
|
, wai-extra
|
|
|
|
, wai-logger
|
|
|
|
, warp
|
2016-04-17 19:55:23 +02:00
|
|
|
, xss-sanitize
|
2016-03-07 02:12:55 +01:00
|
|
|
, yaml
|
|
|
|
, yesod
|
|
|
|
, yesod-auth
|
2016-02-16 12:41:13 +01:00
|
|
|
, yesod-auth-hashdb
|
2016-03-07 02:12:55 +01:00
|
|
|
, yesod-core
|
|
|
|
, yesod-form
|
|
|
|
, yesod-static
|
2016-03-07 01:42:06 +01:00
|
|
|
, yesod-persistent
|
2016-05-17 22:34:22 +02:00
|
|
|
-- for reading gzipped darcs inventory via utils in
|
|
|
|
-- Data.Attoparsec.ByteString.Local
|
|
|
|
, zlib
|
2016-02-14 10:10:21 +01:00
|
|
|
hs-source-dirs: src
|
2016-02-13 04:35:30 +01: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 14:36:35 +01:00
|
|
|
, persistent
|
2016-02-13 04:35:30 +01:00
|
|
|
, persistent-postgresql
|
2016-02-12 02:53:19 +01:00
|
|
|
, resourcet
|
2016-02-13 04:35:30 +01:00
|
|
|
, monad-logger
|
|
|
|
, shakespeare
|
2016-02-12 12:01:53 +01:00
|
|
|
, transformers
|
2016-02-13 04:35:30 +01:00
|
|
|
, hspec >= 2.0.0
|
|
|
|
, classy-prelude
|
|
|
|
, classy-prelude-yesod
|
|
|
|
, aeson
|
|
|
|
hs-source-dirs: test
|
2016-01-28 15:15:54 +01:00
|
|
|
default-language: Haskell2010
|
2016-02-13 04:35:30 +01:00
|
|
|
ghc-options: -Wall
|
|
|
|
type: exitcode-stdio-1.0
|