Store repositories as key-value stores