Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Makefile.cbm
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ PIPELINE_SRCS = \
src/pipeline/pass_compile_commands.c \
src/pipeline/pass_infrascan.c \
src/pipeline/pass_k8s.c \
src/pipeline/pass_pkgmap.c \
src/pipeline/pass_similarity.c \
src/pipeline/pass_semantic_edges.c

Expand Down Expand Up @@ -289,7 +290,7 @@ TEST_DISCOVER_SRCS = \

TEST_GRAPH_BUFFER_SRCS = tests/test_graph_buffer.c

TEST_PIPELINE_SRCS = tests/test_registry.c tests/test_pipeline.c tests/test_fqn.c tests/test_configlink.c tests/test_infrascan.c tests/test_worker_pool.c tests/test_parallel.c
TEST_PIPELINE_SRCS = tests/test_registry.c tests/test_pipeline.c tests/test_fqn.c tests/test_configlink.c tests/test_infrascan.c tests/test_worker_pool.c tests/test_parallel.c tests/test_pkgmap.c

TEST_WATCHER_SRCS = tests/test_watcher.c

Expand Down
2 changes: 1 addition & 1 deletion src/pipeline/pass_calls.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static int build_import_map(cbm_pipeline_ctx_t *ctx, const char *rel_path,
if (!imp->local_name || !imp->local_name[0] || !imp->module_path) {
continue;
}
char *target_qn = cbm_pipeline_fqn_module(ctx->project_name, imp->module_path);
char *target_qn = cbm_pipeline_resolve_module(ctx, imp->module_path);
const cbm_gbuf_node_t *target = cbm_gbuf_find_by_qn(ctx->gbuf, target_qn);
free(target_qn);
if (!target) {
Expand Down
2 changes: 1 addition & 1 deletion src/pipeline/pass_definitions.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ static int create_import_edges_for_file(cbm_pipeline_ctx_t *ctx, const CBMFileRe
target_qn = cbm_pipeline_fqn_module(ctx->project_name, resolved);
free(resolved);
} else {
target_qn = cbm_pipeline_fqn_module(ctx->project_name, imp->module_path);
target_qn = cbm_pipeline_resolve_module(ctx, imp->module_path);
}
const cbm_gbuf_node_t *target = cbm_gbuf_find_by_qn(ctx->gbuf, target_qn);
char *file_qn = cbm_pipeline_fqn_compute(ctx->project_name, rel, "__file__");
Expand Down
2 changes: 1 addition & 1 deletion src/pipeline/pass_parallel.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ static int create_imports_edges(cbm_pipeline_ctx_t *ctx, const CBMFileResult *re
target_qn = cbm_pipeline_fqn_module(ctx->project_name, resolved);
free(resolved);
} else {
target_qn = cbm_pipeline_fqn_module(ctx->project_name, imp->module_path);
target_qn = cbm_pipeline_resolve_module(ctx, imp->module_path);
}
const cbm_gbuf_node_t *target = cbm_gbuf_find_by_qn(ctx->gbuf, target_qn);
char *file_qn = cbm_pipeline_fqn_compute(ctx->project_name, rel, "__file__");
Expand Down
Loading