src-d / gitbase

SQL interface to git repositories, written in Go. https://docs.sourced.tech/gitbase
Apache License 2.0
2.06k stars 124 forks source link

Watch directory with repositories for changes #645

Closed smacker closed 5 years ago

smacker commented 5 years ago
  1. It would be nice to discover new repositories without restart
  2. Now sure how gitbase behaves now if a repository is deleted/changed. Would be cool to handle such cases correctly.
ajnavarro commented 5 years ago

Actually, this is not possible. If some repository is detached/attached and you have some indexes on them, that indexes will not be correct. See https://github.com/src-d/gitbase/issues/580 and https://github.com/src-d/gitbase/issues/634

ajnavarro commented 5 years ago

Shall we close this one @smola ?

smola commented 5 years ago

@ajnavarro Yes, I'd say this is a duplicate of https://github.com/src-d/gitbase/issues/580

ajnavarro commented 5 years ago

Closing as duplicated then.