Changeset View
Changeset View
Standalone View
Standalone View
swh/web/browse/utils.py
Show First 20 Lines • Show All 883 Lines • ▼ Show 20 Lines | Returns: | ||||
* origin_branches_url: the url to browse the origin branches | * origin_branches_url: the url to browse the origin branches | ||||
* origin_releases_url': the url to browse the origin releases | * origin_releases_url': the url to browse the origin releases | ||||
* origin_visit_url: the url to browse the snapshot of the origin | * origin_visit_url: the url to browse the snapshot of the origin | ||||
found during the visit | found during the visit | ||||
* url_args: dict containing url arguments to use when browsing in | * url_args: dict containing url arguments to use when browsing in | ||||
the context of the origin and its visit | the context of the origin and its visit | ||||
Raises: | Raises: | ||||
NotFoundExc: if no snapshot is found for the visit of an origin. | swh.web.common.exc.NotFoundExc: if no snapshot is found for the visit | ||||
of an origin. | |||||
""" | """ | ||||
origin_info = None | origin_info = None | ||||
visit_info = None | visit_info = None | ||||
url_args = None | url_args = None | ||||
query_params = {} | query_params = {} | ||||
branches = [] | branches = [] | ||||
releases = [] | releases = [] | ||||
browse_url = None | browse_url = None | ||||
▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines |