Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Cookie-cutter updater

Project description

Cupper

Cupper allows for the update of services that are created using cookiecutter. When run, it creates a new branch that contains the latest cookiecuttered code, using a JSON file with context that matches the existing service. This file can be created through cookiecutter with the following contents:

{{ cookiecutter | jsonify }}

The script takes two arguments: a JSON file containing configuration for cookiecutter, and the name of the branch to create.

cupper .cookiecutter.json template

You can then merge these changes into your existing code:

git merge template

This code is heavily based on https://github.com/aroig/cookiecutter-latex-paper/blob/master/make/cookiecutter-update.py, with a few very small changes.

Note that you will need a recent version of git for this to work (it needs --no-checkout on git worktree)

Project details


Download files

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

Files for cupper, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size cupper-0.0.4-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size cupper-0.0.4.tar.gz (2.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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page