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
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
Christian Merten
haskell-gargantext
Commits
23225a78
Commit
23225a78
authored
Apr 16, 2024
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/adinapoli/issue-317' into dev
parents
deb4c70e
24083672
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
11 deletions
+18
-11
update-project-dependencies
bin/update-project-dependencies
+2
-2
cabal.project
cabal.project
+2
-2
cabal.project.freeze
cabal.project.freeze
+1
-0
gargantext.cabal
gargantext.cabal
+1
-0
Search.hs
src/Gargantext/Database/Action/Search.hs
+1
-0
Node.hs
src/Gargantext/Database/Admin/Types/Node.hs
+2
-1
Prelude.hs
src/Gargantext/Database/Schema/Prelude.hs
+2
-0
stack.yaml
stack.yaml
+7
-6
No files found.
bin/update-project-dependencies
View file @
23225a78
...
...
@@ -18,8 +18,8 @@ fi
# with the `sha256sum` result calculated on the `cabal.project` and
# `cabal.project.freeze`. This ensures the files stay deterministic so that CI
# cache can kick in.
expected_cabal_project_hash
=
"
4e2bc98c9e153d35a18644f22c9b764f4190d2b6bb2a55f863be1112c2e6bebc
"
expected_cabal_project_freeze_hash
=
"
a88c2d091ee6223b64fb5dd38e71ab8379710a2aa716d2467f318789e4d75589
"
expected_cabal_project_hash
=
"
11043def9ea48943c952ff23f14832eaf203480d4cb9f4eef32a3941e734b151
"
expected_cabal_project_freeze_hash
=
"
409aceaa4d59a1ddd0ed33a20382ef36131e23a557481f4963ef07ccb3518468
"
cabal
--store-dir
=
$STORE_DIR
v2-build
--dry-run
cabal2stack
--system-ghc
--allow-newer
--resolver
lts-21.17
--resolver-file
devops/stack/lts-21.17.yaml
-o
stack.yaml
...
...
cabal.project
View file @
23225a78
...
...
@@ -32,8 +32,8 @@ source-repository-package
source
-
repository
-
package
type
:
git
location
:
https
://
git
hub
.
com
/
garganscript
/
haskell
-
opaleye
.
git
tag
:
6
cf1bcfe215143efac17919cfd0abdd60e0f717c
location
:
https
://
git
lab
.
iscpif
.
fr
/
gargantext
/
opaleye
-
textsearch
.
git
tag
:
cb07b604bfb7a22aa21dd8918de5cb65c8a4bdf1
source
-
repository
-
package
type
:
git
...
...
cabal.project.freeze
View file @
23225a78
...
...
@@ -393,6 +393,7 @@ constraints: any.Cabal ==3.8.1.0,
any.old-locale ==1.0.0.7,
any.old-time ==1.1.0.3,
any.opaleye ==0.9.6.1,
any.opaleye-textsearch ==0.1.0.0,
any.openalex ==0.1.0.0,
any.optics-core ==0.4.1.1,
optics-core -explicit-generic-labels,
...
...
gargantext.cabal
View file @
23225a78
...
...
@@ -558,6 +558,7 @@ library
, natural-transformation ^>= 0.4
, network-uri ^>= 2.6.4.1
, opaleye ^>= 0.9.6.1
, opaleye-textsearch >= 0.1.0.0
, openalex
, pandoc ^>= 2.14.0.3
, parallel ^>= 3.2.2.0
...
...
src/Gargantext/Database/Action/Search.hs
View file @
23225a78
...
...
@@ -54,6 +54,7 @@ import Gargantext.Database.Schema.Node ( NodePolySearch(_ns_hyperdata, _ns_searc
import
Gargantext.Prelude
hiding
(
groupBy
)
import
Opaleye
hiding
(
Order
)
import
Opaleye
qualified
as
O
hiding
(
Order
)
import
Opaleye.TextSearch
--
-- Interpreting a query into a Postgres' TSQuery
...
...
src/Gargantext/Database/Admin/Types/Node.hs
View file @
23225a78
...
...
@@ -43,7 +43,8 @@ import Gargantext.Database.Schema.Context
import
Gargantext.Database.Schema.Node
(
NodePoly
(
Node
),
NodePolySearch
(
NodeSearch
)
)
import
Gargantext.Prelude
import
Gargantext.Prelude.Crypto.Hash
(
Hash
)
import
Opaleye
(
DefaultFromField
,
defaultFromField
,
SqlInt4
,
SqlText
,
SqlTSVector
,
Nullable
,
fromPGSFromField
)
import
Opaleye
(
DefaultFromField
,
defaultFromField
,
SqlInt4
,
SqlText
,
Nullable
,
fromPGSFromField
)
import
Opaleye.TextSearch
(
SqlTSVector
)
import
Opaleye
qualified
as
O
import
Prelude
qualified
import
Servant
hiding
(
Context
)
...
...
src/Gargantext/Database/Schema/Prelude.hs
View file @
23225a78
...
...
@@ -27,6 +27,7 @@ module Gargantext.Database.Schema.Prelude
,
module
Opaleye
,
module
Opaleye
.
Internal
.
Table
,
module
Opaleye
.
Internal
.
QueryArr
,
module
Opaleye
.
TextSearch
,
module
Test
.
QuickCheck
.
Arbitrary
)
where
...
...
@@ -41,6 +42,7 @@ import Gargantext.Core.Utils.Prefix (unPrefix, unPrefixSwagger)
import
Opaleye
hiding
(
FromField
)
import
Opaleye.Internal.QueryArr
(
Query
)
import
Opaleye.Internal.Table
(
Table
(
..
))
import
Opaleye.TextSearch
import
Test.QuickCheck.Arbitrary
hiding
(
vector
)
import
Database.PostgreSQL.Simple.FromField
(
FromField
,
fromField
)
...
...
stack.yaml
View file @
23225a78
...
...
@@ -28,6 +28,7 @@
-
"
morpheus-graphql-server-0.24.3"
-
"
morpheus-graphql-subscriptions-0.24.3"
-
"
morpheus-graphql-tests-0.24.3"
-
"
opaleye-0.9.6.1"
-
"
rake-0.0.1"
-
"
random-1.2.1"
-
"
recover-rtti-0.4.3"
...
...
@@ -110,10 +111,6 @@
git
:
"
https://github.com/delanoe/patches-map"
subdirs
:
-
.
-
commit
:
6cf1bcfe215143efac17919cfd0abdd60e0f717c
git
:
"
https://github.com/garganscript/haskell-opaleye.git"
subdirs
:
-
.
-
commit
:
4fd2edf30c141600ffad6d730cc4c1c08a6dbce4
git
:
"
https://github.com/robstewart57/rdf4h.git"
subdirs
:
...
...
@@ -174,6 +171,10 @@
git
:
"
https://gitlab.iscpif.fr/gargantext/iso639.git"
subdirs
:
-
.
-
commit
:
cb07b604bfb7a22aa21dd8918de5cb65c8a4bdf1
git
:
"
https://gitlab.iscpif.fr/gargantext/opaleye-textsearch.git"
subdirs
:
-
.
-
commit
:
3668d28607867a88b2dfc62158139b3cfd629ddb
git
:
"
https://gitlab.iscpif.fr/gargantext/patches-class.git"
subdirs
:
...
...
@@ -318,8 +319,8 @@ flags:
"
full-text-search"
:
"
build-search-demo"
:
false
gargantext
:
"
disable-db-obfuscation-executable"
:
fals
e
"
no-phylo-debug-logs"
:
tru
e
"
disable-db-obfuscation-executable"
:
tru
e
"
no-phylo-debug-logs"
:
fals
e
"
test-crypto"
:
false
"
generic-deriving"
:
"
base-4-9"
:
true
...
...
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