swh.web.browse.views.origin module#
- swh.web.browse.views.origin.origin_directory_browse(request: HttpRequest) HttpResponse[source]#
- Django view for browsing the content of a directory associated to an origin for a given visit. - The URL that points to it is - GET /browse/origin/directory/
- swh.web.browse.views.origin.origin_directory_browse_legacy(request: HttpRequest, origin_url: str, timestamp: str | None = None, path: str | None = None) HttpResponse[source]#
- Django view for browsing the content of a directory associated to an origin for a given visit. - The URLs that point to it are - GET /browse/origin/(origin_url)/directory/[(path)/]and- GET /browse/origin/(origin_url)/visit/(timestamp)/directory/[(path)/]
- swh.web.browse.views.origin.origin_content_browse(request: HttpRequest) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/content instead - Django view that produces an HTML display of a content associated to an origin for a given visit. - The URL that points to it is - GET /browse/origin/content/
- swh.web.browse.views.origin.origin_content_browse_legacy(request: HttpRequest, origin_url: str, path: str | None = None, timestamp: str | None = None) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/content instead - Django view that produces an HTML display of a content associated to an origin for a given visit. - The URLs that point to it are - GET /browse/origin/(origin_url)/content/(path)/and- GET /browse/origin/(origin_url)/visit/(timestamp)/content/(path)/
- swh.web.browse.views.origin.origin_log_browse(request: HttpRequest) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/snapshot/log instead - Django view that produces an HTML display of revisions history (aka the commit log) associated to a software origin. - The URL that points to it is - GET /browse/origin/log/
- swh.web.browse.views.origin.origin_log_browse_legacy(request: HttpRequest, origin_url: str, timestamp: str | None = None) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/snapshot/log instead - Django view that produces an HTML display of revisions history (aka the commit log) associated to a software origin. - The URLs that point to it are - GET /browse/origin/(origin_url)/log/and- GET /browse/origin/(origin_url)/visit/(timestamp)/log/
- swh.web.browse.views.origin.origin_branches_browse(request: HttpRequest) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/snapshot/branches instead - Django view that produces an HTML display of the list of branches associated to an origin for a given visit. - The URL that points to it is - GET /browse/origin/branches/
- swh.web.browse.views.origin.origin_branches_browse_legacy(request: HttpRequest, origin_url: str, timestamp: str | None = None) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/snapshot/branches instead - Django view that produces an HTML display of the list of branches associated to an origin for a given visit. - The URLs that point to it are - GET /browse/origin/(origin_url)/branches/and- GET /browse/origin/(origin_url)/visit/(timestamp)/branches/
- swh.web.browse.views.origin.origin_releases_browse(request: HttpRequest) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/snapshot/releases instead - Django view that produces an HTML display of the list of releases associated to an origin for a given visit. - The URL that points to it is - GET /browse/origin/releases/
- swh.web.browse.views.origin.origin_releases_browse_legacy(request: HttpRequest, origin_url: str, timestamp: str | None = None) HttpResponse[source]#
- This route is deprecated; use http:get:/browse/snapshot/releases instead - Django view that produces an HTML display of the list of releases associated to an origin for a given visit. - The URLs that point to it are - GET /browse/origin/(origin_url)/releases/and- GET /browse/origin/(origin_url)/visit/(timestamp)/releases/
- swh.web.browse.views.origin.origin_visits_browse(request: HttpRequest) HttpResponse[source]#
- Django view that produces an HTML display of visits reporting for a given origin. - The URL that points to it is - GET /browse/origin/visits/.
- swh.web.browse.views.origin.origin_visits_browse_legacy(request: HttpRequest, origin_url: str) HttpResponse[source]#
- Django view that produces an HTML display of visits reporting for a given origin. - The URL that points to it is - GET /browse/origin/(origin_url)/visits/.