errbotio / err-gitbot Goto Github PK
View Code? Open in Web Editor NEWPlugin for errbot that watchs your git repositories
Plugin for errbot that watchs your git repositories
it fails:
An error happened while processing a message ("/git follow git://github.com/yandex/rep.git"): Traceback (most recent call last):
File "/Users/anaderi/miniconda/envs/aot-py3/lib/python3.5/site-packages/errbot/core.py", line 456, in _execute_and_send
reply = method(mess, match) if match else method(mess, args)
File "/Users/anaderi/git/AOT-errbot/data/plugins/errbotio/err-gitbot/gitBot.py", line 142, in git_follow
installed_plugin_repos = self.get_installed_plugin_repos()
AttributeError: 'GitBot' object has no attribute 'get_installed_plugin_repos'
"
Traceback (most recent call last):
File "/Users/anaderi/miniconda/envs/aot-py3/lib/python3.5/site-packages/errbot/core.py", line 456, in _execute_and_send
reply = method(mess, match) if match else method(mess, args)
File "/Users/anaderi/git/AOT-errbot/data/plugins/errbotio/err-gitbot/gitBot.py", line 142, in git_follow
installed_plugin_repos = self.get_installed_plugin_repos()
AttributeError: 'GitBot' object has no attribute 'get_installed_plugin_repos'
If you merge branches err could follow up on the wrong branch and miss the previous commit
(so try to print the entire history back)
Original bug : errbotio/errbot#18
'GitBot' object has no attribute 'following'
Log:
https://gist.github.com/3016562
Following bot response from MUC:
https://gist.github.com/3016581
!repos install err-gitbot
Results in:
Some plugins are generating errors:
You need those dependencies for data/plugins/err-gitbot:
Plugin reload done.
And log messages:
ERROR:yapsy:Unable to import plugin: /home/gladed/err/data/plugins/err-gitbot/gitBot
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/yapsy/PluginManager.py", line 488, in loadPlugins
candidate_module = imp.load_module(plugin_module_name,plugin_file,candidate_filepath+".py",("py","r",imp.PY_SOURCE))
File "/home/gladed/err/data/plugins/err-gitbot/gitBot.py", line 4, in <module>
from gittools import clone, get_heads_revisions, fetch_all_heads, history_since_rev, git_log, remove_repo
File "data/plugins/err-gitbot/gittools.py", line 3, in <module>
from errbot.errBot import PLUGIN_DIR
ImportError: cannot import name PLUGIN_DIR
INFO:root:Activating all the plugins...
INFO:root:Activate plugin: Webserver
INFO:root:Activating Webserver with min_err_version = 2.1.0 and max_version = 2.1.0
INFO:root:Webserver is not configured. Forbid activation
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.