diff --git a/ingest.py b/ingest.py index e693df7..3d2160c 100644 --- a/ingest.py +++ b/ingest.py @@ -97,6 +97,9 @@ def run(): print("\n[5/6] Loading into database...") db = GraphDB() + # Create repo first (empty doc — will be filled in step 6) + db.create_repo(name=repo_name, url=TARGET_REPO, language="go", documentation="(generating...)") + for rel_path, content in go_files.items(): info = parsed[rel_path] doc = file_doc_map.get(rel_path, "")