chore(gitmodules): document service paths, add langextract upstream submodule

- Comment block mapping services to submodule paths (carbonyl/chandra/pageindex/langextract upstream)
- Note agent-regex-search-api and claw-harness-api as in-repo only
- Add services/langextract-api/upstream → google/langextract (shallow)
- Document submodule and optional pip install -e in service-langextract.md
This commit is contained in:
Nicolas Cantu 2026-04-03 22:45:43 +02:00
parent 68cb5737c5
commit 466ed6b65f
3 changed files with 23 additions and 4 deletions

24
.gitmodules vendored
View File

@ -1,12 +1,28 @@
# Correspondance chemins services ↔ sous-modules Git :
#
# — Amonts tiers (sous-module dans services/<service>/upstream/) :
# services/carbonyl/upstream → fathyb/carbonyl
# services/chandra/upstream → datalab-to/chandra
# services/pageindex/upstream → VectifyAI/PageIndex
# services/langextract-api/upstream → google/langextract
#
# — Code versionné dans ce dépôt uniquement (pas de sous-module sur la racine du service) :
# services/agent-regex-search-api
# services/claw-harness-api (claw-code amont : clone séparé, voir docs/repo/service-claw-harness.md)
[submodule "services/carbonyl/upstream"]
path = services/carbonyl/upstream
url = https://github.com/fathyb/carbonyl.git
shallow = true
[submodule "services/pageindex/upstream"]
path = services/pageindex/upstream
url = https://github.com/VectifyAI/PageIndex.git
shallow = true
[submodule "services/chandra/upstream"]
path = services/chandra/upstream
url = https://github.com/datalab-to/chandra.git
shallow = true
[submodule "services/pageindex/upstream"]
path = services/pageindex/upstream
url = https://github.com/VectifyAI/PageIndex.git
shallow = true
[submodule "services/langextract-api/upstream"]
path = services/langextract-api/upstream
url = https://github.com/google/langextract.git
shallow = true

View File

@ -2,6 +2,8 @@
API HTTP locale sur **`127.0.0.1`** autour de [google/langextract](https://github.com/google/langextract) : extractions structurées depuis du texte, avec ancrage caractères optionnel.
Le dépôt amont est aussi référencé comme **sous-module Git** : `services/langextract-api/upstream` (voir `.gitmodules` à la racine du monorepo). Après `git clone`, exécuter `git submodule update --init --recursive services/langextract-api/upstream` si le dossier est vide. Par défaut lAPI installe la librairie via **PyPI** (`requirements.txt`). Pour utiliser la révision du sous-module : `pip install -e ./upstream` dans le venv et retirer la ligne `langextract` du fichier `requirements.txt` pour cette installation.
## Variables
| Variable | Obligatoire | Description |

@ -0,0 +1 @@
Subproject commit 9b57b1b63b3a09bc1a64deeb29d4865d533049ff