l.c.i.gitrepository : module documentation

Part of lp.code.interfaces

Git repository interfaces.
Function valid_git_repository_name Return True iff the name is valid as a Git repository name.
Function git_repository_name_validator Return True if the name is valid, or raise a LaunchpadValidationError.
Interface IGitRepositoryView IGitRepository attributes that require launchpad.View permission.
Interface IGitRepositoryModerateAttributes IGitRepository attributes that can be edited by more than one community.
Interface IGitRepositoryModerate IGitRepository methods that can be called by more than one community.
Interface IGitRepositoryEditableAttributes IGitRepository attributes that can be edited.
Interface IGitRepositoryEdit IGitRepository methods that require launchpad.Edit permission.
Interface IGitRepositoryDelta The quantitative changes made to a Git repository that was edited or
Class GitIdentityMixin This mixin class determines Git repository paths.
Function user_has_special_git_repository_access Admins have special access.
def valid_git_repository_name(name):
Return True iff the name is valid as a Git repository name.

The rules for what is a valid Git repository name are described in GIT_REPOSITORY_NAME_VALIDATION_ERROR_MESSAGE.

def git_repository_name_validator(name):
Return True if the name is valid, or raise a LaunchpadValidationError.
def user_has_special_git_repository_access(user, repository=None):
Admins have special access.
ParametersuserAn IPerson or None.
repositoryAn IGitRepository or None when checking collection access.
API Documentation for Launchpad, generated by pydoctor at 2018-05-25 00:00:05.