Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 180
    • Issues 180
    • 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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Merge Requests
  • !434

Open
Opened Aug 04, 2025 by Przemyslaw Kaminski@cgenie
  • Report abuse
Report abuse

Resolve "Move corenlp to separate repo/flake"

Ref #483

This moves corenlp to separate nix flake. You can run it via:

nix run "git+https://gitlab.iscpif.fr/gargantext/corenlp-nix.git"

Tests are updated to reflect this change.

This MR replaces !432 (diffs)

commit 4f25aa65 Author: Przemysław Kaminski pk@intrepidus.pl Date: Sat Aug 2 13:04:35 2025 +0200

[CI] sudo with chown at the end of tests

commit a4d26226 Author: Przemysław Kaminski pk@intrepidus.pl Date: Sat Aug 2 06:55:27 2025 +0200

[CI] no /root/.config needed

commit 1f8eaa0b Author: Przemysław Kaminski pk@intrepidus.pl Date: Fri Aug 1 21:27:01 2025 +0200

[CI] more permission fixes

commit c4d9b175 Author: Przemysław Kaminski pk@intrepidus.pl Date: Fri Aug 1 20:43:09 2025 +0200

[CI] more permission fixes for gitlab-ci

commit f85213fd Author: Przemysław Kaminski pk@intrepidus.pl Date: Fri Aug 1 19:34:35 2025 +0200

[CI] add sudo to dockerfile, change dir owner in CI

commit f14c6246 Author: Przemysław Kaminski pk@intrepidus.pl Date: Fri Aug 1 08:42:32 2025 +0200

[CI] modify dockerfile to build with test user

commit 1670cc4a Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 31 19:20:10 2025 +0200

[CI] add verbose=2 for testing to check what is happening with CI timeouts

commit 210ba723 Merge: 1a213aeb 27192b88 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 31 09:22:52 2025 +0200

Merge branch 'dev' into 483-dev-corenlp-in-nix-flake

commit 1a213aeb Merge: d7aa1301 61aac410 Author: Przemysław Kaminski pk@intrepidus.pl Date: Tue Jul 29 18:58:07 2025 +0200

Merge branch 'dev' into 483-dev-corenlp-in-nix-flake

commit d7aa1301 Author: Przemysław Kaminski pk@intrepidus.pl Date: Fri Jul 25 09:57:38 2025 +0200

[CI] one more try to fix nix permission

commit b45e16eb Author: Przemysław Kaminski pk@intrepidus.pl Date: Fri Jul 11 07:24:53 2025 +0200

[CI] writable permissions for nix db

commit 50f13d32 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 10 16:34:01 2025 +0200

[CI] attempt at fixing nix db permissions

commit 76c1b9a6 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 10 14:44:55 2025 +0200

[CI] fix /nix dir permissions

Apparently, this is needed to run 'nix' inside tests (e.g. start corenlp)

commit 7edb97af Merge: 19e752b8 64e2a689 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 10 11:56:04 2025 +0200

Merge branch 'dev' into 483-dev-corenlp-in-nix-flake

commit 19e752b8 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 10 11:47:58 2025 +0200

[tests] better startup of corenlp

Take into account the async nature of createProcess. Add proper watch
so that we monitor that coreNLP is running.

commit bde033f9 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 10 10:47:36 2025 +0200

[nix] fix stdenv to be gcc 14, not 13

commit 1d4ceb07 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 10 07:03:15 2025 +0200

[nix] add openblas as a dependency

commit 9dd4ebc3 Author: Przemysław Kaminski pk@intrepidus.pl Date: Wed Jul 9 14:44:28 2025 +0200

[update-project-dependencie]

commit 120e205c Author: Przemysław Kaminski pk@intrepidus.pl Date: Wed Jul 9 12:50:38 2025 +0200

[corenlp] some fixes to Dockerfile

commit 3a2b2079 Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 3 19:21:37 2025 +0200

[dockerfile] add fontconfig, to see if this is what causes errors on CI

E.g.:
https://gitlab.iscpif.fr/gargantext/haskell-gargantext/-/jobs/18643

paginating QuantumComputing corpus works (MapTerms):            Fontconfig error: Cannot load default config file: No such file: (null)
Fontconfig error: No writable cache directories

commit d9d4a09c Author: Przemysław Kaminski pk@intrepidus.pl Date: Thu Jul 3 14:02:30 2025 +0200

[nix] don't use experimental features for corenlp nix call

Also, update Dockerfile with patched `nix.conf`

commit 5ccb44bb Author: Przemysław Kaminski pk@intrepidus.pl Date: Wed Jul 2 21:05:47 2025 +0200

[test] fix calling of nix flakes

commit 1adc512e Author: Przemysław Kaminski pk@intrepidus.pl Date: Wed Jul 2 19:42:29 2025 +0200

[nix] move corenlp to separate flake in core-nix repo

https://gitlab.iscpif.fr/gargantext/haskell-gargantext/issues/483

Closes #483

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch origin
git checkout -b 483-dev-corenlp-in-nix-flake-squashed origin/483-dev-corenlp-in-nix-flake-squashed

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/dev
git merge --no-ff 483-dev-corenlp-in-nix-flake-squashed

Step 4. Push the result of the merge to GitLab

git push origin dev

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

  • Discussion 0
  • Commits 1
  • Pipelines 1
  • Changes 10
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
1
Labels
Ready to merge
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext!434