[DOC] ChangeLog
[gargantext.git] / package.yaml
index de6001abc69c35d10c550677e25d4fa6358129d3..3aa02c2c7cdde5e42dc6756a789d9cb21367900e 100644 (file)
 name: gargantext
-version: '0.1.0.0'
-synopsis: Deep (Collaborative) Text mining project
+version: '0.0.3.9.1'
+synopsis: Search, map, share
 description: Please see README.md
 category: Data
 author: Gargantext Team
 maintainer: team@gargantext.org
 copyright:
-    - ! 'Copyright: (c) 2017-2018: see git logs and README'
-license: BSD3
+    - ! 'Copyright: (c) 2017-Present: see git logs and README'
+license: AGPL-3
 homepage: https://gargantext.org
 ghc-options: -Wall
 dependencies:
-- extra
-- text
+  - extra
+  - text
+default-extensions:
+  - DataKinds
+  - DeriveGeneric
+  - FlexibleContexts
+  - FlexibleInstances
+  - GeneralizedNewtypeDeriving
+  - MultiParamTypeClasses
+  - NoImplicitPrelude
+  - OverloadedStrings
+  - RankNTypes
 library:
   source-dirs: src
-  default-extensions: 
   ghc-options:
   - -Wincomplete-uni-patterns
   - -Wincomplete-record-updates
+  - -Wmissing-signatures
+  - -Wunused-binds
+  - -Wunused-imports
   - -Werror
+  - -freduction-depth=300
   exposed-modules:
   - Gargantext
-  - Gargantext.Database
-  - Gargantext.Database.Instances
-  - Gargantext.Database.Ngram
-  - Gargantext.Database.Node
-  - Gargantext.Database.Facet
-  - Gargantext.Database.NodeNgram
-  - Gargantext.Database.NodeNgramNgram
-  - Gargantext.Database.NodeNode
-  - Gargantext.Database.NodeNodeNgram
-  - Gargantext.Database.Utils
-  - Gargantext.Database.User
-  - Gargantext.Ngrams
-  - Gargantext.Ngrams.Analysis
-  - Gargantext.Ngrams.TFICF
-  - Gargantext.Ngrams.Letters
-  - Gargantext.Ngrams.CoreNLP
-  - Gargantext.Ngrams.Parser
-  - Gargantext.Ngrams.Lang.En
-  - Gargantext.Ngrams.Lang.Fr
-  - Gargantext.Ngrams.Metrics
-  - Gargantext.Ngrams.TextMining
-  - Gargantext.Ngrams.Occurrences
-  - Gargantext.Parsers
-  - Gargantext.Parsers.WOS
-  - Gargantext.Parsers.Date
-  - Gargantext.Prelude
   - Gargantext.API
-  - Gargantext.API.Auth
-  - Gargantext.Types
-  - Gargantext.Types.Main
-  - Gargantext.Types.Node
-  - Gargantext.Utils.DateUtils
-  - Gargantext.Utils.Prefix
+  - Gargantext.API.Dev
+  - Gargantext.API.HashedResponse
+  - Gargantext.API.Node
+  - Gargantext.API.Node.File
+  - Gargantext.API.Ngrams
+  - Gargantext.API.Ngrams.Tools
+  - Gargantext.API.Ngrams.Types
+  - Gargantext.API.Admin.Settings
+  - Gargantext.API.Admin.EnvTypes
+  - Gargantext.API.Admin.Types
+  - Gargantext.API.Prelude
+  - Gargantext.Core
+  - Gargantext.Core.NodeStory
+  - Gargantext.Core.Methods.Distances
+  - Gargantext.Core.Types
+  - Gargantext.Core.Types.Individu
+  - Gargantext.Core.Types.Main
+  - Gargantext.Core.Utils.Prefix
+  - Gargantext.Database.Action.Flow
+  - Gargantext.Database.Action.Flow.Types
+  - Gargantext.Database.Action.User.New
+  - Gargantext.Database.Query.Table.User
+  - Gargantext.Database.Query.Table.Node
+  - Gargantext.Database.Query.Table.Node.UpdateOpaleye
+  - Gargantext.Database.Query.Table.NgramsPostag
+  - Gargantext.Database.Prelude
+  - Gargantext.Database.Admin.Trigger.Init
+  - Gargantext.Database.Admin.Config
+  - Gargantext.Database.Admin.Types.Hyperdata
+  - Gargantext.Database.Admin.Types.Node
+  - Gargantext.Core.Text
+  - Gargantext.Core.Text.Context
+  - Gargantext.Core.Text.Corpus.Parsers
+  - Gargantext.Core.Text.Corpus.Parsers.Date.Parsec
+  - Gargantext.Core.Text.Corpus.API
+  - Gargantext.Core.Text.Corpus.Parsers.CSV
+  - Gargantext.Core.Text.List.Formats.CSV
+  - Gargantext.Core.Text.Metrics
+  - Gargantext.Core.Text.Metrics.TFICF
+  - Gargantext.Core.Text.Metrics.CharByChar
+  - Gargantext.Core.Text.Metrics.Count
+  - Gargantext.Core.Text.Search
+  - Gargantext.Core.Text.Terms
+  - Gargantext.Core.Text.Terms.Mono
+  - Gargantext.Core.Text.Terms.Multi.Lang.En
+  - Gargantext.Core.Text.Terms.Multi.Lang.Fr
+  - Gargantext.Core.Text.Terms.Multi.RAKE
+  - Gargantext.Core.Text.Terms.WithList
+  - Gargantext.Core.Viz.Graph
+  - Gargantext.Core.Viz.Graph.Tools
+  - Gargantext.Core.Viz.Graph.Tools.IGraph
+  - Gargantext.Core.Viz.Graph.Index
+  - Gargantext.Core.Viz.AdaptativePhylo
+  - Gargantext.Core.Viz.Phylo.PhyloMaker
+  - Gargantext.Core.Viz.Phylo.PhyloTools
+  - Gargantext.Core.Viz.Phylo.PhyloExport
+  - Gargantext.Core.Viz.Phylo.SynchronicClustering
+  - Gargantext.Core.Viz.Types
   dependencies:
+  - HSvm
+  - KMP
+  - MissingH
+  - MonadRandom
   - QuickCheck
+  - Unique
+  - accelerate
+  - accelerate-arithmetic
+  - accelerate-utility
   - aeson
   - aeson-lens
   - aeson-pretty
+  - array
   - async
   - attoparsec
+  - auto-update
   - base >=4.7 && <5
   - base16-bytestring
+  - base64-bytestring
+  - blaze-html
+  - blaze-markup
+  - blaze-svg
   - bytestring
   - case-insensitive
+  - cassava
+  - cereal     # (IGraph)
+  - cborg
   - conduit
   - conduit-extra
   - containers
   - contravariant
+  - crawlerHAL
+  - crawlerISTEX
+  - crawlerIsidore
+  - crawlerPubMed
+  - cryptohash
   - data-time-segment
+  - deepseq
   - directory
   - duckling
-  - filepath
-  - fclabels
+  - exceptions
   - fast-logger
-    #  - haskell-gi-base
-  - http-conduit
+  - fclabels
+  - fgl
+  - filelock
+  - filepath
+  - formatting
+  - full-text-search
+  - fullstop
+  - gargantext-prelude
+  - graphviz
+  - hashable
+  - haskell-igraph
+  - hlcm
+  - hsparql
+  - hstatistics
   - http-api-data
+  - http-client
+  - http-client-tls
+  - http-conduit
+  - http-media
   - http-types
   - hxt
-  - hlcm
   - ini
-  - jose-jwt
+  - insert-ordered-containers
+  - jose
+  - json-stream
   - lens
+  - located-base
   - logging-effect
+  - matrix
+  - monad-control
   - monad-logger
   - mtl
   - natural-transformation
   - opaleye
+  - pandoc
+  - parallel
   - parsec
+  - patches-class
+  - patches-map
   - path
   - path-io
   - postgresql-simple
-  - pretty
+  - pretty-simple
+  - probability
   - product-profunctors
   - profunctors
   - protolude
   - pureMD5
+  - quickcheck-instances
+  - rake
+  - random
+  - rdf4h
   - regex-compat
+  - regex-tdfa
+  - resource-pool
   - resourcet
   - safe
+  - scientific
   - semigroups
+  - serialise
   - servant
   - servant-auth
+  - servant-auth-server >= 0.4.4.0
+  - servant-auth-swagger
+  - servant-blaze
+  - servant-cassava
   - servant-client
+  - servant-job
   - servant-mock
   - servant-multipart
   - servant-server
+  - servant-static-th
   - servant-swagger
   - servant-swagger-ui
-  - servant-static-th
+  - servant-xml
+  - simple-reflect
+  - singletons # (IGraph)
   - split
   - stemmer
-  - string-conversions
   - swagger2
   - tagsoup
+  - template-haskell
+  - temporary
   - text-metrics
   - time
   - time-locale-compat
@@ -124,58 +227,230 @@ library:
   - transformers
   - transformers-base
   - unordered-containers
+  - utf8-string
   - uuid
+  - validity
   - vector
   - wai
+  - wai-app-static
   - wai-cors
   - wai-extra
   - warp
+  - wreq
+  - xml-conduit
+  - xml-types
+  - xmlbf
   - yaml
   - zip
   - zlib
-#  - utc
 
-executable:
-  main: Main.hs
-  source-dirs:      app
-  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -O2
-  dependencies:
-    - base
-    - gargantext
-    - ini
-    - optparse-generic
-    - unordered-containers
+executables:
+  gargantext-server:
+    main: Main.hs
+    source-dirs: bin/gargantext-server
+    ghc-options:
+    - -O2
+    - -Wcompat
+    - -Wmissing-signatures
+    - -rtsopts
+    - -threaded
+    - -with-rtsopts=-N
+    - -fprof-auto
+    dependencies:
+      - base
+      - containers
+      - gargantext
+      - gargantext-prelude
+      - vector
+      - cassava
+      - ini
+      - optparse-generic
+      - unordered-containers
+      - full-text-search
 
-tests:
-  garg-test:
+  gargantext-cli:
+    main: Main.hs
+    source-dirs: bin/gargantext-cli
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - aeson
+      - async
+      - base
+      - bytestring
+      - containers
+      - gargantext
+      - gargantext-prelude
+      - vector
+      - cassava
+      - ini
+      - optparse-generic
+      - split
+      - unordered-containers
+      - full-text-search
+
+  gargantext-adaptative-phylo:
+    main: Main.hs
+    source-dirs: bin/gargantext-adaptative-phylo
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - aeson
+      - async
+      - base
+      - bytestring
+      - containers
+      - directory
+      - gargantext
+      - gargantext-prelude
+      - vector
+      - parallel
+      - cassava
+      - ini
+      - optparse-generic
+      - split
+      - unordered-containers
+      - cryptohash
+      - time 
+
+  gargantext-import:
     main: Main.hs
-    source-dirs: src-test
-    default-extensions: 
+    source-dirs: bin/gargantext-import
     ghc-options:
     - -threaded
     - -rtsopts
     - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
     dependencies:
-    - base
-    - gargantext
-    - hspec
-    - QuickCheck
-    - quickcheck-instances 
-    - time
-    - parsec
-    - duckling
-    - text
-  garg-doctest:
+      - gargantext
+      - gargantext-prelude
+      - base
+      - servant-server
+
+  gargantext-init:
     main: Main.hs
-    source-dirs: src-doctest
+    source-dirs: bin/gargantext-init
     ghc-options:
-    - -Werror
     - -threaded
     - -rtsopts
     - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
     dependencies:
-    - doctest
-    - Glob
-    - QuickCheck
-    - base
-    - gargantext
+      - gargantext
+      - gargantext-prelude
+      - base
+
+  gargantext-upgrade:
+    main: Main.hs
+    source-dirs: bin/gargantext-upgrade
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - gargantext-prelude
+      - base
+
+  gargantext-admin:
+    main: Main.hs
+    source-dirs: bin/gargantext-admin
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - gargantext-prelude
+      - base
+
+  gargantext-cbor2json:
+    main: Main.hs
+    source-dirs: bin/gargantext-cbor2json
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - gargantext-prelude
+      - base
+      - bytestring
+      - aeson
+      - serialise
+
+
+tests:
+   garg-test:
+     main: Main.hs
+     source-dirs: src-test
+     default-extensions:
+     - DataKinds
+     - DeriveGeneric
+     - FlexibleContexts
+     - FlexibleInstances
+     - GeneralizedNewtypeDeriving
+     - MultiParamTypeClasses
+     - NoImplicitPrelude
+     - OverloadedStrings
+     - RankNTypes
+     ghc-options:
+     - -threaded
+     - -rtsopts
+     - -with-rtsopts=-N
+     dependencies:
+     - base
+     - gargantext
+     - gargantext-prelude
+     - hspec
+     - QuickCheck
+     - quickcheck-instances
+     - time
+     - parsec
+     - duckling
+     - text
+     - unordered-containers
+#  garg-doctest:
+#    main: Main.hs
+#    source-dirs: src-doctest
+#    ghc-options:
+#    - -O2
+#    - -Wcompat
+#    - -Wmissing-signatures
+#    - -rtsopts
+#    - -threaded
+#    - -with-rtsopts=-N
+#    dependencies:
+#    - doctest
+#    - Glob
+#    - QuickCheck
+#    - base
+#    - gargantext
+#    default-extensions:
+#    - DataKinds
+#    - DeriveGeneric
+#    - FlexibleContexts
+#    - FlexibleInstances
+#    - GeneralizedNewtypeDeriving
+#    - MultiParamTypeClasses
+#    - NoImplicitPrelude
+#    - OverloadedStrings
+#    - RankNTypes
+#
+