realgeeks / batman Goto Github PK
View Code? Open in Web Editor NEWA Python deployment toolbelt
License: MIT License
A Python deployment toolbelt
License: MIT License
Traceback (most recent call last):
File "/usr/bin/batman", line 9, in <module>
load_entry_point('Batman==0.5.0', 'console_scripts', 'batman')()
File "/usr/lib/python2.6/site-packages/batman/main.py", line 46, in batmain
go(basedir)
File "/usr/lib/python2.6/site-packages/batman/main.py", line 40, in go
cfg.get('virtualenv'),
File "/usr/lib/python2.6/site-packages/batman/update.py", line 9, in check_and_update
changed_keys = dictchanged.changed_keys(stuff, hash_dir)
File "/usr/lib/python2.6/site-packages/batman/dictchanged.py", line 39, in changed_keys
_write_old_dict(new_dict, persist_dir)
File "/usr/lib/python2.6/site-packages/batman/dictchanged.py", line 10, in _write_old_dict
with open(_old_dict_filename(persist_dir), 'w+') as f:
IOError: [Errno 2] No such file or directory: '/var/apps/tmp/hashes/old_dict.txt'
out: Traceback (most recent call last):
out: File "/usr/bin/batman", line 9, in <module>
out: load_entry_point('Batman==0.4.1', 'console_scripts', 'batman')()
out: File "/usr/lib/python2.6/site-packages/batman/main.py", line 37, in main
out: cfg['virtualenv']
out: File "/usr/lib/python2.6/site-packages/batman/update.py", line 18, in check_and_update
out: print ret.stderr
out: AttributeError: 'Result' object has no attribute 'stderr'
This attribute really doesn't exist. I believe we could improve run()
:
Popen
and as Result
attributesprint_stdout=True
, so we can avoid print
on tests or any other situationCan parse yml and figure out which lines have changed and only rerun those ones.
example: I would like to run all migrations if any of the migrations change:
update_on_change:
"*/migrations/*": "./manage.py migrate"
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.