lottspot / makeit Goto Github PK
View Code? Open in Web Editor NEWA reimagined task loader for doit
A reimagined task loader for doit
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
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'
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'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.