-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating bare repository skips storage namespace validation #3165
Comments
This issue is now marked as stale after 90 days of inactivity, and will be closed soon. To keep it, mark it with the "no stale" label. |
hi, please assign me the issue if it's available |
Done! |
I see that the mentioned validations (write access check and checking for existing repo at the same storage namespace) occur right now only for non-bare non-readonly repos. |
@idanovo any reason why we didn't add namespace validation on read only repos? |
@N-o-Z Yes- since this is a read-only repository, there is no harm in case the storage namespace we are using is already used by another repository or if we don't have write permissions for this namespace. |
@idanovo Thanks for the explanation. I believe this indeed deserves documentation |
I would like to understand why this is the right thing to do. Creating a bare repo is intentionally a plumbing operation, and I am afraid of limiting it, especially at this late stage. For instance, if we make this change then restoring a repository becomes harder: I need to worry about whether This needs a few minutes of face-to-face discussion; fortunately we have some coming up this week! |
Some bad things can happen as a result, e.g.
The text was updated successfully, but these errors were encountered: