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


Download files

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

Source Distribution

carboncopy-0.0.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

carboncopy-0.0.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file carboncopy-0.0.1.tar.gz.

File metadata

  • Download URL: carboncopy-0.0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for carboncopy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a7f9605d0e0ab354162c014492c2ebc6733853f78bae6fcfc11ec317bf3d8557
MD5 422400128bb86525cf09976c9901ee9e
BLAKE2b-256 99dd330288564462f38d0468622e8e7ee77bd3d81380f85b7c47776b98972cc4

See more details on using hashes here.

File details

Details for the file carboncopy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: carboncopy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for carboncopy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecdcf7b07401763828df95fabd508617716f395c38b0e253b06a123b08bac206
MD5 5abbd5ed33a9a4fa02d3165830a2afb7
BLAKE2b-256 b63bf1668b51548e9e05542085a654a767979b2f9ee161e4a2c2b3959c831142

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