Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
195
Issues
195
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
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
gargantext
haskell-gargantext
Commits
dc0829d8
Commit
dc0829d8
authored
Aug 31, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] repo.cbor
parent
d9e09553
Pipeline
#1023
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
Settings.hs
src/Gargantext/API/Admin/Settings.hs
+2
-2
Search.hs
src/Gargantext/Database/Action/Search.hs
+0
-6
No files found.
src/Gargantext/API/Admin/Settings.hs
View file @
dc0829d8
...
...
@@ -180,13 +180,13 @@ repoDir :: FilePath
repoDir
=
"repos"
repoSnapshot
::
FilePath
repoSnapshot
=
repoDir
<>
"/repo.
json
"
repoSnapshot
=
repoDir
<>
"/repo.
cbor
"
-- | TODO add hard coded file in Settings
-- This assumes we own the lock on repoSnapshot.
repoSaverAction
::
Serialise
a
=>
a
->
IO
()
repoSaverAction
a
=
do
withTempFile
"repos"
"tmp-repo.
json
"
$
\
fp
h
->
do
withTempFile
"repos"
"tmp-repo.
cbor
"
$
\
fp
h
->
do
printDebug
"repoSaverAction"
fp
L
.
hPut
h
$
serialise
a
hClose
h
...
...
src/Gargantext/Database/Action/Search.hs
View file @
dc0829d8
...
...
@@ -152,12 +152,6 @@ selectGroup cId aId q = proc () -> do
returnA
-<
FacetPaired
a
b
c
d
queryContactViaDoc
::
O
.
Query
(
NodeSearchRead
,
(
NodeNodeReadNull
,
(
NodeNodeReadNull
...
...
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