timescale / pgvectorscale

A complement to pgvector for high performance, cost efficient vector search on large workloads.
PostgreSQL License
1.37k stars 58 forks source link

Find repo root properly when upgrade testing in a Cargo workspace #170

Closed syvb closed 6 days ago

syvb commented 6 days ago

Previously, the logic in the upgrade tester assumed that the path to the repo root was 4 levels up from the executable. This PR makes it look for the first parent directory with a .git subdirectory, so it works regardless of where the target directory is.