Code Monkey home page Code Monkey logo

git-gifi's People

Contributors

dependabot[bot] avatar kgniew avatar kokosing avatar pnowojski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

git-gifi's Issues

Feature-publish error when pushing a feature branch to a remote to which user does not have access.


[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'

Cannot configure slack

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)

Exception on git queue-pop

[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.'

github authenticate does not work

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']

Missleading error when wrong password

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

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.