Giter Site home page Giter Site logo

gerrit-cli's Introduction

gerrit-cli

Gerrit CLI on top of python-gerrit

Usage

If the host is present in ~/.ssh/config, python-gerrit will read all params from there

$ gerrit reviews list review.openstack.org -l 3 --projects stackforge/marconi

gerrit-cli's People

Contributors

flaper87 avatar d0ugal avatar

Stargazers

Igor DC avatar Madjid Mahdjoubi avatar  avatar David Caro avatar Ben Roeder avatar Kurt Griffiths avatar

Watchers

 avatar Tiago Mello avatar James Cloos avatar Ahmed HOSNI avatar  avatar

Forkers

jmdppl

gerrit-cli's Issues

setup.py develop errors in a virtualenv

Probably need to remove distribute from https://github.com/FlaPer87/gerrit-cli/blob/master/setup.py#L31

Traceback -

$ python setup.py develop
running develop
running egg_info
writing requirements to gerrit_cli.egg-info/requires.txt
writing gerrit_cli.egg-info/PKG-INFO
writing top-level names to gerrit_cli.egg-info/top_level.txt
writing dependency_links to gerrit_cli.egg-info/dependency_links.txt
writing entry points to gerrit_cli.egg-info/entry_points.txt
reading manifest file 'gerrit_cli.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'gerrit_cli.egg-info/SOURCES.txt'
running build_ext
Creating /home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/gerrit-cli.egg-link (link to .)
Adding gerrit-cli 0.0.1 to easy-install.pth file
Installing gerrit script to /home/dougalmatthews/.virtualenvs/gerrit-cli/bin

Installed /home/dougalmatthews/Code/python/gerrit-cli
Processing dependencies for gerrit-cli==0.0.1
Searching for python-gerrit
Reading https://pypi.python.org/simple/python-gerrit/
Best match: python-gerrit 0.0.1
Downloading https://pypi.python.org/packages/source/p/python-gerrit/python-gerrit-0.0.1.tar.gz#md5=ea1a6623b67138c06459a3ae9675fcfe
Processing python-gerrit-0.0.1.tar.gz
Writing /tmp/easy_install-samnCm/python-gerrit-0.0.1/setup.cfg
Running python-gerrit-0.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-samnCm/python-gerrit-0.0.1/egg-dist-tmp-zosyvP
Adding python-gerrit 0.0.1 to easy-install.pth file

Installed /home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/python_gerrit-0.0.1-py2.7.egg
Searching for cliff
Reading https://pypi.python.org/simple/cliff/
Best match: cliff 1.5.2
Downloading https://pypi.python.org/packages/source/c/cliff/cliff-1.5.2.tar.gz#md5=650d3155b38158b79563bd0f0327f081
Processing cliff-1.5.2.tar.gz
Writing /tmp/easy_install-XycFDB/cliff-1.5.2/setup.cfg
Running cliff-1.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XycFDB/cliff-1.5.2/egg-dist-tmp-E1NGCh
Searching for pbr
Reading https://pypi.python.org/simple/pbr/
Best match: pbr 0.5.23
Downloading https://pypi.python.org/packages/source/p/pbr/pbr-0.5.23.tar.gz#md5=dde40a1c2fefcd901c7c9ee9223ef955
Processing pbr-0.5.23.tar.gz
Writing /tmp/easy_install-XycFDB/cliff-1.5.2/temp/easy_install-nGOTUr/pbr-0.5.23/setup.cfg
Running pbr-0.5.23/setup.py -q bdist_egg --dist-dir /tmp/easy_install-XycFDB/cliff-1.5.2/temp/easy_install-nGOTUr/pbr-0.5.23/egg-dist-tmp-_g2Q7k

Installed /tmp/easy_install-XycFDB/cliff-1.5.2/pbr-0.5.23-py2.7.egg
Adding cliff 1.5.2 to easy-install.pth file

Installed /home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/cliff-1.5.2-py2.7.egg
Searching for distribute
Reading https://pypi.python.org/simple/distribute/
Best match: distribute 0.7.3
Downloading https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a
Processing distribute-0.7.3.zip
Writing /tmp/easy_install-tVpqql/distribute-0.7.3/setup.cfg
Running distribute-0.7.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-tVpqql/distribute-0.7.3/egg-dist-tmp-TWNgoa
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
  warnings.warn(msg)
Traceback (most recent call last):
  File "setup.py", line 37, in <module>
    'gerrit = gerrit_cli.cmd.main:main',
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/develop.py", line 27, in run
    self.install_for_development()
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/develop.py", line 129, in install_for_development
    self.process_distribution(None, self.dist, not self.no_deps)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 706, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match
    return self.obtain(req, installer) # try and download/install
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain
    return installer(requirement)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1115, in run_setup
    run_setup(setup_script, args)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/sandbox.py", line 69, in run_setup
    lambda: execfile(
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/sandbox.py", line 120, in run
    return func()
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/sandbox.py", line 71, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 58, in <module>

  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 970, in run_command
    cmd_obj = self.get_command_obj(command)
  File "/usr/lib64/python2.7/distutils/dist.py", line 846, in get_command_obj
    cmd_obj = self.command_obj[command] = klass(self)
  File "/home/dougalmatthews/.virtualenvs/gerrit-cli/lib/python2.7/site-packages/setuptools/__init__.py", line 60, in __init__
    _Command.__init__(self,dist)
  File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__
    raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance

Add a way to filter reviews further

So, the reviews I really care about are those that I have not given a score to (or not reviewed at all). I'd like to try and figure out a nice way to display only them.

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.