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.

Source Distribution

cherrytree-0.1.1.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file cherrytree-0.1.1.tar.gz.

File metadata

  • Download URL: cherrytree-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

File hashes

Hashes for cherrytree-0.1.1.tar.gz
Algorithm Hash digest
SHA256 612a03a6cc1c105d42b6fe7a274876bfe00265e5e796c8a08a76004dcc855016
MD5 d7cb9e4968163dae752bf77623a6a97e
BLAKE2b-256 6c264da3ecc7f614a6cd2a00352ce82678c8f4e610de6270897ca129d50f35f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page