Changelog

Codebase Governor Repository Templates support

by: Nuno Crisóstomo

Codebase Governor can now help you create new repositories based on existing templates.

Let’s dive into an example – you’ve added my-template-repo.yml to the capability with the following configuration:

is-template: true

This allows the repository to serve as a template for creating new repositories.

Why?

You use GitHub repositories to store your code, and having a standardized way of setting up new repositories can save you time and reduce errors. With Codebase Governor, you can now define a template repository and use it to create new repositories with the same configuration.

For example, let’s say you have a repository called my-template-repo that you want to use as a template for creating new repositories. You can add the following configuration to a new repository configuration file:

using-template: my-template-repo

This will create the new repository with the same configuration as my-template-repo. The new repository will be created will have the same structure and settings as the template repository.

Benefits

Using templates in Codebase Governor provides several benefits, including:

  • Standardization: You can ensure that all your repositories have the same configuration and settings.
  • Time-saving: Creating new repositories from a template saves you time and reduces errors.
  • Consistency: Your repositories will be consistent across your organization, making it easier to manage and maintain them.

Next Steps

For a complete step-by-step guide, visit this page.

Refer to the documentation for more details. If you’ve read this far, you’re ready to start using templates in Codebase Governor.

Thank You,
Alpha Ops team - Shared Platforms Operation


by: Nuno Crisóstomo
in:
category: Changelog