Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Przemyslaw Kaminski
haskell-gargantext
Commits
c45dba95
Commit
c45dba95
authored
Nov 28, 2019
by
Nicolas Pouillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to lasted version of servant-job
parent
a31740fe
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
Schedule.hs
src/Gargantext/API/Orchestrator/Scrapy/Schedule.hs
+1
-1
Types.hs
src/Gargantext/API/Types.hs
+7
-1
stack.yaml
stack.yaml
+3
-3
No files found.
src/Gargantext/API/Orchestrator/Scrapy/Schedule.hs
View file @
c45dba95
...
@@ -11,7 +11,7 @@ import Data.Text (Text)
...
@@ -11,7 +11,7 @@ import Data.Text (Text)
import
GHC.Generics
import
GHC.Generics
import
Servant
import
Servant
import
Servant.Job.Utils
(
jsonOptions
)
import
Servant.Job.Utils
(
jsonOptions
)
import
Servant.Client
.Streaming
import
Servant.Client
import
Web.FormUrlEncoded
hiding
(
parseMaybe
)
import
Web.FormUrlEncoded
hiding
(
parseMaybe
)
data
Schedule
=
Schedule
data
Schedule
=
Schedule
...
...
src/Gargantext/API/Types.hs
View file @
c45dba95
...
@@ -16,6 +16,7 @@ Portability : POSIX
...
@@ -16,6 +16,7 @@ Portability : POSIX
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE TypeOperators #-}
...
@@ -33,6 +34,7 @@ import Control.Lens (Prism', (#))
...
@@ -33,6 +34,7 @@ import Control.Lens (Prism', (#))
import
Control.Lens.TH
(
makePrisms
)
import
Control.Lens.TH
(
makePrisms
)
import
Control.Monad.Error.Class
(
MonadError
(
throwError
))
import
Control.Monad.Error.Class
(
MonadError
(
throwError
))
import
Crypto.JOSE.Error
as
Jose
import
Crypto.JOSE.Error
as
Jose
import
Data.Aeson.Types
import
Data.Typeable
import
Data.Typeable
import
Data.Validity
import
Data.Validity
import
Servant
import
Servant
...
@@ -42,8 +44,8 @@ import Gargantext.Prelude
...
@@ -42,8 +44,8 @@ import Gargantext.Prelude
import
Gargantext.API.Settings
import
Gargantext.API.Settings
import
Gargantext.API.Orchestrator.Types
import
Gargantext.API.Orchestrator.Types
import
Gargantext.API.Ngrams
import
Gargantext.API.Ngrams
import
Gargantext.Database.Tree
import
Gargantext.Core.Types
import
Gargantext.Core.Types
import
Gargantext.Database.Tree
import
Gargantext.Database.Utils
import
Gargantext.Database.Utils
import
Gargantext.Database.Schema.Node
import
Gargantext.Database.Schema.Node
...
@@ -80,6 +82,7 @@ type GargServerC env err m =
...
@@ -80,6 +82,7 @@ type GargServerC env err m =
,
HasTreeError
err
,
HasTreeError
err
,
HasServerError
err
,
HasServerError
err
,
HasJoseError
err
,
HasJoseError
err
,
ToJSON
err
-- TODO this is arguable
,
Exception
err
,
Exception
err
,
HasRepo
env
,
HasRepo
env
,
HasSettings
env
,
HasSettings
env
...
@@ -101,6 +104,9 @@ data GargError
...
@@ -101,6 +104,9 @@ data GargError
makePrisms
''
G
argError
makePrisms
''
G
argError
instance
ToJSON
GargError
where
toJSON
_
=
String
"SomeGargErrorPleaseReport"
instance
Exception
GargError
instance
Exception
GargError
instance
HasNodeError
GargError
where
instance
HasNodeError
GargError
where
...
...
stack.yaml
View file @
c45dba95
...
@@ -35,9 +35,9 @@ extra-deps:
...
@@ -35,9 +35,9 @@ extra-deps:
#
#
-
git
:
https://gitlab.iscpif.fr/gargantext/patches-class
-
git
:
https://gitlab.iscpif.fr/gargantext/patches-class
commit
:
746b4ce0af8f9e600d555ad7e5b2973a940cdad9
commit
:
746b4ce0af8f9e600d555ad7e5b2973a940cdad9
-
git
:
https://github.com/delanoe/servant-job.git
#
- git: https://github.com/delanoe/servant-job.git
#
- git: https://github.com/np/servant-job.git
-
git
:
https://github.com/np/servant-job.git
commit
:
3fee20ed7743097d795769ffad8e1866fbd3c665
commit
:
471f4952d2aa72bd373f850255a662442ad58c94
-
git
:
https://gitlab.iscpif.fr/gargantext/clustering-louvain.git
-
git
:
https://gitlab.iscpif.fr/gargantext/clustering-louvain.git
commit
:
1c636112b151110408e7c5a28cec39e46657358e
commit
:
1c636112b151110408e7c5a28cec39e46657358e
-
git
:
https://github.com/np/patches-map
-
git
:
https://github.com/np/patches-map
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment