src-d / borges

borges collects and stores Git repositories.
https://docs.sourced.tech/borges/
GNU General Public License v3.0
52 stars 20 forks source link

Make repository fail if a packfile is not found and should be there. #365

Closed ajnavarro closed 5 years ago

ajnavarro commented 5 years ago

To avoid problems on wrong deployments with wrong parameters like bucket_size, we should check using the database if a siva file is expected before pushing. If it is expected, we should throw an error, marking that repository as errored.