Skip to main content

A small CLI utility to keep your repositories up-to-date with their templates

Project description

carboncopy

Keep your repositories up-to-date with their templates in a few keystrokes.

❓ Why carboncopy?

Github Template Repositories made it really easy to skip project boilerplate setup steps and to produce "new project kits" that ensure that all your (or your organization's) new projects have all the must-haves. Problem is, templates aren't set in stone and it's likely that templates get updated after some projects have been spawned from it.

Because template repositories are different than forks, you can't simply rebase your project to gulp in the latest templated goodies -- leaving you with the gnarly task of manually moving files over. No more.

With carboncopy, you are one command away from pulling in the latest changes from your template repositories as if it were a regular base branch. You can configure it via its RC file to ignore certain files from the template, and more!

📦 Installation

As it is not yet published on PyPi, you can simply clone this repository and use pip install <path> to install it in your local environment.

🔨 Usage

From your repository, simply type carboncopy in your terminal to bring up a prompt asking you what to pull from your template repository. Any change made is left as an unstaged change so you can commit and merge it however you want.

⚙ Configuration

You can configure the way carboncopy handles your template's contents by creating a .carboncopyrc file at the root of your repository. Documentation TBD. See src/carboncopy/config_defaults.py for general layout.

Project details


Release history Release notifications

This version

0.0.1

Download files

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

Files for carboncopy, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size carboncopy-0.0.1-py3-none-any.whl (9.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size carboncopy-0.0.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page