kokosing / git-gifi Goto Github PK
View Code? Open in Web Editor NEWGit and github enhancements to git.
License: Apache License 2.0
Git and github enhancements to git.
License: Apache License 2.0
[hadapt-ThinkPad-X220:~/Desktop/Hadapt/presto-master] (feature_concat) ⌘ git feature-publish
Username for 'https://github.com': sopel39
Password for 'https://[email protected]':
Traceback (most recent call last):
File "/usr/local/bin/gifi", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/gifi/main.py", line 68, in main
_main(args)
File "/usr/local/lib/python2.7/dist-packages/gifi/main.py", line 75, in _main
result = command(*args)
File "/usr/local/lib/python2.7/dist-packages/gifi/command.py", line 35, in _call_
return self.commands.get(commandName)(*commandArgs)
File "/usr/local/lib/python2.7/dist-packages/gifi/command.py", line 35, in _call_
return self.commands.get(commandName)(*commandArgs)
File "/usr/local/lib/python2.7/dist-packages/gifi/command.py", line 9, in _call_
return self.callable(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/gifi/feature.py", line 41, in _publish
repo.git.push('-f', '-u', 'origin', 'HEAD:%s' % current_branch)
File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 440, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 834, in _call_process
return self.execute(make_call(), **_kwargs)
File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 627, in execute
raise GitCommandError(command, status, stderr_value)
git.exc.GitCommandError: 'git push -f -u origin HEAD:feature_concat' returned with exit code 128
stderr: 'remote: Permission to facebook/presto.git denied to sopel39.
fatal: unable to access 'https://github.com/facebook/presto.git/': The requested URL returned error: 403'
In [1]: from git import Repo; r = Repo('.')
In [2]: commits = list(r.iter_commits('origin/master..HEAD'))
I get following error when trying to configure slack:
$ gifi slack configure
Traceback (most recent call last):
File "/home/losipiuk/python_work/bin/gifi", line 11, in <module>
sys.exit(main())
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/main.py", line 65, in main
_main(args)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/main.py", line 72, in _main
result = command(*args)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/command.py", line 35, in __call__
return self.commands.get(commandName)(*commandArgs)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/command.py", line 35, in __call__
return self.commands.get(commandName)(*commandArgs)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/command.py", line 9, in __call__
return self.callable(*args, **kwargs)
TypeError: <lambda>() takes exactly 1 argument (0 given)
[eiger:~/workspace/presto/presto-main] (decimal-wip %) ⌘ git queue-pop
Traceback (most recent call last):
File "/Users/losipiuk/workspace/virtualenvs/td/bin/gifi", line 11, in <module>
sys.exit(main())
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/gifi/main.py", line 69, in main
_main(args)
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/gifi/main.py", line 76, in _main
result = command(*args)
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/gifi/command.py", line 37, in __call__
return self.commands.get(commandName)(*commandArgs)
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/gifi/command.py", line 37, in __call__
return self.commands.get(commandName)(*commandArgs)
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/gifi/command.py", line 9, in __call__
return self.callable(*args, **kwargs)
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/gifi/queue.py", line 11, in _pop
repo.git.stash('apply', '--index')
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/git/cmd.py", line 440, in <lambda>
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/git/cmd.py", line 834, in _call_process
return self.execute(make_call(), **_kwargs)
File "/Users/losipiuk/workspace/virtualenvs/td/lib/python2.7/site-packages/git/cmd.py", line 627, in execute
raise GitCommandError(command, status, stderr_value)
git.exc.GitCommandError: 'git stash apply --index' returned with exit code 1
stderr: 'error: patch failed: presto-main/src/main/java/com/facebook/presto/metadata/FunctionRegistry.java:385
error: presto-main/src/main/java/com/facebook/presto/metadata/FunctionRegistry.java: patch does not apply
error: patch failed: presto-main/src/main/java/com/facebook/presto/type/DecimalOperators.java:52
error: presto-main/src/main/java/com/facebook/presto/type/DecimalOperators.java: patch does not apply
Conflicts in index. Try without --index.'
Now it closes with "closed" status
I get following error
⌘ gifi github authenticate
Github login (not-set): losipiuk
Traceback (most recent call last):
File "/home/losipiuk/python_work/bin/gifi", line 11, in <module>
sys.exit(main())
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/main.py", line 65, in main
_main(args)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/main.py", line 72, in _main
result = command(*args)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/command.py", line 35, in __call__
return self.commands.get(commandName)(*commandArgs)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/command.py", line 35, in __call__
return self.commands.get(commandName)(*commandArgs)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/command.py", line 9, in __call__
return self.callable(*args, **kwargs)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/git_hub.py", line 13, in _authenticate
config.configure(['login'])
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/internal/configuration.py", line 66, in configure
self.set(key, self._parse_value(new_value, type(current_value)), config_level)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/gifi/internal/configuration.py", line 40, in set
config_writer = self.repo.config_writer(config_level)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/git/repo/base.py", line 417, in config_writer
return GitConfigParser(self._get_config_path(config_level), read_only=False)
File "/home/losipiuk/python_work/local/lib/python2.7/site-packages/git/repo/base.py", line 380, in _get_config_path
raise ValueError("Invalid configuration level: %r" % config_level)
ValueError: Invalid configuration level: ['login']
Enter your Github password (will not be stored anywhere):
Traceback (most recent call last):
File "/home/piotr/py27-hfab/bin/gifi", line 11, in
sys.exit(main())
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/main.py", line 68, in main
_main(args)
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/main.py", line 75, in _main
result = command(*args)
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/command.py", line 35, in call
return self.commands.get(commandName)(_commandArgs)
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/command.py", line 35, in call
return self.commands.get(commandName)(_commandArgs)
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/command.py", line 9, in call
return self.callable(_args, *_kwargs)
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/git_hub.py", line 20, in _authorize
_create_authorization(config, config_level, gh)
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/git_hub.py", line 28, in _create_authorization
_handle_github_exception(e, 'create an authorization')
File "/home/piotr/py27-hfab/local/lib/python2.7/site-packages/gifi/git_hub.py", line 33, in _handle_github_exception
error = ', '.join(map(_map_github_error, e.data['errors']))
KeyError: 'errors
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.