fix: Use cache key for repository lookup

- Changed the repository lookup in `repo_new_from_gitlocation` to use the cache key instead of the repository name.
- Added a new client `livekit` to the `test_basic.vsh` script for testing purposes.

Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
This commit is contained in:
Mahmoud Emad
2025-01-26 15:44:21 +02:00
parent 23410e6109
commit 22918434c3
2 changed files with 4 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ pub fn (mut gitstructure GitStructure) repo_new_from_gitlocation(git_location Gi
status_local: GitRepoStatusLocal{}
status_wanted: GitRepoStatusWanted{}
}
gitstructure.repos[repo.name] = &repo
gitstructure.repos[repo.cache_key()] = &repo
return &repo
}

View File

@@ -179,6 +179,9 @@ clients/meilisearch
clients/zdb
clients/openai
systemd_process_test.v
// We should fix that one
clients/livekit
'
tests_error := '