Skip to content

Frequency Git Workflow

Dmitri edited this page Oct 20, 2022 · 30 revisions

Overview

Frequency Multi-Branch Git Workflow

Source Diagram: https://docs.google.com/drawings/d/1GyvodIcZ3AfrfmpgK465N369Lu-F41Ni-__Gvk4p6iQ

This page describes Git branching workflow employed by the Frequency team during development and release cycles. This workflow has 4 types of branches:

Number Branch Name Branch Pattern Purpose
1 Developer Branch [issue#]-[brief-descriptive-name] a.k.a "feature branch", used to develop new features and make other changes for the upcoming releases
2 Release Branch release-v[x.x.x*] Corresponds to the specific Polkadot release version, e.g. v0.9.29, v0.9.30, etc., e.g. release-v0.9.29, release-v0.9.30, release-v0.9.30-1, etc.
3 Next Branch origin/main Represents the next version under development, i.e. a release candidate
4 Hot Fix Branch [issue#]-[brief-descriptive-name] These hot fix branches are necessary to act immediately upon an undesired status of one of the current releases (Rococo and/or Mainnet)

Once a long-lived branch is created, it can stay in the repo forever. In other words, there is no time limitation on the lifecycle of such branch.

Change Management

To work on something new, create a branch off main and given a descriptively name starting with the story number (ie: new-oauth2-scopes)

Releases

Coming soon...

Hot Fixes

Coming soon...

Clone this wiki locally