For maintainance tasks - like backup - Bitbucket offers a REST-API to lock the complete server to avoid user interaction during maintainance.
Is there a way to lock/unlock single repositories on Bitbucket for maintainance?
Background: I want to do some maintainance tasks on several hosted repositories (like git gc and git repack...). As I don't want to lock the complete server during operations on a single repository, this might be useful (and the repsoitory should be locked during this operation to avoid interruption by users ...)
You could remove the "write" permission of individuals during the maintenance period to avoid users pushing to the repository. That would be one way to prevent interruptions. Would that suffice, or are you looking for a single setting you could turn off and on?
Hope this helps!
Kian
Not exactly what I'm looking after - but definitivly a workaround!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your suggestion would work, if all APIs would be available: You're only able to get/set/delete permissions for projects and repositories - but not for branches (at least I haven't found this yet)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.