Changeset View
Changeset View
Standalone View
Standalone View
docs/uri-scheme-browse-origin.rst
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Lines | .. http:get:: /browse/origin/[(origin_type)/url/](origin_url)/log/ | ||||
HTML view that produces a display of revisions history heading | HTML view that produces a display of revisions history heading | ||||
to the last revision found during the latest visit of a SWH origin. | to the last revision found during the latest visit of a SWH origin. | ||||
In other words, it shows the commit log associated to the latest | In other words, it shows the commit log associated to the latest | ||||
full visit of a SWH origin. | full visit of a SWH origin. | ||||
The following data are displayed for each log entry: | The following data are displayed for each log entry: | ||||
* link to browse the associated revision in the origin context | |||||
* author of the revision | * author of the revision | ||||
* link to the revision metadata | |||||
* message associated the revision | |||||
* date of the revision | * date of the revision | ||||
* link to browse the associated source tree in the origin context | * message associated the revision | ||||
* commit date of the revision | |||||
N log entries are displayed per page (default is 20). In order to navigate | By default, the revisions are ordered in reverse chronological order of | ||||
their commit date. | |||||
N log entries are displayed per page (default is 100). In order to navigate | |||||
in a large history, two buttons are present at the bottom of the view: | in a large history, two buttons are present at the bottom of the view: | ||||
* *Newer*: fetch and display if available the N more recent log entries | * *Newer*: fetch and display if available the N more recent log entries | ||||
than the ones currently displayed | than the ones currently displayed | ||||
* *Older*: fetch and display if available the N older log entries | * *Older*: fetch and display if available the N older log entries | ||||
than the ones currently displayed | than the ones currently displayed | ||||
The view also enables to easily switch between the origin branches | The view also enables to easily switch between the origin branches | ||||
and releases through a dropdown menu. | and releases through a dropdown menu. | ||||
The origin branch (default to master) from which to retrieve the content | The origin branch (default to master) from which to retrieve the content | ||||
can also be specified by using the branch query parameter. | can also be specified by using the branch query parameter. | ||||
:param string origin_type: the type of the SWH origin (*git*, *svn*, *deb* ...) | :param string origin_type: the type of the SWH origin (*git*, *svn*, *deb* ...) | ||||
:param string origin_url: the url of the origin (e.g. https://github.com/(user)/(repo)/) | :param string origin_url: the url of the origin (e.g. https://github.com/(user)/(repo)/) | ||||
:query string revs_breadcrumb: used internally to store | |||||
the navigation breadcrumbs (i.e. the list of descendant revisions | |||||
visited so far). It must be a string in the form | |||||
"(rev_1)[/(rev_2)/.../(rev_n)]" where rev_i corresponds to a | |||||
revision *sha1_git*. | |||||
:query int per_page: the number of log entries to display per page | :query int per_page: the number of log entries to display per page | ||||
(default is 20, max is 50) | :query int offset: the number of revisions to skip before returning those to display | ||||
:query str revs_ordering: specify the revisions ordering, possible values are *committer_date*, | |||||
*dfs*, *dfs_post* and *bfs* | |||||
:query string branch: specify the origin branch name from which | :query string branch: specify the origin branch name from which | ||||
to retrieve the commit log | to retrieve the commit log | ||||
:query string release: specify the origin release name from which | :query string release: specify the origin release name from which | ||||
to retrieve the commit log | to retrieve the commit log | ||||
:query string revision: specify the origin revision, identified by the hexadecimal | :query string revision: specify the origin revision, identified by the hexadecimal | ||||
representation of its *sha1_git* value, from which to retrieve the commit log | representation of its *sha1_git* value, from which to retrieve the commit log | ||||
:query int visit_id: specify a SWH visit id to retrieve the history log from instead | :query int visit_id: specify a SWH visit id to retrieve the history log from instead | ||||
of using the latest visit by default | of using the latest visit by default | ||||
▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines |