Browse code

You can browse the streams and branches in a product or Git repository, and view the contents of files and directories.

Overview

You can browse the current (tip) version or earlier versions of a stream/branch.

When you open a file or directory, it displays the following information:

  • The user who delivered the changes.

  • The changeset ID and delivery message.

  • The health of the changes.

  • The review associated with the changes.

Files also display:

  • Findings from chain plugins when a chain has run on the stream or branch. For details about chains, see Run chains.

  • Peer review comments. For details, see About reviews.

  • Colored code syntax.

Directories also display:

  • A summary of problems with any associated reviews.

  • The number of contributors who made changes.

  • (Optional) A readme file that describes the directory's contents. For details, see Add descriptions of directory contents.

Tip: You can add comments to files. Comments are attached to that version of the file and are displayed on any associated review pages. For details, see View information on review pages.

Back to top

Browse streams and branches

To view the contents of a directory or file:

  1. In PulseUno, navigate to Spaces, select a space, and then select a product or Git repository.

  2. Open a stream or branch.

  3. In the sidebar, click Code. The Content tab displays the most recent changes to the stream or branch.

  4. Navigate to a directory or file to view its contents.

    Tip: To view the contents of a file without the color-coded syntax, click Raw.

Back to top

Browse previous versions of streams and branches

You can view the contents of earlier changesets and versions of files or directories.

Dimensions CM: You can browse changesets created only with Dimensions CM 14.1 or later.

To view and browse previous versions of files or directories:

  1. In PulseUno, navigate to Spaces, select a space, and then select a product or Git repository.

  2. Open a stream or branch.

  3. In the sidebar, select Code.

  4. Choose what to view:

    Browse the entire contents of an earlier changeset. Select the check box for a changeset, and click View at Version. In the Content tab, browse the files and directories in the changeset.
    View an earlier version of a file or directory. In the Content tab, navigate to the file or directory. Click the History tab, select a version of the file or directory, and click View at Version.
    Revert to the current stream or branch version. At the top right, click View at Tip.

    Enter filters, such as usernames and dates, to search the stream or branch. For details about using search, see Search.

    Tip:  

    • PulseUno displays the version of the stream or branch you selected until you revert to the tip.
    • Comments and findings are tied to the file version where they were added and shown when that version is displayed.

Back to top

Add descriptions of directory contents

In each directory, you can create a file that describes the directory's contents. To write the content, use following formats:

File name Data type Search order
readme.md Markdown 1
package.html HTML 2
readme.txt Plain text 3
read.me Plain text 4
package-info.java Code 5

PulseUno searches each directory for one of these file types in the order specified in the earlier table. When PulseUno find the first file, the file is rendered, and the content is displayed at the bottom of the directory page.

Back to top

Add comments to files

You can add comments to files and collaborate with team members. This functionality is similar to adding comments to files in reviews. For details, see Comment on a review.

Back to top

See also: