Skip to content
PatchbayDocs

Search documentation

Find a page

Open Patchbay

Getting started

What is Patchbay

Learn what Patchbay records about your releases, what it shows you, and who uses it.

On this page

Patchbay tracks the releases of a product that is built from more than one piece of code. It records which commit of each piece goes into a release, and it shows what changed since the last release.

The problem⁠

A product often has several parts, for example a web app, an API and a background worker. Each part can have its own repository or its own folder in one monorepo. When you ship a version of the product, you ship one commit of each part together.

Git does not record that set of commits, because a tag marks only one commit in one repository. Teams often keep the list by hand, which makes simple questions hard to answer:

  • Which commit of the API is in version 1.4.0?
  • Which pull requests changed since 1.3.0?
  • Is my fix in the next version, or did it ship already?

What Patchbay records⁠

In Patchbay, each part of your product is a component, which points to one repository and one folder in that repository. A release lists one commit for each component.

While you prepare a version, its open candidate follows your branches, so new commits on a tracked branch move into the candidate. When you promote the candidate, Patchbay pins every component to one commit, and the promoted release never changes after that.

You can also declare components in a catalog file (patchbay.yaml) in a repository, and Patchbay then adds them to the project.

What Patchbay shows⁠

For any two releases, Patchbay shows you the following:

  • The release diff, which lists the components that were added, removed, updated or unchanged.
  • The commits, pull requests and activity of each component between the two releases. Patchbay reads only the folder of each component, so this also works when several components share one monorepo.

Patchbay also shows the pull requests that target a candidate but are not in it yet. On GitHub, it can show the release status of each pull request as a comment, labels or both. You turn this on for each project. When an item needs you, for example a catalog file with errors, you get a notification in your inbox.

Who uses Patchbay⁠

Engineers use Patchbay to find out whether a change is in a candidate or in a promoted release. Release managers build a candidate, compare it with the last release and promote it. Workspace owners and administrators connect GitHub and decide who can see and change each project.

You set access for each project, which is Private or Public. A public project is visible to every member of its workspace and to nobody outside it. A project grant gives a person a project role: Viewer, Contributor, Release manager or Admin. Access and roles lists what each role can do.

Patchbay reads your code from GitHub through the Patchbay GitHub App, and Connect GitHub explains what the app can read and write.