Skip to main content

A build tool to pick cherry, bake release branches, and power label-driven development

Project description

Cherry Tree

Cherry Tree is a set of tools that were originally designed to help build releases for Apache Superset, but can be use for any other project that wants to implement a similar workflow.

Ideas behind cherrytree include:

  • Baking and storing release metadata in static, deterministic config files
  • Github label driven development / releases
  • Make release files from specifying base reference and Github labels
  • Bake release branches/SHAs from said config files
  • Follow a base reference + cherries approach

An example build file

cherrytree offers tooling to both:

  1. generate a "bake file" from a base git reference along with a set of tagged PRs
  2. craft a branch in a target repo from a "bake file"

Here's an example "bake file":

// this is a Hocon formatted file,
// learn more about hocon here https://github.com/lightbend/config/blob/master/HOCON.md
{
  id = "lyft.28.0rc4.1"
  base_ref = 0.28.0rc4
  source_repos = [
    'https://github.com/apache-superset/cherrytree',
    'https://github.com/some_fork/cherrytree',
  ]
  cherries = [
    [5e6efae15563036d98aa9a13affcef38c6957cb1, "Some SHA from either repos above"],
  ]
}

The format is hocon, which is yet another [bet much better] markup language.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cherrytree-0.1.1.tar.gz (5.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page