Git Product home page Git Product logo

cupper's People

Contributors

cjolowicz avatar mikejewell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cupper's Issues

KeyError: '_template'

First, thanks for sharing this repo with the world! I am having difficulties setting cupper up with my cookiecutter cloned project.

These are my steps:

  1. Install cookiecutter pip install cookiecutter
  2. Clone template, e.g. cookiecutter https://github.com/some/template/...
  3. Make local changes to the cookiecutter initialized repository
  4. Realize that there are upstream update in https://github.com/some/template/...
  5. Look for options to automatically include these changes, find Cupper
  6. Install Cupper pip install cupper
  7. Add original repository with cookiecutter.json and context as submodule to /docs/, e.g. git submodule add https://github.com/some/template/...
  8. Run Cupper with cupper ./docs/template/cookiecutter.json template

Yields:

Traceback (most recent call last):
  File "/home/.../miniconda3/bin/cupper", line 11, in <module>
    sys.exit(main())
  File "/home/.../miniconda3/lib/python3.7/site-packages/cupper.py", line 74, in main
    update_template(context, os.getcwd(), branch=branch)
  File "/home/.../miniconda3/lib/python3.7/site-packages/cupper.py", line 38, in update_template
    template_url = context['_template']
KeyError: '_template'

Where did I go wrong in my steps?

Thanks

I have been using this tool with success since a few weeks.

This is a "thank you" issue. Close it as soon you read it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.