Giter Club home page Giter Club logo

makeit's People

Contributors

lottspot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

makeit's Issues

Uptodate information not being saved in .makeit.db

The uptodate database is still being written as .doit.db rather than .makeit.db

$ ls -lh .*.db
ls: cannot access '.*.db': No such file or directory
$ makeit
$ ls -lh .*.db
-rw-r--r-- 1 james users 12K Feb 14 10:38 .doit.db

Subtasks prepared by makeit cause exceptions in doit

Doit doesn't like the subtask dictionary being passed to it by makeit, causing an exception to be raised.

Traceback (most recent call last):
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/doit_cmd.py", line 168, in run
    return command.parse_execute(args)
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/cmd_base.py", line 122, in parse_execute
    return self.execute(params, args)
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/cmd_base.py", line 380, in execute
    self, params, args)
  File "build/bdist.linux-x86_64/egg/makeit/loader.py", line 35, in load_tasks
    return self._processed_dicts_to_tasks(processed), self.doitcfg
  File "build/bdist.linux-x86_64/egg/makeit/loader.py", line 108, in _processed_dicts_to_tasks
    tasks.append(dict_to_task(taskdict))
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/task.py", line 510, in dict_to_task
    return Task(**task_dict)
TypeError: __init__() got an unexpected keyword argument 'basename'

Subtasks without 'name' field throw exceptions

A task which generates subtasks which do not specify a 'name' task will raise the following exception

Traceback (most recent call last):
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/doit_cmd.py", line 168, in run
    return command.parse_execute(args)
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/cmd_base.py", line 122, in parse_execute
    return self.execute(params, args)
  File "/mnt/files/shared/projects/inque-ink/.pyenv/lib/python2.7/site-packages/doit-0.29.0-py2.7.egg/doit/cmd_base.py", line 380, in execute
    self, params, args)
  File "build/bdist.linux-x86_64/egg/makeit/loader.py", line 33, in load_tasks
    processed = self._process_makeit_extensions(taskdicts)
  File "build/bdist.linux-x86_64/egg/makeit/loader.py", line 100, in _process_makeit_extensions
    self._makeit_ext_depinject_do(task)
  File "build/bdist.linux-x86_64/egg/makeit/loader.py", line 128, in _makeit_ext_depinject_do
    injected_deps = self._injections.get(task['name'], [])
KeyError: 'name'

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.