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:

File
  • The user who delivered the changes.

  • The changeset ID and delivery message.

  • The health of the changes.

  • The review associated with the changes.

  • 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.

Directory
  • The user who delivered the changes.

  • The changeset ID and delivery message.

  • The health of the changes.

  • The review associated with the changes.

  • 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 directory descriptions.

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 on how to add comments to reviews, see Comment on reviews.

For details on how to view Review pages, see View details in reviews.

Back to top

Browse streams and branches

You can view the contents of files and directories in PulseUno streams/branches.

To view a file or directory:

  1. From the spaces list at the top right, select a space.
  2. From the product list, open a product or Git repository.
  3. On the Streams page, open a stream or branch.

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

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

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

Back to top

Browse previous stream versions

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 browse previous versions of files or directories:

  1. From the spaces list at the top right, select a space.
  2. From the product list, open a product or Git repository.
  3. On the Streams page, open a stream or branch.

  4. In the sidebar, select Code.

  5. 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 directory descriptions

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 finds 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 reviews.

Back to top

See also: