Let us walk on the 3-isogeny graph
|
Data Structures | |
class | RemoteNotFoundError |
class | RemoteNotValidError |
class | RevOptions |
class | VcsSupport |
class | VersionControl |
Functions | |
bool | is_url (str name) |
str | make_vcs_requirement_url (str repo_url, str rev, str project_name, Optional[str] subdir=None) |
Optional[str] | find_path_to_project_root_from_repo_root (str location, str repo_root) |
Variables | |
logger = logging.getLogger(__name__) | |
AuthInfo = Tuple[Optional[str], Optional[str]] | |
vcs = VcsSupport() | |
Handles all VCS (version control) support
Optional[str] find_path_to_project_root_from_repo_root | ( | str | location, |
str | repo_root | ||
) |
Find the the Python project's root by searching up the filesystem from `location`. Return the path to project root relative to `repo_root`. Return None if the project root is `repo_root`, or cannot be found.
Definition at line 85 of file versioncontrol.py.
References i.
bool is_url | ( | str | name | ) |
Return true if the name looks like a URL.
Definition at line 57 of file versioncontrol.py.
References i.
str make_vcs_requirement_url | ( | str | repo_url, |
str | rev, | ||
str | project_name, | ||
Optional[str] | subdir = None |
||
) |
Return the URL for a VCS requirement. Args: repo_url: the remote VCS url, with any needed VCS prefix (e.g. "git+"). project_name: the (unescaped) project name.
Definition at line 67 of file versioncontrol.py.
References i.
Referenced by VersionControl.get_src_requirement().
AuthInfo = Tuple[Optional[str], Optional[str]] |
Definition at line 54 of file versioncontrol.py.
logger = logging.getLogger(__name__) |
Definition at line 52 of file versioncontrol.py.
vcs = VcsSupport() |
Definition at line 271 of file versioncontrol.py.