viewvc-1.1.5/ 0000755 0001750 0001750 00000000000 11354145311 013221 5 ustar cmpilato cmpilato viewvc-1.1.5/docs/ 0000755 0001750 0001750 00000000000 11354145276 014163 5 ustar cmpilato cmpilato viewvc-1.1.5/docs/upgrading-howto.html 0000644 0001750 0001750 00000152440 11330570531 020163 0 ustar cmpilato cmpilato
This document describes some of the things that you will need to consider, change, or handle when upgrading an existing ViewVC or ViewCVS installation to a newer version.
Upgrading from an ancient version to the latest version isn't necessarily a multi step process. The instructions are only organized that way. You can certainly upgrade in a single step.
It is always recommended to install the new version in a fresh
directory and to carefully compare the configuration files. A
possible approach is to name the directories
/usr/local/viewvc-1.0
,
/usr/local/viewvc-1.1
and so on and than create a
symbolic link viewvc
pointing to the production
version. This way you can easily test several versions and switch
back if your users start to complain.
This section discusses how to upgrade ViewVC 1.0.x to ViewVC 1.1.x.
In ViewVC 1.1, the root_as_url_component
configuration
option is now enabled by default. This option causes ViewVC URLs
to be of the form
…/root-name/path-in-root[?…]
instead of
…/path-in-root/?root=root-name[&…]
,
and makes for a much more intuitive user experience,
navigation-wise, when ViewVC is serving up multiple version control
repositories. When in this mode, ViewVC will automatically perform
the obvious redirection for URLs which have a root=
CGI parameter.
Unfortunately, there's a catch. Older URLs for the default root
(specified by the default_root
configuration option)
were optimized to not include the root=
CGI
parameter. This means they look unfortunately similar to the newer
root-in-the-path URL format, and ViewVC will not attempt to
redirect them. But ViewVC won't be able to handle them, either.
So, old-style default-root URLs, when aimed at a ViewVC for which
the root_as_url_component
option has been subsequently
enabled, will result in an error. If you need to preserve the
functionality of those old URLs, you'll need to either disable
root_as_url_component
, or use some other mechanism
(like server URL rewriting) to morph them into compliance with the
new URL format.
ViewVC 1.1 introduces a new pluggable authorization (authz)
subsystem which gives administrators greater control over the
accessibility of the information ViewVC displays in its output.
ViewVC provides a number of working authz modules and a framework for
configuring them. But of specific interest to folks upgrading from
ViewVC 1.0 is that one of these new modules has replaced the
handling of forbidden modules. As such, the forbidden
configuration option now lives under the configuration section
specific to that authz module.
Migrating your existing configuration of forbidden modules should be fairly straightforward:
forbidden
option to the same value as the
forbidden
option in your ViewVC 1.0.x
configuration's "general" section.forbiddenre
option to the same value as the
forbiddenre
option in your ViewVC 1.0.x
configuration's "general" section.authorizer
option is set to either "forbidden" or "forbiddenre", depending
on which of those you were using in ViewVC 1.0.x.Of course, you might wish to take advantage of another of the provided authz modules. Or, you might wish to write a brand new one for your purposes. The flexibility is yours.
Known Issues:
roots
from the list of views specified in the
allowed_views
configuration option.ViewVC 1.0.x supports syntax highlighting provided by multiple third-party highlighting engines, including GNU enscript, GNU source-highlight, highlight, php, and py2html. Unfortunately, each of those integrations worked differently than the others. Some supported line numbers, some didn't; some were under active development and recognized newer languages; some weren't; each had its own set of CSS stylations that needed to be customized; etc.
In ViewVC 1.1, we've dropped support for all of those integations
in favor of a single integration with Pygments, a
Python-module-based syntax highlighting engine. As such, the
configuration options for the various other engines (both those
that enabled the integration and those that specified the locations
of the third-party tools) have been removed from ViewVC, and have
been replaced by a single new configuration option:
enable_syntax_coloration
.
The list of removed options is as follows:
ViewVC 1.1 introduces to the cvsdbadmin
and svndbadmin
tools a new "purge" operation, which
allows you to remove all the information related to a given root
from your checkins database (without disturbing the information
associated with other roots). Likewise, the "rebuild" command in
those tools now implies a "purge" followed by an update.
As a related change, the svndbadmin
program's
"rebuild" subcommand has had its purpose become more defined. It
no longer accepts a revision argument, and therefore can now only
be used to completely rebuild the entirety of the checkin database
information for a Subversion repository (instead of being able to
only update the information related to single Subversion revision).
For per-revision updating, use svndbadmin update
and
provide a revision (or revision range). And to get the previous
rebuild-a-revision effect, pass the new --force
option
to svndbadmin update
.
In other words, where you once did this:
$ svndbadmin rebuild /path/to/repository 1234
you now need to do this:
$ svndbadmin update /path/to/repository 1234 --force
To enhance the performance of the new "purge" operation, ViewVC 1.1
introduces some slight changes to the checkin database schema. If
you use the make-database
tool to (re)create your
checkins database, it will by default employ the new database
schema. This should cause the database to be virtually unusable by
previous versions of ViewVC, and that's by design. If, however,
you need to (re)create your checkins database and you require
compatibility with previous versions of ViewVC or ViewCVS, simply
pass the "--version=1.0" option to the make-database
script. Note that your "purge" and "rebuild" operations could be
abysmally slow, though, as that version of the database schema is
not optimized for those operations.
This section covers changes to configuration options not already discussed in other sections pertaining to this upgrade.
In ViewVC 1.1, a new "utilities" section was added to the viewvc.conf file. All the options used for configuring the locations of various helper applications that ViewVC uses which were previously scattered throughout the configuration file are now all centralized in this one new section. To accomplish this, the following options were added:
…and these were removed:
All the options which governed which ViewVC views were enabled have been consolidated into a single new option. This new option:
…replaces these, which have been removed:
ViewVC now honors the "svn:mime-type" property stored on
Subversion-versioned files as the primary source of MIME type
determination (before falling back to name-based MIME mappings and
such). However, this can negatively affect the viewability of
certain files — especially images — whose
"svn:mime-type" properties are set incorrectly, such as will happen
if Subversion itself merely determines that the file isn't
human-readable and uses the "application/octet-stream" MIME type to
record this determination. To make ViewVC not honor the
"svn:mime-type" property value, set the svn_ignore_mimetype
configuration option.
Speaking of MIME types, the option mime_types_file
is
now mime_types_files
, as it now carries multiple paths
to MIME mappings files, ordered by preference.
The use_rcsparse
option was moved from the "general"
section to the "options" section.
The log_sort
option's value "cvs" has been renamed to
"none" (for general application across all supported version
control systems).
Custom sections which define per-virtual-host configuration option overrides must now have their names prefixed with "vhost-". Also, instead of a hyphen (-) between the virtual host name and the base configuration section being overridden, now there should be a forward slash character (/). For example, the following configuration which was valid in ViewVC 1.0 is no longer valid:
[vhosts] all = viewvc.* [all-options] allowed_views = annotate, diff, markup, tar
This now needs to be written like so:
[vhosts] all = viewvc.* [vhost-all/options] allowed_views = annotate, diff, markup, tar
The following is a grab-bag of additional new options:
This section describes template variable changes introduced in this release. See the Template Authoring Guide for the current set of variables available to each templates.
One notable change in ViewVC 1.1 is that the markup.ezt and annotate.ezt templates have been combined into a single file.ezt template.
Also, the configuration options under the [templates]
section are now paths relative to the configured template directory
(either the value of the options/template_dir
option, or the default "templates" directory), instead of being
relative to the configuration location.
Variable | Location | Changes |
---|---|---|
rootpath | all templates | added |
change_root_action | all templates | removed |
change_root_hidden_values | all templates | removed |
roots | all templates except roots.ezt | removed |
roots.path | roots.ezt | added |
queryform_href | diff.ezt, file.ezt, graph.ezt, log.ezt, log_table.ezt, query_form.ezt, revision.ezt, roots.ezt | added |
tarball_href | diff.ezt, file.ezt, graph.ezt, log.ezt, log_table.ezt, query_form.ezt, query_results.ezt, revision.ezt, roots.ezt | added |
properties | directory.ezt, file.ezt | added |
properties.name | directory.ezt, file.ezt | added |
properties.undisplayable | directory.ezt, file.ezt | added |
properties.value | directory.ezt, file.ezt | added |
diff_format_hidden_values | diff.ezt | now is an iterable list of objects with .name and .value attributes |
diff_type | diff.ezt | new value: f |
date_left | diff.ezt | renamed to left.date |
path_left | diff.ezt | renamed to left.path |
rev_left | diff.ezt | renamed to left.rev |
tag_left | diff.ezt | renamed to left.tag |
date_right | diff.ezt | renamed to right.date |
path_right | diff.ezt | renamed to right.path |
rev_right | diff.ezt | renamed to right.rev |
tag_right | diff.ezt | renamed to right.tag |
annotate_href | diff.ezt | removed, use right.annotate_href instead |
left.annotate_href | diff.ezt | added |
left.download_href | diff.ezt | added |
left.download_text_href | diff.ezt | added |
left.prefer_markup | diff.ezt | added |
left.revision_href | diff.ezt | added |
left.view_href | diff.ezt | added |
right.annotate_href | diff.ezt | added |
right.download_href | diff.ezt | added |
right.download_text_href | diff.ezt | added |
right.prefer_markup | diff.ezt | added |
right.revision_href | diff.ezt | added |
right.view_href | diff.ezt | added |
right.view_href | diff.ezt | added |
dir_paging_hidden_values | directory.ezt, , dir_alternate.ezt | now is an iterable list of objects with .name and .value attributes |
entries.log | directory.ezt, dir_alternate.ezt | now always contains untruncated log message |
entries.short_log | directory.ezt, dir_alternate.ezt | added |
search_re_hidden_values | directory.ezt, dir_alternate.ezt | now is an iterable list of objects with .name and .value attributes |
search_tag_hidden_values | directory.ezt, dir_alternate.ezt | now is an iterable list of objects with .name and .value attributes |
pathrev_clear_hidden_values | log.ezt, log_table.ezt, directory.ezt, dir_alternate.ezt | now is an iterable list of objects with .name and .value attributes |
pathrev_hidden_values | log.ezt, log_table.ezt, directory.ezt, dir_alternate.ezt | now is an iterable list of objects with .name and .value attributes |
annotate_href | log.ezt, log_table.ezt | renamed to head_annotate_href |
diff_form_hidden_values | log.ezt, log_table.ezt | now is an iterable list of objects with .name and .value attributes |
download_href | log.ezt, log_table.ezt | renamed to head_download_href |
download_text_href | log.ezt, log_table.ezt | renamed to head_download_text_href |
log_paging_hidden_values | log.ezt, log_table.ezt | now is an iterable list of objects with .name and .value attributes |
logsort_hidden_values | log.ezt, log_table.ezt | now is an iterable list of objects with .name and .value attributes |
prefer_markup | log.ezt, log_table.ezt | renamed to head_prefer_markup |
view_href | log.ezt, log_table.ezt | renamed to head_view_href |
rss_link_href | query.ezt, rss.ezt | added |
query_hidden_values | query_form.ezt | now is an iterable list of objects with .name and .value attributes |
jump_rev_hidden_values | revision.ezt | now is an iterable list of objects with .name and .value attributes |
num_changes | revision.ezt | added |
This section discusses how to upgrade ViewCVS 0.9 to ViewVC 1.0.
The CGI stub scripts haved been moved from
<VIEWVC_INSTALLATION_DIRECTORY>/cgi/
to
<VIEWVC_INSTALLATION_DIRECTORY>/bin/cgi/
, so
you will need update any ScriptAlias directives pointing to them in
your apache configuration. Also, the contents of these scripts have
changed, so you may need to replace copies of the old scripts you
put in other directories.
ViewVC 1.0 reads and writes commit times in the MySQL database in
UTC time rather than local time. This can cause times displayed on
the query page to be a few hours off if an old database is being
used with a new version of ViewVC. The best way to fix this is to
rebuild the database with the new version of cvsdbadmin, but it
is also possible to enable a backwards compatibility mode by
setting utc_time = 0
at the top of lib/dbi.py
In ViewVC 1.0, the checkout_magic
option has been
disabled by default to provide a simpler URL scheme that works
safely with URL authorization. Most users will not notice any
difference in behavior, but users who had been using ViewCVS to
browse the contents of static HTML pages stored in a repository
may notice that links and images in those pages targetted at other
files in the repository no longer display correctly. The new
default_file_view
option can be used to solve this
problem and, if neccessary, checkout_magic
can also
be re-enabled. The viewcvs.conf
file describes these
options in detail.
The following options have been added:
The following options have been removed:
The templates have changed drastically in this version of ViewVC. If you are using customized templates from 0.9 or earlier, you will want to port your old customizations to the new template files instead of trying to get the old template files to work with the new ViewVC.
There is a new Template Authoring Guide for ViewVC 1.0 templates that can help you with your customizations. And the chart below lists all 0.9 template variables and shows what's become of them in 1.0.
Variable | Location | Changes |
---|---|---|
ago | markup.ezt | unchanged |
author | markup.ezt | unchanged |
back_url | log.ezt, log_table.ezt | replaced by up_href , which doesn't include the current #file anchor |
branch | log.ezt, log_table.ezt | replaced by default_branch , which is a list instead of a string |
branch | query.ezt | unchanged |
branch_names | log.ezt, log_table.ezt | renamed to branch_tags |
branch_points | markup.ezt | unchanged |
branch_tags | dir_alternate.ezt, directory.ezt | unchanged |
branches | markup.ezt | unchanged |
cfg.general.address | footer.ezt | unchanged |
cfg.general.main_title | dir_alternate.ezt, directory.ezt, query.ezt | removed, used to be a string from the configuration file that was shown in the title of the root directory page. |
cfg.options.use_cvsgraph | dir_alternate.ezt, directory.ezt | unchanged |
cfg.options.use_re_search | dir_alternate.ezt, directory.ezt | unchanged |
changed | markup.ezt | unchanged |
changes | diff.ezt | attributes changed, see below |
changes.extra | diff.ezt | renamed to changes.line_info_extra |
changes.have_left | diff.ezt | unchanged |
changes.have_right | diff.ezt | unchanged |
changes.left | diff.ezt | unchanged |
changes.line1 | diff.ezt | renamed to changes.line_info_left |
changes.line2 | diff.ezt | renamed to changes.line_info_right |
changes.right | diff.ezt | unchanged |
changes.type | diff.ezt | new values binary_diff and error |
commits | query.ezt | unchanged |
commits.desc | query.ezt | unchanged |
commits.files | query.ezt | unchanged |
commits.files.author | query.ezt | unchanged |
commits.files.branch | query.ezt | unchanged |
commits.files.date | query.ezt | unchanged |
commits.files.link | query.ezt | unchanged |
commits.files.minus | query.ezt | unchanged |
commits.files.plus | query.ezt | unchanged |
commits.files.rev | query.ezt | unchanged |
current_root | dir_alternate.ezt, directory.ezt | renamed to rootname |
date | query.ezt | unchanged |
date1 | diff.ezt | renamed to date_left |
date2 | diff.ezt | renamed to date_right |
diff_format | diff.ezt, log.ezt, log_table.ezt | unchanged |
directory | query.ezt | unchanged |
entries | log.ezt, log_table.ezt | attributes changed, see below |
entries.ago | log.ezt, log_table.ezt | unchanged |
entries.author | log.ezt, log_table.ezt | unchanged |
entries.branch_names | log.ezt | unchanged |
entries.branch_point | log.ezt, log_table.ezt | unchanged |
entries.branch_points | log.ezt, log_table.ezt | unchanged |
entries.branch_points.href | log.ezt, log_table.ezt | unchanged |
entries.branch_points.name | log.ezt, log_table.ezt | unchanged |
entries.branches | log.ezt, log_table.ezt | unchanged |
entries.branches.href | log.ezt, log_table.ezt | unchanged |
entries.branches.name | log.ezt, log_table.ezt | unchanged |
entries.changed | log.ezt | unchanged |
entries.href | log.ezt, log_table.ezt | renamed to entries.download_href |
entries.html_log | log.ezt, log_table.ezt | renamed to entries.log |
entries.next_main | log.ezt, log_table.ezt | unchanged |
entries.prev | log.ezt, log_table.ezt | unchanged |
entries.rev | log.ezt, log_table.ezt | unchanged |
entries.state | log.ezt, log_table.ezt | unchanged |
entries.tag_names | log.ezt | unchanged |
entries.tags | log.ezt, log_table.ezt | unchanged |
entries.tags.href | log.ezt | unchanged |
entries.tags.name | log.ezt, log_table.ezt | unchanged |
entries.text_href | log.ezt, log_table.ezt | renamed to entries.download_text_href |
entries.to_selected | log.ezt, log_table.ezt | combined into diff_to_sel_href variable |
entries.utc_date | log.ezt, log_table.ezt | renamed to entries.date |
entries.vendor_branch | log.ezt, log_table.ezt | unchanged |
entries.view_href | log.ezt, log_table.ezt | unchanged |
file | query.ezt | unchanged |
file_url | header.ezt | renamed to log_href |
filename | header.ezt | removed, used to be set to the name of the file being shown |
files_shown | dir_alternate.ezt, directory.ezt | unchanged |
graph_href | log.ezt, log_table.ezt | unchanged |
has_tags | dir_alternate.ezt, directory.ezt | removed, used to be a boolean that was true when either tag information was available from the current directory or a tag was set. Determined whether or not to show a tag selector box on the bottom of the directory page. |
have_logs | dir_alternate.ezt, directory.ezt | removed, used to be a boolean that was true whenever any logs were being shown in a directory listing. When it was false the template code would omit the log column from the directory table. |
head_abs_href | log.ezt, log_table.ezt | renamed to download_href |
head_href | log.ezt, log_table.ezt | replaced by view_href and download_href |
hidden_values | diff.ezt, log.ezt, log_table.ezt | combined into *_hidden_values variables |
hide_attic_href | dir_alternate.ezt, directory.ezt | unchanged |
hours | query.ezt | unchanged |
href | log.ezt, log_table.ezt | combined into *_href variables |
href | markup.ezt | renamed to download_href |
human_readable | log.ezt, log_table.ezt | unchanged |
imagemap | graph.ezt | unchanged |
log | markup.ezt | unchanged |
logsort | log.ezt, log_table.ezt | unchanged |
mime_type | log.ezt, log_table.ezt, markup.ezt | unchanged |
nav_file | markup.ezt | replaced with nav_path |
nav_path | dir_alternate.ezt, directory.ezt, header.ezt, log.ezt, log_table.ezt | changed from a block of HTML to a list of path components |
no_match | dir_alternate.ezt, directory.ezt | removed, used to be a boolean that was true when a directory contained files, but none of them could be displayed due to regular expression or view tag filtering. Would trigger an error message. |
num_commits | query.ezt | unchanged |
num_files | dir_alternate.ezt, directory.ezt | removed, used to be a count of files in a directory, including dead and filtered files. This number was only shown in the no_match error message. |
params | dir_alternate.ezt, directory.ezt | replaced by search_re_hidden_values |
path | header.ezt | removed, used to be set to the directory path of the file being shown |
plain_tags | dir_alternate.ezt, directory.ezt | unchanged |
prev | markup.ezt | unchanged |
qquery | header.ezt | combined into log_href variable |
qquery | log.ezt, log_table.ezt | replaced by diff_select_hidden_values |
query | log.ezt, log_table.ezt | combined into *_href variables |
query | query.ezt | unchanged |
repository | query.ezt | unchanged |
request.amp_query | graph.ezt | combined into imagesrc variable |
request.script_name | dir_alternate.ezt, directory.ezt, log.ezt, log_table.ezt | combined into *_href variables |
request.url | diff.ezt | combined into diff_format_action variable |
request.url | graph.ezt | combined into imagesrc variable |
request.where | graph.ezt | renamed to just where |
rev | graph.ezt | removed, used to be set to the value of the "graph" parameter in CvsGraph page urls. The value was passed on through the rev parameter to CvsGraph image URLs, where, oddly enough, it was ignored. It'd be set to a file revision number in directory page graph links, and just "1" in log page graph links. |
rev | graph.ezt, header.ezt, markup.ezt | unchanged |
rev1 | diff.ezt | renamed to rev_left |
rev2 | diff.ezt | renamed to rev_right |
rev_selected | log.ezt, log_table.ezt | unchanged |
roots | dir_alternate.ezt, directory.ezt | changed to a list of objects instead of a list of strings |
rows | dir_alternate.ezt, directory.ezt | replaced by entries |
rows.anchor | dir_alternate.ezt, directory.ezt | renamed to entries.anchor |
rows.author | dir_alternate.ezt, directory.ezt | renamed to entries.author |
rows.cvs | dir_alternate.ezt, directory.ezt | replaced by entries.errors |
rows.graph_href | dir_alternate.ezt, directory.ezt | renamed to entries.graph_href |
rows.href | dir_alternate.ezt, directory.ezt | renamed to entries.log_href |
rows.log | dir_alternate.ezt, directory.ezt | renamed to entries.short_log |
rows.log_file | dir_alternate.ezt, directory.ezt | renamed to entries.log_file |
rows.log_rev | dir_alternate.ezt, directory.ezt | renamed to entries.log_rev |
rows.name | dir_alternate.ezt, directory.ezt | renamed to entries.name |
rows.rev | dir_alternate.ezt, directory.ezt | renamed to entries.rev |
rows.rev_href | dir_alternate.ezt, directory.ezt | replaced by entries.view_href and entries.download_href |
rows.show_log | dir_alternate.ezt, directory.ezt | removed, used to be a boolean that was true whenever a log message was present for the directory entry. |
rows.state | dir_alternate.ezt, directory.ezt | renamed to entries.state |
rows.time | dir_alternate.ezt, directory.ezt | renamed to entries.ago |
rows.type | dir_alternate.ezt, directory.ezt | renamed to entries.pathtype |
search_re | dir_alternate.ezt, directory.ezt | unchanged |
selection_form | dir_alternate.ezt, directory.ezt | renamed to search_re_form |
show_attic_href | dir_alternate.ezt, directory.ezt | unchanged |
sortby | dir_alternate.ezt, directory.ezt, query.ezt | unchanged |
sortby_author_href | dir_alternate.ezt, directory.ezt | unchanged |
sortby_date_href | dir_alternate.ezt, directory.ezt | unchanged |
sortby_file_href | dir_alternate.ezt, directory.ezt | unchanged |
sortby_log_href | dir_alternate.ezt, directory.ezt | unchanged |
sortby_rev_href | dir_alternate.ezt, directory.ezt | unchanged |
state | markup.ezt | unchanged |
tag | markup.ezt | renamed to pathrev |
tag1 | diff.ezt | renamed to tag_left |
tag2 | diff.ezt | renamed to tag_right |
tags | log.ezt, log_table.ezt | unchanged |
tags | markup.ezt | unchanged |
tags.name | log.ezt, log_table.ezt | unchanged |
tags.rev | log.ezt, log_table.ezt | unchanged |
tags | markup.ezt | unchanged |
tarball_href | dir_alternate.ezt, directory.ezt | unchanged |
text_href | markup.ezt | renamed to download_text_href |
tr1 | log.ezt, log_table.ezt | removed, used to be a default value for the first text field in the diff selector form. In 1.0, the default value is computed in the templates. |
tr2 | log.ezt, log_table.ezt | removed, used to be a default value for the second text field in the diff selector form. In 1.0, the default value is computed in the templates. |
unreadable | dir_alternate.ezt, directory.ezt | removed, used to be a boolean that was true whenever any of the files in the directory listing were 'unreadable.' It would trigger a generic error message at the bottom of the page. |
utc_date | markup.ezt | renamed to date |
vendor_branch | markup.ezt | unchanged |
view_tag | dir_alternate.ezt, directory.ezt, log.ezt, log_table.ezt | renamed to pathrev |
viewable | log.ezt, log_table.ezt | renamed to prefer_markup |
vsn | footer.ezt | unchanged |
where | diff.ezt, dir_alternate.ezt, directory.ezt, log.ezt, log_table.ezt | unchanged |
who | query.ezt | unchanged |
The default templates have been rearranged a bit in ViewVC 1.0. Specifically, "header.ezt" and "footer.ezt" have moved into the "templates/include/" subdirectory. Also, "directory.ezt" and "dir_alternate.ezt" now reference new template files "dir_header.ezt" and "dir_footer.ezt", also found in the "templates/include/" subdirectory.
Notably, the "markup.ezt" and "annotate.ezt" templates are now fully self-contained. That is, the markup and annotation data generated by ViewVC is now accessible in those templates just like other template variables. As a result, ViewVC now has no more internal need for the templates.footer configuration variable, so that variable has been removed from the default configuration file.
This section discusses how to upgrade ViewCVS 0.8 to version 0.9 or a later version of the software.
NOTE: these changes will bring you up to the requirements of version 0.9. You must also follow the directions for upgrading from 0.9.
More templates were introduced in version 0.8 of the software, which made many of the configuration options obsolete. This section covers which options were removed. If you made any changes to these options, then you will need to make corresponding changes in the templates.
diff.ezt
template.
markup.ezt
template.
header.ezt
template.
directory.ezt
, header.ezt
,
log.ezt
, log_table.ezt
, and
query.ezt
templates.
dir_alternate.ezt
template.
Some template variables that were available in 0.8 have been removed in 0.9. If you have custom templates that refer to these variables, then you will need to modify your templates.
directory.ezt
: headersdirectory.ezt
:
rows.cols,
and rows.span
directory.ezt
:
rev_in_frontdir_alternate.ezt
template, which has
the revision in front.
directory.ezt
:
rows.attic
and rows.hide_attic_hrefAttic/
subdirectory. Several new variables were introduced
which can be used to replace this functionality:
show_attic_href,
hide_attic_href, and rows.state.
This document describes the format of URLs accepted by ViewVC 1.1 and is intended to be useful to users and outside software developers who want to create links to ViewVC pages. It should also be useful to ViewVC developers as a way of tracking and documenting the many quirks of ViewVC's URL handling logic.
Future releases of ViewVC will support the URL formats described in this document. Certain URLs currently accepted by ViewVC, such as redirecting URLs that result from the submission of form elements on ViewVC pages, are not documented here and therefore may not be supported by future releases of ViewVC.
view=rev
' Parameter ⇒ 'view=revision
'cvsroot
' Parameter ⇒ 'root
'only_with_tag
' Parameter ⇒ 'pathrev
'~checkout~
' Magic Path Prefix ⇒ '*checkout*
'*checkout*
' Magic Path Prefix ⇒ 'view=co
'root
' Parameter ⇒ Root Path Componentrev
' Parameter ⇒ 'revision
' and 'pathrev
'.diff
' Suffix ⇒ Diff View.tar.gz
' Suffix ⇒ 'view=tar
'tarball=1
' Parameter ⇒ 'view=tar
'graph=1
' Parameter ⇒ 'view=graph
'graph=1&makeimage=1
' Parameters ⇒ 'view=graphimg
'content-type=text/vnd.viewcvs-markup
' and 'content-type=text/x-cvsweb-markup
' Parameters⇒ 'view=markup
'
Attic/FILE
' Paths ⇒ 'FILE
'A ViewVC URL consists of 3 components: a Script Location, a Repository Path, and some optional Query Parameters. Some examples:
ViewVC Script Location | Repository Path | Query Parameters |
---|---|---|
http://example.org/viewvc.cgi |
/some/file |
?view=log&revision=1.34 |
http://example.org/viewvc.cgi |
/*checkout*/some/other/file |
?revision=1.10.2.5 |
http://example.org/viewvc.cgi |
/some/dir/ |
?pathrev=BRANCH_2_3 |
http://example.org/viewvc.cgi |
/some/dir.tar.gz |
?view=tar&pathrev=BRANCH_2_3 |
http://example.org/viewvc.cgi |
/yet/another/file |
?view=diff?r1=1.12&r2=1.14 |
The script location is a common base for all ViewVC URL's pertaining to a particular installation. It's whatever location the web server is configured to serve ViewVC pages from.
Since ViewVC is essentially a file system browser for repositories, repository paths referring to the files and directories being browsed get their own section in ViewVC URLs immediately following the script location. Repository paths are always case sensitive and separated by forward slashes, regardless of the underlying filesystem.
Repository paths can be given certain "magic" prefixes and suffixes. For example, a "/*checkout*" prefix can be added to file views to force a checkout even without an explicit "view=co" query parameter. And a ".tar.gz" suffix is added to download tarball URLs so downloaded tarballs will be saved with sensible default names.
If the root_as_url_component
configuration option is
enabled, the first directory name in a repository path (after any
magic prefix) is taken to be the name (from the ViewVC
configuration) of the repository to browse rather than the name of
an actual directory. The repository name can also be specified in a
"root=" query parameter instead (see root
parameter below).
Paths beginning with "/*docroot*/" are an exception the rules above. These paths are used to provide access to files in the ViewVC template directory: image files, static HTML pages, and the ViewVC stylesheet. For more information, see the Docroot View syntax below.
Following the ViewVC and repository locations in URLs is an optional query string, a list of parameter/value pairs written like "?param1=value1¶m2=value2..." Some parameters, like "revision", "pathrev", and "root", augment repository path information, specifying revisions and repositories. Other parameters like "logsort" and "diff_format" control ViewVC display options. Some parameters are also "sticky" and get embedded into links inside the generated pages, sticking around for future page views.
ViewVC provides a number of different views of repository data
including a directory listing view, a log view, a file diff view,
and others. (The views are listed and described in the
help_rootview.html
ViewVC help page). URLs for each of
these views accept specific parameters described in the URL Syntax section, but some parameters are used
by multiple views and they are described below:
Parameter | Description |
---|---|
view |
The name of the view to display, does not need to be explicitly specified in many URLs. Possible values are shown in the URL Syntax section below. |
revision |
The revision or tag to display information about, used by several different views. |
pathrev |
The current sticky revision (Subversion) or sticky tag (CVS),
as described in the help_rootview.html ViewVC
help page. In Subversion, because path information is revision
controlled, this value is also used to look up paths in the
repository, providing a means of accessing paths that no
longer exist in HEAD. |
root |
The name of the repository to browse. When the
default_root configuration option is set or the
root_as_url_component option is enabled, it is
not neccessary to to specify this parameter. When the
root_as_url_component option is enabled, ViewVC
URLs with root parameters redirect to locations
with the root values embedded in the repository paths. |
This section lists URL syntax for each ViewVC view. Parts of URLs which may vary shown as variables in UPPERCASE.
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to annotate |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=annotate |
depends | view parameter. Not
required when an annotate parameter is
present |
annotate=REVISION |
optional | revision or tag to annotate |
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/*checkout* |
optional | magic prefix. If specified when the
checkout_magic configuration option is disabled,
ViewVC will redirect to a URL without the prefix. |
/PATH |
required | file path to check out |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=co |
depends | view parameter, not
needed if the default_file_view configuration
variable is set to co , since that makes the
checkout view the default view for file paths. Also not needed
if the /*checkout* magic prefix or the
revision parameter is present.
|
content-type=TYPE |
optional | MIME type to send with checked out file, default is a guess based on file extension |
revision=REVISION |
optional | revision parameter |
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to display diff of |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=diff |
optional | view parameter |
r1=R1 |
required | starting revision or tag or the string "text" to indicate that
TR1 value (below) should override this
one |
r2=R2 |
required | ending revision or tag or the string "text" to indicate that
TR2 value (below) should override this
one |
tr1=TR1 |
depends | starting revision or tag, used if r1 parameter is present and set to "text" |
tr2=TR2 |
depends | ending revision or tag, used if r2 parameter is present and set to "text" |
p1=P1 |
optional | starting file path that can override the
PATH value to allow files at two different
paths to be compared |
p2=P2 |
optional | ending file path that can override the
PATH value to allow files at two different
paths to be compared |
diff_format=DIFF_FORMAT |
optional | value specifying the type of diff to display. Can be "u" for
unified diff, "c" for context diff, "s" for side by side diff, "h"
for human readable diff, "l" for long human readable diff, and "f"
for a full human readable diff. If no value is specified the
default depends on the diff_format configuration
option. |
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH/ |
required | directory path to view. If the trailing slash is omitted, ViewVC will redirect to a URL that has a trailing slash. |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=dir |
optional | view parameter |
hideattic=HIDEATTIC |
optional | "0" to show dead files in CVS directory listings or "1" to
hide dead files. Default depends on the hide_attic
configuration value. |
search=SEARCH |
optional | regular expression to search files in the directory with if
use_re_search configuration option is enabled |
sortby=SORTBY |
optional | "file" "rev" "date" "author" or "log" to indicate how the
directory listing should be sorted. Default depends on
sortby configuration option. |
sortdir=SORTBY |
optional | "up" to sort directory in ascending order or "down" for descending order. Default is "up". |
dir_pagestart=PAGE |
optional | item number to start listing at if paging is enabled |
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/*docroot* |
required | magic prefix |
/PATH |
required | file path to retrieve. ViewVC will return the contents of the
file located at PATH , relative to the
docroot subdirectory of the directory specified in
the template_dir configuration option. |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to generate CvsGraph page for |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=graph |
required | view parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to generate CvsGraph image for |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=graphimg |
required | view parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file or directory path to generate log for |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=log |
depends | view parameter, does
not need to be specified for file paths when the
default_file_view configuration option is set to
log . However it is recommended that the parameter be
passed anyway for consistency with directory log URLs and
compatibility with ViewVC installations that set
default_file_view to co . |
logsort=SORT |
optional | "rev" to sort log entries by revision number or "date" to sort
by date. Default depends on the log_sort
configuration value. |
log_pagestart=PAGE |
optional | item number to start listing at if paging is enabled |
r1=R1 |
optional | current revision selected for diffs |
diff_format=DIFF_FORMAT |
optional | currently selected diff format |
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to mark up |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=markup |
required | view parameter |
revision=REVISION |
optional | revision parameter |
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to display patch of |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=patch |
required | view parameter |
r1=R1 |
required | starting revision or tag or the string "text" to indicate that
TR1 value (below) should override this
one |
r2=R2 |
required | ending revision or tag or the string "text" to indicate that
TR2 value (below) should override this
one |
tr1=TR1 |
depends | starting revision or tag, only used if r1 parameter is present and set to "text" |
tr2=TR2 |
depends | ending revision or tag, only used if r2 parameter is present and set to "text" |
p1=P1 |
optional | starting file path that can override the
PATH value to allow files at two different
paths to be compared |
p2=P2 |
optional | ending file path that can override the
PATH value to allow files at two different
paths to be compared |
diff_format=DIFF_FORMAT |
optional | value specifying the type of patch to display. Can be "u" for
unified diff or "c" for context diff. If no value is specified the
default depends on the diff_format configuration
option.
|
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to display query results from |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=queryform |
required | view parameter |
branch=BRANCH |
optional | branch query string |
branch_match=BRANCH_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of branch match |
dir=DIR |
optional | directory query string |
file=FILE |
optional | file query string |
file_match=FILE_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of file match |
who=WHO |
optional | author query string |
who_match=WHO_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of author match |
comment=COMMENT |
optional | log message query string |
comment_match=COMMENT_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of log message match |
querysort=SORT |
optional | "date" "author" or "file" determining order of query results |
date=DATE |
optional | "hours" "day" "week" "month" "all" or "explicit" to filter query results by date |
hours=HOURS |
optional | number of hours back to include results from when
DATE is "hours" |
mindate=MINDATE |
optional | earliest date to include results from when
DATE is "explicit" |
maxdate=MAXDATE |
optional | latest date to include results from when
DATE is "explicit" |
limit_changes=LIMIT_CHANGES |
optional | maximum number of files to list per commit in query
results. Default is value of limit_changes
configuration option |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | file path to display query results from |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=query |
required | view parameter |
branch=BRANCH |
optional | branch query string |
branch_match=BRANCH_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of branch match |
dir=DIR |
optional | directory query string |
file=FILE |
optional | file query string |
file_match=FILE_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of file match |
who=WHO |
optional | author query string |
who_match=WHO_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of author match |
comment=COMMENT |
optional | log message query string |
comment_match=COMMENT_MATCH |
optional | "exact" "like" "glob" "regex" or "notregex" determining type of log message match |
querysort=SORT |
optional | "date" "author" or "file" determining order of query results |
date=DATE |
optional | "hours" "day" "week" "month" "all" or "explicit" to filter query results by date |
hours=HOURS |
optional | number of hours back to include results from when
DATE is "hours" |
mindate=MINDATE |
optional | earliest date to include results from when
DATE is "explicit" |
maxdate=MAXDATE |
optional | latest date to include results from when
DATE is "explicit" |
format=FORMAT |
optional | "rss" or "backout" values to generate an rss feed or list of commands to back out changes instead showing a normal query result page |
limit=LIMIT |
optional | maximum number of file-revisions to process during a
query. Default is value of row_limit configuration
option |
limit_changes=LIMIT_CHANGES |
optional | maximum number of files to list per commit in query
results. Default is value of limit_changes
configuration option |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=revision |
required | view parameter |
revision=REVISION |
optional | revision parameter |
limit_changes=LIMIT_CHANGES |
optional | maximum number of files to list per commit. Default is value
of limit_changes configuration option |
root=ROOT |
depends | root parameter |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=roots |
depends | view parameter. Not
required if the root_as_url_component configuration
is enabled or the default_root option is not
set. |
Path Components (in order of appearance in the URL) | ||
---|---|---|
Component | Opt/Req | Description |
/PATH |
required | directory path to download |
.tar.gz |
depends | magic suffix. Only required when the name of the directory
being downloaded ends in ".tar.gz" and the parent
parameter not is present. But it is recommended to add the magic
suffix to all tarball URLs to avoid this special case and give the
downloaded files sensible default names. |
Query Parameters | ||
---|---|---|
Parameter | Opt/Req | Description |
view=tar |
required | view parameter |
parent=1 |
optional | If the parent parameter is specified, the last
component of the PATH is discarded before
it is ever looked up in the repository. This feature is used when
the root_as_url_component configuration option is
disabled to allow root tarball URLs to be saved with names like
"ROOT-root.tar.gz". |
pathrev=PATHREV |
optional | pathrev parameter |
root=ROOT |
depends | root parameter |
ViewVC's URL format has changed a lot over time, but ViewVC goes out of its way to support URLs using older formats so there aren't broken links when an installation of ViewVC is upgraded. The support is implemented as a set of URL transformations that recognize elements of old-style URLs and convert them to newer equivalents. If any transformations are applied (with some exceptions, mentioned below), ViewVC will issue a single redirect to the transformed URL. Descriptions of the transformations follow.
view=rev
' Parameter ⇒ 'view=revision
'URLs with a view=rev
parameter will automatically be
redirected to URLs with a view=revision
parameter
instead.
cvsroot
' Parameter ⇒ 'root
'URLs with a cvsroot
parameter will automatically be
redirected to URLs with a root
parameter instead.
only_with_tag
' Parameter ⇒ 'pathrev
'URLs with an only_with_tag
parameter will
automatically be redirected to URLs with a pathrev
parameter instead.
~checkout~
' Magic Path Prefix ⇒ '*checkout*
'URLs with a ~checkout~
path prefix get interpreted
just like URLs with a '*checkout*' prefix. There is currently no
redirect, but there could be in the future.
*checkout*
' Magic Path Prefix ⇒ 'view=co
'When the checkout_magic
configuration option is
disabled, URLs with a *checkout*
magic prefix will
redirect to an equivalent URL that does not use the prefix.
root
' Parameter ⇒ Root Path ComponentWhen the root_as_url_component
configuration option is
enabled, URLs with a root
parameter will redirect to
an equivalent URL with the root name embedded in the path.
rev
' Parameter ⇒ 'revision
' and 'pathrev
'CVS URLs with a rev
parameter will redirect to URLs
with a revision
parameter instead. Subversion URLs
with a rev
parameter will redirect to URLs with a
pathrev
parameter, in order to account for the how the
Subversion backend used to look up paths before
pathrev
was introduced.
.diff
' Suffix ⇒ Diff ViewWhen ViewVC encounters a invalid repository path that ends in
.diff
, and stripping that ending yields a valid file
path, it will redirect to a diff view of the file.
.tar.gz
' Suffix ⇒ 'view=tar
'When ViewVC encounters a invalid repository path that ends in
.tar.gz
, /root.tar.gz
, or
/REPOS-root.tar.gz
, and stripping the ending yields a
valid directory path, it will redirect to a URL to download a
tarball of the directory.
tarball=1
' Parameter ⇒ 'view=tar
'A tarball=1
parameter is treated pretty much like a
view=tar
parameter. There is no redirect when it is
encountered, but there could be in the future.
graph=1
' Parameter ⇒ 'view=graph
'A graph=1
parameter is treated like a
view=graph
parameter. There is currently no redirect
when it is encountered, but there could be one in the future.
graph=1&makeimage=1
' Parameters ⇒ 'view=graphimg
'A graph=1&makeimage=1
parameter is treated like a
view=graph
parameter. There is currently no redirect
when it is encountered, but there could be one in the future.
content_type=text/vnd.viewcvs-markup
' and 'content_type=text/x-cvsweb-markup
' Parameters⇒ 'view=markup
'content-type=text/vnd.viewcvs-markup
and
content-type=text/x-cvsweb-markup
parameters are
treated like a view=markup
parameter. There is
currently no redirect when it is encountered, but there could be
one in the future. Other values of the content-type
parameter, which were used to dictate the MIME type of files
displayed in the checkout/download view prior to ViewVC 1.0.6, are
ignored.
Attic/FILE
' Paths ⇒ 'FILE
'When ViewVC encounters an invalid repository path whose last or
second-to-last component is named Attic
, and stripping
the component yields a valid path, it will redirect to a URL with
that path.
This document represents an (unfinished) attempt at providing documentation for how to customize ViewVC 1.0-dev's HTML output via modification of its templates.
### TODO ###
Variable | Type | Description |
---|---|---|
annotate_href | String | URL of the ViewVC annotation view for the current resource. Valid only when pathtype is file. |
cfg | Object | Representation of the object used by ViewVC for runtime configuration parameters such as those parsed from viewvc.conf. Dot-qualified children of this object map to configuration sections and option keys. For example, cfg.options.show_logs contains the value of the show_logs variable in the options section of the configuration file. |
docroot | String | URL of the static documents directory, generally used for referencing stylesheets and images stored in and under that directory (which is typically relative to the template location). |
download_href | String | ViewVC file contents download URL for the current resource. Valid only when pathtype is file. |
download_text_href | String | ViewVC file contents as-text download URL for the current resource. Valid only when pathtype is file. |
graph_href | String | URL of the ViewVC revision graph view for the current resource. Valid only when pathtype is file. |
kv | Object | Representation of the object used by ViewVC for user-defined key/value mappings. Dot-qualified children of this object map to named key/value files and the sections and keys within them. For example, kv.l10n.labels.directory maps to the value of the directory key under the labels section of the key/value file whose configured abstract name is l10n. |
lockinfo | String | Information about the lock status of the current resource. |
log_href | String | URL of the ViewVC revision log view for the current resource. Valid only when pathtype is file or (for Subversion roots) dir. |
nav_path | List | Ordered list of path components from the repository root to the current resource. |
nav_path.href | String | URL of the default ViewVC view for the path component. |
nav_path.name | String | Name of the path component. |
pathtype | String | Path kind of the current resource. Valid values: file (file), dir (directory); may be empty. |
prefer_markup | Boolean | Indicates whether to make the default file link a link to the markup page instead of the checkout page. Valid only when pathtype is file. |
queryform_href | String | URL for a query form returning results from this directory. Valid only when pathtype is dir. |
rev | String | Revision of the current resource. |
revision_href | String | URL of the Subversion revision view for the current revision. |
rootname | String | Name of the current repository (root). |
roots_href | String | URL of ViewVC root listing view. Valid only when ViewVC is configured in roots-as-url-components mode. |
rootpath | String | Server-local location of the current repository. WARNING: Revealing information to untrusted guests about the details of your server configuration can have negative security implications. Use this token at your own risk. |
roottype | String | Version control type of the current repository (root). Valid values: cvs (CVS), svn (Subversion). |
rss_href | String | URL of RSS feed for current location. |
tarball_href | String | URL to download tarball of the current directory. |
up_href | String | Link to the current object's parent directory view. |
username | String | Authenticated username of the requesting user. |
view | String | Name of the current view. Valid values: annotate (annotation view), diff (file difference view), roots (root listing view), dir (directory listing view), graph (revision graph view), log (revision log view), markup (file contents view), query (revision history query results view), queryform (revision history query form view), rev (revision/changeset view). |
view_href | String | URL of the ViewVC file contents view for the current resource. Valid only when pathtype is file or dir. |
vsn | String | ViewVC version identifier. |
where | String | Path (relative to the current repository root) of the current resource. |
Variable | Type | Description |
---|---|---|
lastrev | String | If the current path is deleted in a future revision, last revision where the path is available. (Subversion only) |
pathrev | String | Current sticky revision (Subversion) or sticky tag (CVS) |
pathrev_action | String | Form action URL for the sticky revision/tag selection form. |
pathrev_hidden_values | List | Hidden field name/value pairs for the revision/tag selection form. |
pathrev_clear_action | String | Form action URL for the path revision clear button. |
pathrev_clear_hidden_values | List | Hidden field name/value pairs for the path revision clear button. |
Variable | Type | Description |
---|---|---|
picklist | List | List of pages that make up the current directory or log view. |
picklist.count | String | Number of the first item on the page (indexed from 0) |
picklist.end | String | Name of last item on the page |
picklist.more | Boolean | If set, indicates that this picklist item is a placeholder for
an unspecified number of additional pages. In this case,
picklist.end is undefined. |
picklist.page | String | Page number (indexed from 1) |
picklist.start | String | Name of first item on the page |
picklist_len | String | Number of pages in picklist |
Variable | Type | Description |
---|---|---|
properties | List | List of item properties set on the current directory, minus those with undisplayable names. |
properties.name | String | Name of an item property. |
properties.undisplayable | Boolean | Indicates whether or not the value of this property is undisplayable (by virtue of not being UTF-8 text). |
properties.value | String | Value of this property. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON and PROPERTIES variable sets | ||
ago | String | Text description of the time elapsed since date. |
annotation | String | Valid values are "none" (no annotations were attempted), "annotated" (annotation was successful), "binary" (file contents are not line-based and human-readable), and "error" (something went wrong during annotation). |
author | String | Author of the revision being viewed. |
branch_points | String | List of branch tag names which branch off of the revision being viewed (CVS only). |
branches | List | If revision currently being viewed is on a branch, list of names for the branch. |
changed | String | Numbers of lines added and removed since the previous revision. |
date | String | Date (in UTC if not otherwise configured) of the revision currently being viewed. |
image_src_href | String | URL used to display the current revision of the file as an embedded image. (Set only if the file is not a web-viewable image.) |
lines | List | Set of objects containing information about the most recent modification of a single line of file content in the current resource, naturally ordered by the line numbers they represent. Every line in the resource is represented in the set. |
lines.author | String | Username of the most recent modifier of the line. |
lines.date | String | Date (in UTC if not otherwise configured) of the modification of the line. |
lines.diff_href | String | URL of the ViewVC file difference view which displays the modification of the line. |
lines.line_number | String | Line number (1-based) of the line. |
lines.prev_rev | String | Youngest revision of the resource prior to the line's modification. |
lines.rev | String | Revision in which the modification of the line occured. |
lines.text | String | Textual contents of the line. |
log | String | Log message of the revision currently being viewed. |
mime_type | String | MIME type of the current file. |
orig_path | String | When viewing an old file revision through a copy of the file, this is the old file revision's original path. |
orig_href | String | URL of a ViewVC log view for orig_path . |
prev | String | Previous revision number. |
size | String | Size of the file revision, in bytes. Subversion only. |
state | String | State of the file revision. Possible values: dead, and the empty string. |
tags | List | Names of tags that have been applied to the current file revision. |
vendor_branch | Boolean | Indicates whether or not the current file revision is on a vendor branch. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON variable set | ||
imagemap | String | HTML markup containing the image map associated with the revision graph. |
imagesrc | String | URL of the ViewVC revision graph image for the current resource. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON variable set | ||
changes | List | Set of objects which contain information about a single line of file difference data. Valid only when diff_format is h or l. |
changes.have_left | Boolean | Specifies whether the left file has a line of content relevant to the difference data line. Valid only when changes.type is change. |
changes.have_right | Boolean | Specifies whether the right file has a line of content relevant to the difference data line. Valid only when changes.type is change. |
changes.left | String | Textual contents of the relevant line in the left file. Valid only when changes.type is change, context, or remove. When changes.type is change, valid only when changes.have_left is set (in order to delineate between missing lines and empty lines, which EZT does not support). |
changes.right | String | Textual contents of the relevant line in the right file. Valid only when changes.type is add, change, or context. When changes.type is change, valid only when changes.have_left is set (in order to delineate between missing lines and empty lines, which EZT does not support). |
changes.line_info_extra | String | Additional line information for the current difference hunk. Valid only when changes.type is header. |
changes.line_info_left | String | First line number represented by the current hunk in the left file. Valid only when changes.type is header. |
changes.line_info_right | String | First line number represented by the current hunk in the right file. Valid only when changes.type is header. |
changes.line_number | String | Line number (1-based) of the line. |
changes.type | String | The type of change. Value values: add, change, context, header, no-changes, remove. |
diff_format | String | Difference dislay format: Valid values are c (context), f (full human-readable), h (human-readable, or colored), l (long human-readable), s (side-by-side), u (unified). |
diff_format_action | String | Form action URL for the diff format selection form. |
diff_format_hidden_values | List | Hidden field name/value pairs for the diff format selection form. |
left | Container | Container object for grouping information about the left file. |
left.ago | String | Text description of the time elapsed since left.date. |
left.annotate_href | String | URL of the ViewVC annotation view for the left file. Valid only when entries.pathtype is file. |
left.author | String | Author of the revision of the left file. |
left.date | String | Date (in UTC if not otherwise configured) in which the left file revision was created. |
left.download_href | String | URL to download the HEAD revision of the left file. |
left.download_text_href | String | URL to download the HEAD revision of the left file as text/plain. |
left.log | String | Log message of the left file revision. |
left.path | String | Path of the left file. |
left.prefer_markup | Boolean | Indicates whether to make the default file link a link to the markup page instead of the checkout page. |
left.rev | String | Revision of the left file. |
left.revision_href | String | URL of the Subversion revision view for the left file's current revision. Valid only when roottype is svn. |
left.size | String | Size of the left file revision, in bytes. Subversion only. |
left.tag | String | Tag of the left file. |
left.view_href | String | This is a URL for the markup view of the left file. |
raw_diff | String | Raw difference text. Valid only when diff_format is c, s, or u. |
right | Container | Container object for grouping information about the right file. |
right.author | String | Author of the revision of the right file. |
right.annotate_href | String | URL of the ViewVC annotation view for the right file. Valid only when entries.pathtype is file. |
right.author | String | Author of the revision of the right file. |
right.date | String | Date (in UTC if not otherwise configured) in which the right file revision was created. |
right.download_href | String | URL to download the HEAD revision of the right file. |
right.download_text_href | String | URL to download the HEAD revision of the right file as text/plain. |
right.log | String | Log message of the right file revision. |
right.path | String | Path of the right file. |
right.prefer_markup | Boolean | Indicates whether to make the default file link a link to the markup page instead of the checkout page. |
right.rev | String | Revision of the right file. |
right.revision_href | String | URL of the Subversion revision view for the right file's current revision. Valid only when roottype is svn. |
right.size | String | Size of the right file revision, in bytes. Subversion only. |
right.tag | String | Tag of the right file. |
right.view_href | String | This is a URL for the markup view of the right file. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON, PATHREV, PAGING, and PROPERTIES variable sets | ||
attic_showing | Boolean | Indicates whether or not the directory list include "dead" files (files not available in, perhaps deleted from, the current tag). CVS only. |
branch_tags | List | Set of branch tag names in use by files in the current directory. CVS only. |
dir_pagestart | String | Item number (zero-based) of the first directory entry requested to be shown on the page. Corresponds to the dir_pagestart CGI parameter. |
dir_paging_action | String | Form action URL for the page selection form. |
dir_paging_hidden_values | List | Hidden field name/value pairs for the page selection form. |
entries | List | Set of objects which represent the entries of this directory. |
entries.ago | String | Textual description of the time since entries.date. |
entries.annotate_href | String | URL of the ViewVC annotation view for the directory entry. Valid only when entries.pathtype is file. |
entries.author | String | Username of the last modifier of the directory entry. |
entries.date | String | Date (in UTC if not otherwise configured) of the last modification of the directory entry. |
entries.download_href | String | URL to download the HEAD revision of the directory entry. |
entries.download_text_href | String | URL to download the HEAD revision of the directory entry as text/plain. |
entries.errors | List | List of strings containing error messages encountered by the version control backend as it attempted to harvest information about this directory entry. At this time the strings are somewhat freeform; in the future it would be nice to expose these as testable error code or somesuch. |
entries.graph_href | String | URL of the ViewVC revision graph view for the directory entry. |
entries.lockinfo | String | Information about the lock status of the directory entry. |
entries.log | String | Log message of last modification to the directory entry. |
entries.log_file | String | ViewVC optionally calculates the log message of a CVS directory as the log message associated with the most recently modified file in that directory. When that occurs, this is the name of that file. Valid only when entries.pathtype is dir. See also entries.log_rev. |
entries.log_href | String | URL of the ViewVC revision log view for the directory entry. |
entries.log_rev | String | ViewVC optionally calculates the log message of a CVS directory as the log message associated with the most recently modified file in that directory. When that occurs, this is the revision of that file. Valid only when entries.pathtype is dir. See also entries.log_file. |
entries.mime_type | String | MIME type of the directory entry. |
entries.name | String | Name of the directory entry. |
entries.pathtype | String | Path kind of the directory entry. Valid values: file (file), dir (directory); may be empty. |
entries.prefer_markup | Boolean | Indicates whether to make the default file link a link to the markup page instead of the checkout page. Valid only when entries.pathtype is file. |
entries.rev | String | Revision of the directory entry. For CVS repositories, this is a revision at the tip of the selected tag or branch; for Subversion, this is the youngest revision as of the revision of the directory being viewed. |
entries.revision_href | String | URL of the Subversion revision view for the directory entry's current revision. Valid only when roottype is svn. |
entries.short_log | String | Log message of last modification to the directory entry,
truncated to contain no more than the number of characters
specified by the short_log_len configuration option. |
entries.size | String | Size (in bytes) of the directory entry. Valid only when roottype is svn and entries.pathtype is file. |
entries.state | String | State of the directory entry. If the state is uninteresting (a typical, versioned object), this field is empty. Valid, non-empty states include: dead (the object is not available on, or possible removed from, this branch; CVS only). |
entries.view_href | String | This is a URL for the markup view if the entry is a file, and a URL for a directory listing if the entry is a directory. |
files_shown | String | Number of files displayed. |
hide_attic_href | String | URL for the current view, but with "dead" files hidden. CVS only. |
num_dead | String | Number of dead files in the current directory. |
plain_tags | List | List of tag names in use by files in the current directory. CVS only. |
search_re | String | Current search expression, if any. |
search_re_action | String | Form action URL for the regular expression search form, if searching is available. |
search_re_hidden_values | List | Hidden field name/value pairs for the regular expression search form. |
show_attic_href | String | URL for the current view, but with "dead" files shown. CVS only. |
sortby | String | Current sorting mode. Valid values: file, rev, date, author, and log. |
sortby_author_href | String | URL for the current view, but sorted by author. |
sortby_date_href | String | URL for the current view, but sorted by date. |
sortby_file_href | String | URL for the current view, but sorted by filename. |
sortby_log_href | String | URL for the current view, but sorted by log message. |
sortby_rev_href | String | URL for the current view, but sorted by revision number. |
sortdir | String | Current sorting mode. Valid values: up (ascending) and down (descending) |
tree_rev | String | Last revision number where the current directory (or any path underneath it) was modified. Subversion only. |
tree_rev_href | String | URL for revision view showing information about the tree_rev revision. Subversion only. |
youngest_rev | String | Last revision number in the repository. Subversion only |
youngest_rev_href | String | URL for revision view showing information about the youngest_rev revision. Subversion only. |
Variable | Type | Description |
---|---|---|
msg | String | Message describing the current error. |
stacktrace | String | Python stack trace showing where the error occurred. |
status | String | HTTP status code like "404 Not Found" that was sent to the browser with this error message. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON, PATHREV, and PAGING variable sets | ||
branch_tags | List | Names of branch tags in the file. CVS only. |
default_branch | List | Default branch names (CVS only) |
diff_format | String | Currently selected diff format in the diff selection form. Valid values are c (context), h (human-readable, or colored), l (long human-readable), s (side-by-side), u (unified). |
diff_select_action | String | Form action URL for the diff selection form. |
diff_select_hidden_values | List | Hidden field name/value pairs for the diff selection form. |
entries | List | List of revisions where the file or directory was modified. |
entries.ago | String | Text description of the time elapsed since entries.date. |
entries.annotate_href | String | URL for the annotate view of the file revision. |
entries.author | String | Author of the revision. |
entries.branch_names | List | If this last revision on a branch, a list of names for that branch. |
entries.branch_point | String | If the revision is on a branch, this is the revision number the branch branched off from. CVS only. |
entries.branch_points | String | List of branch tags which branch off of this revision. CVS only. |
entries.branch_points.name | String | Name of the branch tag. |
entries.branch_points.href | String | URL for the current view, but with this tag set as the sticky tag. |
entries.branches | String | List of branch tags that include this file revision. CVS only. |
entries.branches.name | String | Name of the branch tag. |
entries.branches.href | String | URL for the current view, but with this tag set as the sticky tag. |
entries.changed | String | Numbers of lines added and removed since the previous revision. CVS only. |
entries.copy_href | String | URL for log view of entries.copy_path. |
entries.copy_path | String | If the file revision was copied from somewhere, this is the path it was copied from. Subversion only. |
entries.copy_rev | String | If the file revision was copied from somewhere, this is the revision number of the path it was copied from. Subversion only. |
entries.date | String | Date (in UTC if not otherwise configured) of the revision. |
entries.diff_to_branch_href | String | URL for a diff view of this file revision showing the changes since the branch was created at (entries.branch_point). CVS only. |
entries.diff_to_main_href | String | If this revision is at the tip of a branch, URL for a diff view of this file revision showing the differences between it and the latest revision on the parent branch (entries.next_main). CVS only. |
entries.diff_to_prev_href | String | URL for a diff view of this file revision showing the changes since the previous revision (entries.prev). |
entries.diff_to_sel_href | String | URL for a diff view of this file revision and the currently selected revision (rev_selected). |
entries.download_href | String | URL to download the file revision. |
entries.download_text_href | String | URL to download the file revision as text/plain. |
entries.lockinfo | String | Information about the lock status of this revision. |
entries.log | String | Revision log message. |
entries.next_main | String | If this revision is on the tip of the branch, this is the latest revision of the parent branch, a likely merge candidate. |
entries.orig_href | String | URL for log view of entries.orig_path |
entries.orig_path | String | If this file revision is located at a different path than the newest file revision (because it precedes a copy or move), this is the path it was originally located at. Subversion only. |
entries.prefer_markup | Boolean | Indicates whether to make the default file link a link to the markup page instead of the checkout page. |
entries.prev | String | Previous revision number. |
entries.rev | String | Revision number. |
entries.revision_href | String | URL for revision view showing more information about the revision. |
entries.sel_for_diff_href | String | URL for current view, but with this revision selected for diffs. |
entries.size | String | Size of the file revision, in bytes. Subversion only. |
entries.state | String | State of the file revision. Possible values: dead, and the empty string. |
entries.tag_names | List | List of tag names which refer to the revision. |
entries.tags | List | List of tags which refer to the revision |
entries.tags.name | String | Name of the tag. |
entries.tags.href | String | URL for the current page, but with this tag set as the sticky tag. |
entries.vendor_branch | Boolean | Indicates if this revision is on a vendor branch. |
entries.view_href | String | URL for markup view for a file revision, or directory listing view for a directory revision. |
head_annotate_href | String | URL for annotate view of the HEAD revision of the file. |
head_download_href | String | URL to download the HEAD revision of the file. |
head_download_text_href | String | URL to download the HEAD revision of the file as text/plain. |
head_prefer_markup | Boolean | Indicates whether to make the default HEAD file link a link to the markup page instead of the checkout page. |
head_view_href | String | URL for markup view of the HEAD revision of the file. |
human_readable | Boolean | Indicates whether or not currently selected diff format (diff_format) is human readable (colored). |
log_pagestart | String | Item number (zero based) of the first directory entry requested to be shown on the page. Corresponds to the log_pagestart query parameter. |
log_paging_action | String | Form action URL for the page selection form. |
log_paging_hidden_values | List | Hidden field name/value pairs for the page selection form. |
logsort | String | Current sorting mode. Possible values: date and rev. |
logsort_action | String | Form action URL for log sort drop down box. |
logsort_hidden_values | List | Hidden field name/value pairs for the log sort drop down box |
mime_type | String | MIME type of current file. |
plain_tags | List | Names of non-branch in the file. CVS only. |
rev_selected | String | Revision number currently selected for diffs. |
tag_annotate_href | String | URL for annotate view of the file at currently selected sticky tag. |
tag_download_href | String | URL to download the file at currently selected sticky tag. CVS only. |
tag_download_text_href | String | URL to download the file as text/plain at the currently selected sticky tag. CVS only |
tag_prefer_markup | Boolean | Indicates whether to make the default sticky tag file link a link to the markup page instead of the checkout page. |
tag_view_href | String | URL for markup view of the file at the currently selected sticky tag. CVS only. |
tags | String | List of tags that in the current file. CVS only. |
tags.rev | String | Revision number for a non-branch tag, or the latest revision number on the branch for a branch tag. |
tags.name | String | Tag name |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON variable set | ||
backout_href | String | URL for a page that shows a list of commands that can be applied to a working copy to revert all the changes returned by the query. |
commits | List | List of commits to files under the current directory that meet the query criteria. |
commits.author | String | Author of the commit. |
commits.files | List | List of files under the current directory affected by the commit. |
commits.files.author | String | Author of the commit. |
commits.files.date | String | Date (in UTC if not otherwise configured) the change to the file was committed. |
commits.files.dir | String | Path of the directory containing the file. |
commits.files.dir_href | String | URL for directory listing of commits.files.dir. |
commits.files.file | String | File name. |
commits.files.rev | String | Revision number of the file. |
commits.files.branch | File | Branch the commit occurred on. |
commits.files.diff_href | String | URL to diff page showing changes since previous file revision. |
commits.files.log_href | String | URL for file's log page. |
commits.files.minus | String | Number of lines removed from the file by the commit. |
commits.files.plus | String | Number of lines added to the file by the commit. |
commits.files.type | String | Type of change made to the file by the commit. Possible values: Change, Add, Remove |
commits.log | String | Commit log message. |
commits.limited_files | Boolean | True if files list was cut short due to limit_changes. |
commits.minus | String | Total number of lines removed from files in this commit. |
commits.num_files | String | Total number of files in the commits.files list. |
commits.plus | String | Number of lines added to files in this commit. |
commits.rev | String | Commit revision number. Subversion only. |
commits.rss_date | String | Date of the commit formatted for RSS. |
commits.rss_url | String | Absolute URL of the revision page for the commit. Subversion only. |
commits.short_log | String | Truncated commit log message. |
english_query | String | Text description of the current query criteria. |
limit_changes | String | Current limit_changes value, maximum number of changed files to show per commit. |
limit_changes_href | String | URL for the current view but with limit_changes disabled. |
minus_count | String | Total number of lines removed from all files across all returned commits. |
plus_count | String | Total number of lines added to all files across all returned commits. |
querysort | String | Indicates how query results are being sorted. Possible values: date, author, and file. |
show_branch | Boolean | Indicates whether or not to list branch names in the results. True when query results can include more than a single branch. |
sql | String | SQL string used to query database. Included for debugging purposes. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON variable set | ||
branch | String | Query string for filtering results by branch. |
branch_match | String | Type of match to perform with branch query string. Valid values: exact, like, glob, regex, notregex. |
comment | String | Query string for filtering results by log message. |
comment_match | String | Type of match to perform with comment query string. Possible values: exact, like, glob, regex, notregex. |
date | String | Option for filtering results by date. Possible values: hours, day, week, month, all, explicit. |
dir | String | Query string for filtering results by subdirectory. |
dir_href | String | URL for directory list of current directory. |
file | String | Query string for filtering results by file name. |
file_match | String | Type of match to perform with file query string. Valid values: exact, like, glob, regex, notregex. |
hours | String | If date is hours, number of hours back to include results from. |
limit_changes | String | Current limit_changes value, maximum number of changed files to show per commit. |
maxdate | String | If date is explicit, latest date to include results from. |
mindate | String | If date is explicit, earliest date to include results from. |
query_action | String | Form action URL for query form. |
query_hidden_values | List | Hidden field name/value pairs for query form. |
querysort | String | Option for sorting query results. Possible values: date, author, and file. |
who | String | Query string for filtering results by author. |
who_match | String | Type of match to perform with who query string. Possible values: exact, like, glob, regex, notregex. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON variable set | ||
ago | String | Text description of the time elapsed since date. |
author | String | Author of the revision. |
changes | List | List of paths changed in this revision. |
changes.action | String | Indicates what happened to the path in this revision. Valid values are: added, modified, replaced, and deleted. |
changes.copy_path | String | Original path if path was copied from somewhere in this revision. |
changes.copy_rev | String | Revision number of original path if path was copied from somewhere in this revision |
changes.diff_href | String | URL for diff of changed path against previous revision. |
changes.is_copy | Boolean | Indicates whether path was copied from another path in this revision. |
changes.log_href | String | URL for log view of changed path. |
changes.path | String | Changed path. |
changes.pathtype | String | Type of changed path. Valid values: file or dir |
changes.prop_mods | Boolean | Indicates whether the path's properties changed in this revision |
changes.text_mods | Boolean | Indicates whether the path's file contents changed in this revision. |
changes.view_href | String | URL for markup view of changed path. |
date | String | Revision date (in UTC if not otherwise configured). |
first_changes | String | Configured value for limit_changes. |
first_changes_href | String | URL for the current view but with limit_changes set to the configured value. |
jump_rev_action | String | Form action URL for revision jump form. |
jump_rev_hidden_values | List | Hidden field name/value pairs for revision jump form. |
limit_changes | String | Current limit_changes value, maximum number of changed files to show per commit. |
log | String | Revision log message. |
more_changes | String | Number of changes not being shown due to limit_changes. |
more_changes_href | String | URL for the current view but with limit_changes disabled. |
num_changes | String | Number of paths changed in this revision. |
next_href | String | URL for revision page of the next revision. |
prev_href | String | URL for revision page of the previous revision. |
rev | String | Revision number. |
Variable | Type | Description |
---|---|---|
Includes all variables from the COMMON variable set | ||
roots | List | Set of configured viewable repositories. |
roots.name | String | Name of a configured repository. |
roots.path | String | Server-local location of a configured repository. WARNING: Revealing information to untrusted guests about the details of your server configuration can have negative security implications. Use this token at your own risk. |
roots.type | String | Version control type of a configured repository. Valid values: cvs, svn. |
roots.href | String | URL of root directory view for a configured repository. |
[english_query]
[# ]+[plus_count]/-[minus_count] lines changed.
[if-any commits]Revision | File | +/- | Date | Author | [# uncommment, if you want a separate Description column: (also see below)Description | ]
---|---|---|---|---|---|
[if-any commits.files.rev] [is commits.files.type "Add"][end] [is commits.files.type "Change"][end] [commits.files.rev] [is commits.files.type "Add"][end] [is commits.files.type "Change"][end] [else] [end] | [commits.files.dir]/ [is commits.files.type "Add"][end] [is commits.files.type "Change"][end] [commits.files.file] [is commits.files.type "Add"][end] [is commits.files.type "Change"][end] |
[# only show a diff link for changes ]
[is commits.files.type "Add"][end]
[is commits.files.type "Change"][end]
[is commits.files.type "Remove"] |
[if-any commits.files.date][commits.files.date][else] [end] | [if-any commits.files.author][commits.files.author][else] [end] | |
Only first [commits.num_files] files shown. Show all files or adjust limit. | |||||
Log:[commits.log] |
Directory revision: | [tree_rev][if-any youngest_rev] (of [youngest_rev])[end] |
Sticky Revision: | [include "pathrev_form.ezt"] |
Current search: | [search_re] |
Query: | Query revision history |
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
viewvc-1.1.5/templates-contrib/viewsvn/templates/include/log_footer.ezt 0000644 0001750 0001750 00000000147 10617121637 026672 0 ustar cmpilato cmpilato [include "paging.ezt"] [is pathtype "file"] [include "diff_form.ezt"] [end] [include "footer.ezt"] viewvc-1.1.5/templates-contrib/viewsvn/templates/include/pathrev_form.ezt 0000644 0001750 0001750 00000001545 11040367645 027234 0 ustar cmpilato cmpilato [if-any pathrev] [end] viewvc-1.1.5/templates-contrib/viewsvn/templates/include/header.ezt 0000644 0001750 0001750 00000003720 11175145142 025760 0 ustar cmpilato cmpilato[if-any username]Logged in as: [username][end] |
[if-any cfg.general.address][cfg.general.address][else] [end] |
![]() ![]() ![]() |
[if-any rss_href]![]() |
Name | Value | |
---|---|---|
[properties.name] | [if-any properties.undisplayable]Property value is undisplayable. | [else][properties.value] | [end]
Parent Directory
[is view "markup"]
[if-any log_href]
Revision Log
[end]
[end]
[is view "annotate"]
[if-any log_href]
Revision Log
[end]
[end]
[is view "diff"]
[if-any log_href]
Revision Log
[end]
Patch
[end]
[is pathtype "file"]
[else]
Directory Listing
[end]
Select your parameters for querying the CVS commit database. You can search for multiple matches by typing a comma-seperated list into the text fields. Regular expressions, and wildcards are also supported. Blank text input fields are treated as wildcards.
Any of the text entry fields can take a comma-seperated list of search arguments. For example, to search for all commits from authors jpaint and gstein, just type: jpaint, gstein in the Author input box. If you are searching for items containing spaces or quotes, you will need to quote your request. For example, the same search above with quotes is: "jpaint", "gstein".
Wildcard and regular expression searches are entered in a similar way to the quoted requests. You must quote any wildcard or regular expression request, and a command charactor preceeds the first quote. The command charactor l is for wildcard searches, and the wildcard charactor is a percent (%). The command charactor for regular expressions is r, and is passed directly to MySQL, so you'll need to refer to the MySQL manual for the exact regex syntax. It is very similar to Perl. A wildard search for all files with a .py extention is: l"%.py" in the File input box. The same search done with a regular expression is: r".*\.py".
All search types can be mixed, as long as they are seperated by commas.
[is query "skipped"] [else][num_commits] matches found.
[if-any commits]Revision | File | Branch | +/- | Date | Author | [# uncommment, if you want a separate Description column: (also see below)Description | ]
---|---|---|---|---|---|---|
[if-any commits.files.rev][commits.files.rev][else] [end] | [commits.files.link] | [if-any commits.files.branch][commits.files.branch][else] [end] |
[is commits.files.type "Add"][end]
[is commits.files.type "Change"][end]
[is commits.files.type "Remove"] |
[if-any commits.files.date][commits.files.date][else] [end] | [if-any commits.files.author][commits.files.author][else] [end] | [# uncommment, if you want a separate Description column: {if-index commits.files first{{commits.log} | {end} (substitute brackets for the braces) ]
Log:[commits.log] |
||||||
[# uncommment, if you want a separate Description column: | ] |
[entries.log]
[log][end]
This file's contents are not viewable. Please download this version of the file in order to view it.
[else] [define last_rev]0[end] [define rowclass]vc_row_even[end] [if-any lines][lines.line_number] | [is annotation "annotated"][is lines.rev last_rev] [else][lines.author][end] | [is lines.rev last_rev] [else][if-any lines.diff_href][end][lines.rev][if-any lines.diff_href][end][end] | [end][lines.text] |
Name |
---|
![]() |