swh.web.browse.views.origin module

swh.web.browse.views.origin.origin_directory_browse(request: django.http.request.HttpRequest) django.http.response.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: django.http.request.HttpRequest, origin_url: str, timestamp: Optional[str] = None, path: Optional[str] = None) django.http.response.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: django.http.request.HttpRequest) django.http.response.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: django.http.request.HttpRequest, origin_url: str, path: Optional[str] = None, timestamp: Optional[str] = None) django.http.response.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: django.http.request.HttpRequest) django.http.response.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: django.http.request.HttpRequest, origin_url: str, timestamp: Optional[str] = None) django.http.response.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: django.http.request.HttpRequest) django.http.response.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: django.http.request.HttpRequest, origin_url: str, timestamp: Optional[str] = None) django.http.response.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: django.http.request.HttpRequest) django.http.response.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: django.http.request.HttpRequest, origin_url: str, timestamp: Optional[str] = None) django.http.response.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: django.http.request.HttpRequest) django.http.response.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: django.http.request.HttpRequest, origin_url: str) django.http.response.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/.

swh.web.browse.views.origin.origin_browse(request: django.http.request.HttpRequest) django.http.response.HttpResponse[source]

Django view that redirects to the display of the latest archived snapshot for a given software origin.

swh.web.browse.views.origin.origin_browse_legacy(request: django.http.request.HttpRequest, origin_url: str) django.http.response.HttpResponse[source]

Django view that redirects to the display of the latest archived snapshot for a given software origin.