FociSolutions / github-foundations

A framework for managing your GitHub Enterprise account infrastructure.
MIT License
10 stars 1 forks source link

[Refactor] Break the Go cli out into its own repo #91

Closed bzarboni1 closed 5 months ago

bzarboni1 commented 5 months ago

ISSUE

While investigating FociSolutions/github-foundations-cli#2, we ran into an issue with the current repository setup:

There are effectively have 3 tools in the repo. One is the bootstrap terraform, another the organizations terragrunt, and the last, the gh_foundations Go cli.

We could simplify that to 2: The organization/bootstrap + Go cli, but we have only 1 release value per repo. If we want to release a new version of the terraform/terragrunt, and increment the release number, that means the go cli would also have to be recompiled and released, whether there are codes changes or not


ANALYSIS

There are a couple of obvious choices we could make:

  1. Live with tying the same release to both (all three) tools, or
  2. Separating the Go code into its own repo

For a few reasons, the 2nd option provides the most future flexibility, and will be the approach taken