java-codebase-rag 0.3.0__py3-none-any.whl → 0.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- java_codebase_rag/pipeline.py +10 -3
- {java_codebase_rag-0.3.0.dist-info → java_codebase_rag-0.3.1.dist-info}/METADATA +1 -1
- {java_codebase_rag-0.3.0.dist-info → java_codebase_rag-0.3.1.dist-info}/RECORD +7 -7
- {java_codebase_rag-0.3.0.dist-info → java_codebase_rag-0.3.1.dist-info}/WHEEL +0 -0
- {java_codebase_rag-0.3.0.dist-info → java_codebase_rag-0.3.1.dist-info}/entry_points.txt +0 -0
- {java_codebase_rag-0.3.0.dist-info → java_codebase_rag-0.3.1.dist-info}/licenses/LICENSE +0 -0
- {java_codebase_rag-0.3.0.dist-info → java_codebase_rag-0.3.1.dist-info}/top_level.txt +0 -0
java_codebase_rag/pipeline.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
from __future__ import annotations
|
|
3
3
|
|
|
4
4
|
import os
|
|
5
|
+
import shutil
|
|
5
6
|
import subprocess
|
|
6
7
|
import sys
|
|
7
8
|
import threading
|
|
@@ -19,7 +20,13 @@ def bundle_dir() -> Path:
|
|
|
19
20
|
|
|
20
21
|
|
|
21
22
|
def cocoindex_bin() -> Path:
|
|
22
|
-
|
|
23
|
+
candidate = Path(sys.executable).parent / "cocoindex"
|
|
24
|
+
if candidate.is_file():
|
|
25
|
+
return candidate
|
|
26
|
+
found = shutil.which("cocoindex")
|
|
27
|
+
if found:
|
|
28
|
+
return Path(found)
|
|
29
|
+
return candidate
|
|
23
30
|
|
|
24
31
|
|
|
25
32
|
class _LineFilter:
|
|
@@ -110,7 +117,7 @@ def run_cocoindex_update(
|
|
|
110
117
|
args=[str(exe)],
|
|
111
118
|
returncode=127,
|
|
112
119
|
stdout="",
|
|
113
|
-
stderr=f"cocoindex not found
|
|
120
|
+
stderr=f"cocoindex not found: {exe}",
|
|
114
121
|
)
|
|
115
122
|
bd = bundle_dir()
|
|
116
123
|
flow = bd / "java_index_flow_lancedb.py"
|
|
@@ -172,7 +179,7 @@ def run_cocoindex_drop(env: dict[str, str], *, quiet: bool) -> subprocess.Comple
|
|
|
172
179
|
args=[str(exe)],
|
|
173
180
|
returncode=127,
|
|
174
181
|
stdout="",
|
|
175
|
-
stderr=f"cocoindex not found
|
|
182
|
+
stderr=f"cocoindex not found: {exe}",
|
|
176
183
|
)
|
|
177
184
|
bd = bundle_dir()
|
|
178
185
|
cmd = [str(exe), "drop", COCOINDEX_TARGET, "-f"]
|
|
@@ -19,10 +19,10 @@ java_codebase_rag/cli.py,sha256=7nwrnXdRGZvRKMYcHJDR0CecYsiBt1Fu1RJwrQAIMV0,2851
|
|
|
19
19
|
java_codebase_rag/cli_format.py,sha256=arU7P9W6Fvm7X_wzR1wJ8EfyxK1rDP_ESEhdA0ub4Mo,2579
|
|
20
20
|
java_codebase_rag/cli_progress.py,sha256=9jCqEagYOXs32SYVA31_sOCrONvYy7cl1CrdBD2Pg44,3168
|
|
21
21
|
java_codebase_rag/config.py,sha256=F6NtbRAlcs9M96bhrkQVeptOkvCFdd0rt_UJFKNiRfA,12633
|
|
22
|
-
java_codebase_rag/pipeline.py,sha256=
|
|
23
|
-
java_codebase_rag-0.3.
|
|
24
|
-
java_codebase_rag-0.3.
|
|
25
|
-
java_codebase_rag-0.3.
|
|
26
|
-
java_codebase_rag-0.3.
|
|
27
|
-
java_codebase_rag-0.3.
|
|
28
|
-
java_codebase_rag-0.3.
|
|
22
|
+
java_codebase_rag/pipeline.py,sha256=p0u6yJlBYip2kr7LaCUYFHI4sv9inEgXpZTzcJK_rJ8,7583
|
|
23
|
+
java_codebase_rag-0.3.1.dist-info/licenses/LICENSE,sha256=gxvtiHtuviR_q8ZAjWw-QTcF3DyPzg6ZY-lQrr8OPpw,1068
|
|
24
|
+
java_codebase_rag-0.3.1.dist-info/METADATA,sha256=o4nk9F_JRE6yX0Jv7O4A45c2vHPXIGVryjxPz8dWEDQ,15068
|
|
25
|
+
java_codebase_rag-0.3.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
26
|
+
java_codebase_rag-0.3.1.dist-info/entry_points.txt,sha256=mVVQJa0n73OWfhHXYCDoPRrWin_LJhH2Rn0CkJ2iax4,101
|
|
27
|
+
java_codebase_rag-0.3.1.dist-info/top_level.txt,sha256=5aIYoMkvJvvfXvf4iHn2OeSIM7PZXP-0j94eNESnwMw,242
|
|
28
|
+
java_codebase_rag-0.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|