Part of lp.codehosting
Class | BadUrl | Tried to access a branch from a bad URL. |
Class | BranchReferenceForbidden | Trying to mirror a branch reference and the branch type does not allow |
Class | BranchLoopError | Encountered a branch cycle. |
Class | BranchOpenPolicy | Policy on how to open branches. |
Class | BlacklistPolicy | Branch policy that forbids certain URLs. |
Class | AcceptAnythingPolicy | Accept anything, to make testing easier. |
Class | WhitelistPolicy | Branch policy that only allows certain URLs. |
Class | SingleSchemePolicy | Branch open policy that rejects URLs not on the given scheme. |
Class | SafeBranchOpener | Safe branch opener. |
Function | safe_open | Open the branch at url , only accessing URLs on allowed_scheme . |