RepositoryService.CreateRepository: error if path already taken
In version 14.6, Gitaly makes it an error to attempt to create a repository if anything already exists at the target path (even broken symlinks). This is worth a minor version change. This deprives us of the way we were triggering actual repository creation errors in tests. To maintain coverage, we're now using the broken symlink trick one step higher in the file hierarchy: on the storage itself. Playing with permissions would not work in CI.
parent
46369243
No related branches found
No related tags found
Showing
- hgitaly/VERSION 1 addition, 1 deletionhgitaly/VERSION
- hgitaly/errors.py 1 addition, 2 deletionshgitaly/errors.py
- hgitaly/service/repository.py 5 additions, 9 deletionshgitaly/service/repository.py
- hgitaly/service/tests/test_repository_service.py 24 additions, 5 deletionshgitaly/service/tests/test_repository_service.py
- tests_with_gitaly/test_repository_service.py 20 additions, 4 deletionstests_with_gitaly/test_repository_service.py
Please register or sign in to comment