Port most of the user related apis.

This commit is contained in:
jakedt 2014-03-13 15:19:49 -04:00
parent 0e3fe8f3b1
commit 85eb585a85
5 changed files with 461 additions and 11 deletions

View file

@ -236,6 +236,7 @@ class Repository(RepositoryParamResource):
@require_repo_admin
@nickname('deleteRepository')
def delete(self, namespace, repository):
""" Delete a repository. """
model.purge_repository(namespace, repository)
log_action('delete_repo', namespace,
{'repo': repository, 'namespace': namespace})