swh.web.browse.views.snapshot module

swh.web.browse.views.snapshot.get_snapshot_from_request(request)[source]
swh.web.browse.views.snapshot.snapshot_browse(request, snapshot_id)[source]

Django view for browsing the content of a snapshot.

The url that points to it is GET /browse/snapshot/(snapshot_id)/

swh.web.browse.views.snapshot.snapshot_directory_browse(request, snapshot_id)[source]

Django view for browsing the content of a directory collected in a snapshot.

The URL that points to it is GET /browse/snapshot/(snapshot_id)/directory/

swh.web.browse.views.snapshot.snapshot_directory_browse_legacy(request, snapshot_id, path=None)[source]

Django view for browsing the content of a directory collected in a snapshot.

The URL that points to it is GET /browse/snapshot/(snapshot_id)/directory/(path)/

swh.web.browse.views.snapshot.snapshot_content_browse(request, snapshot_id)[source]

This route is deprecated; use http:get:/browse/content instead

Django view that produces an HTML display of a content collected in a snapshot.

The url that points to it is GET /browse/snapshot/(snapshot_id)/content/

swh.web.browse.views.snapshot.snapshot_content_browse_legacy(request, snapshot_id, path)[source]

This route is deprecated; use http:get:/browse/content instead

Django view that produces an HTML display of a content collected in a snapshot.

The url that points to it is GET /browse/snapshot/(snapshot_id)/content/(path)/

swh.web.browse.views.snapshot.snapshot_log_browse(request, snapshot_id=None)[source]

Django view that produces an HTML display of revisions history (aka the commit log) collected in a snapshot.

The URLs that point to it are GET /browse/snapshot/(snapshot_id)/log/ and GET /browse/snapshot/log/

swh.web.browse.views.snapshot.snapshot_branches_browse(request, snapshot_id=None)[source]

Django view that produces an HTML display of the list of branches collected in a snapshot.

The URLs that point to it are GET /browse/snapshot/(snapshot_id)/branches/ and GET /browse/snapshot/branches/

swh.web.browse.views.snapshot.snapshot_releases_browse(request, snapshot_id=None)[source]

Django view that produces an HTML display of the list of releases collected in a snapshot.

The URLs that point to it are GET /browse/snapshot/(snapshot_id)/releases/ GET /browse/snapshot/releases/