Skip to content

Commit

Permalink
mention that revlinks are broken on periodic/nightly builds
Browse files Browse the repository at this point in the history
Refs #1013
  • Loading branch information
Dustin J. Mitchell committed Oct 23, 2010
1 parent 98f8b59 commit 9175088
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions master/docs/cfg-statustargets.texinfo
Expand Up @@ -565,18 +565,21 @@ in change comments.

@subheading revlink

The @code{revlink} is similarly used to create links from revision
ids to a web-view of your source control system. This will either be
a string, a dict from string (repository ids) to strings, or a callable.
The @code{revlink} is used to create links from revision IDs in the web status
to a web-view of your source control system. The parametr's value must be a
format string, a dict mapping a string (repository name) to format strings, or a callable.

The string should use '%s' to insert
the revision id in the url. I.e. for Buildbot on github:
@code{revlink='http://github.com/djmitche/buildbot/tree/%s'}
(The revision id will be URL encoded before inserted in the replacement string)
The format string should use '%s' to insert the revision id in the url. For
example, for Buildbot on github:
@code{revlink='http://github.com/buildbot/buildbot/tree/%s'} (The revision ID
will be URL encoded before inserted in the replacement string)

The callable takes the revision id and repository argument, and should return
an URL to the revision.

Note that SourceStamps that are not created from version-control changes (e.g.,
those created by a Nightly or Periodic scheduler) will have an empty repository
string, as the respository is not known.

@subheading changecommentlink

Expand Down

0 comments on commit 9175088

Please sign in to comment.