Git Product home page Git Product logo

github-cli's People

Contributors

bitprophet avatar dpaleino avatar ghuntley avatar gtzilla avatar jnrowe avatar jsmits avatar norm avatar sc68cal avatar schwa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

github-cli's Issues

Setup.py fails due to missing simplejson

I’ve been unable to install the current tip of master (44cbef245c25a24bfe188cd14a8bd9431730aeea) because it can’t acquire simplejson.

I’m running Mac OS X 10.5.6. Here’s a transcript:

$ sudo python setup.py install
running install
running bdist_egg
running egg_info
writing requirements to src/github_cli.egg-info/requires.txt
writing src/github_cli.egg-info/PKG-INFO
writing top-level names to src/github_cli.egg-info/top_level.txt
writing dependency_links to src/github_cli.egg-info/dependency_links.txt
writing entry points to src/github_cli.egg-info/entry_points.txt
reading manifest file ‘src/github_cli.egg-info/SOURCES.txt’
writing manifest file ‘src/github_cli.egg-info/SOURCES.txt’
installing library code to build/bdist.macosx-10.5-i386/egg
running install_lib
running build_py
creating build/bdist.macosx-10.5-i386/egg
creating build/bdist.macosx-10.5-i386/egg/github
copying build/lib/github/init.py → build/bdist.macosx-10.5-i386/egg/github
copying build/lib/github/issues.py → build/bdist.macosx-10.5-i386/egg/github
copying build/lib/github/utils.py → build/bdist.macosx-10.5-i386/egg/github
byte-compiling build/bdist.macosx-10.5-i386/egg/github/init.py to init.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/github/issues.py to issues.pyc
byte-compiling build/bdist.macosx-10.5-i386/egg/github/utils.py to utils.pyc
creating build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying src/github_cli.egg-info/PKG-INFO → build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying src/github_cli.egg-info/SOURCES.txt → build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying src/github_cli.egg-info/dependency_links.txt → build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying src/github_cli.egg-info/entry_points.txt → build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying src/github_cli.egg-info/requires.txt → build/bdist.macosx-10.5-i386/egg/EGG-INFO
copying src/github_cli.egg-info/top_level.txt → build/bdist.macosx-10.5-i386/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents…
creating ‘dist/github_cli-0.1-py2.5.egg’ and adding ‘build/bdist.macosx-10.5-i386/egg’ to it
removing ‘build/bdist.macosx-10.5-i386/egg’ (and everything under it)
Processing github_cli-0.1-py2.5.egg
Removing /Library/Python/2.5/site-packages/github_cli-0.1-py2.5.egg
Copying github_cli-0.1-py2.5.egg to /Library/Python/2.5/site-packages
github-cli 0.1 is already the active version in easy-install.pth
Installing gh-issues script to /usr/local/bin

Installed /Library/Python/2.5/site-packages/github_cli-0.1-py2.5.egg
Processing dependencies for github-cli==0.1
Searching for simplejson
Reading http://pypi.python.org/simple/simplejson/
Reading http://undefined.org/python/#simplejson
Best match: simplejson 2.0.9
Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.9.tar.gz#md5=af5e67a39ca3408563411d357e6d5e47
Processing simplejson-2.0.9.tar.gz
Running simplejson-2.0.9/setup.py -q bdist_egg —dist-dir /tmp/easy_install-k4sy62/simplejson-2.0.9/egg-dist-tmp-PcHvvD
No eggs found in /tmp/easy_install-k4sy62/simplejson-2.0.9/egg-dist-tmp-PcHvvD (setup script problem?)
error: Could not find required distribution simplejson

write unit tests

at least, write tests that check the available commands, args and options

Feature Request: Ability to add many issues at the same time

Use Case:
In the beginning of the project I usually have many ideas for features that I would like to implement. Also, I organize these tasks according to their labels, but I would like to be able to enter them all on one screen instead of doing it one by one.

I'm open to the format that can be used, but it would be great to have a command called "Braindump", which would allow me to write many issues in 1 list and open them in github.

We could use something like this:
title: Feature Request: Blah blah blah
labels: feature-request new urgent
description:
Some info about the request....

title: Second item
labels: new urgent
description:
Some info about the request....

Items could be separated by 2 blank lines.
What do you think about something like this?

HTTP Error 201: Created (python 2.5 bug)

Getting this message every time a new issue is created. (The issue is still created successfully)

I forked github-cli to see if I could have a look at it, but didn't have much luck. Care to take a look?

I'm assuming that opener.open() throws an exception if it receives anything but a 200 response. I'm not sure if the API has changed or something but successfully creating a new resource (an Issue) returns a 201 Created HTTP status.

Multiline content on the command line

This doesn't seem to work for the -m argument. :

ghi o -m <<EOF
This is the title
This is the body.
This is another line in the body.
EOF

I think it would be nicer to able to do this as opposed to a hard \n on the command line or opening the editor.

ghi doesn't check if issues are enabled

Happend on my fork. I was creating some issues and i they didn't show on the project page, but ghi saw them fine.
I had to enable issues on the admin settings.

It would be nice to have a warning on this.

I dont know is this is a APIv2 problem tough.

cannot install

$ python setup.py install --user
Traceback (most recent call last):
  File "setup.py", line 14, in <module>
    from github.version import get_version
ImportError: No module named version
pazz@megatron:~/projects/github-cli$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 14, in <module>
    from github.version import get_version
ImportError: No module named version

the same error occurs when i do a pip install github-cli.
I'm on ubuntu 11.04.

add support to chain the addition/removal of multiple labels to issues

› ghi label add api security 20
error: label() takes at most 4 arguments (5 given)

› ghi label add api,security 20
error: server problem (HTTP Error 422: Unprocessable Entity)

› ghi label add security 20    
labels for issue #20:
- security

› ghi label add api 20     
labels for issue #20:
- api
- security

Non-ascii encoding

First run for repo with issues with russian chars (например вот так) process error:
error: 'ascii' codec can't encode characters in position 7-17: ordinal not in range(128)

v3 Support

Github Issues really became useful to me with v3 (Milestones, etc.) I would love to see support for listing Milestones, filtering by Milestone, etc. Any chance of this happening in the future?

Error with simple_json package

I am not sure if this is a ghi thing or simple_json thing ( not familiar with the python world ). It appears that ghi is installed correctly, but when the setup script attempts to get simple_json, I receive the following error.

I am OSX 10.5.7 and installing through a cloned repo:

Installed /Library/Python/2.5/site-packages/github_cli-0.2.5.2-py2.5.egg
Processing dependencies for github-cli==0.2.5.2
Searching for simplejson
Reading http://pypi.python.org/simple/simplejson/
Reading http://undefined.org/python/#simplejson
Best match: simplejson 2.0.9
Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.9.tar.gz#md5=af5e67a39ca3408563411d357e6d5e47
Processing simplejson-2.0.9.tar.gz
Running simplejson-2.0.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wZawJb/simplejson-2.0.9/egg-dist-tmp-eeZcvv
No eggs found in /tmp/easy_install-wZawJb/simplejson-2.0.9/egg-dist-tmp-eeZcvv (setup script problem?)
error: Could not find required distribution simplejson

Starting ghi without github configuration present will break terminal

When starting ghi without having had github.user and github.token defined will break the terminal emulation. What happens is that ghi exits silently on tilda 0.9.6 and will leave the terminal unusable (has to be killed). On xterm it will at least display the error message about missing configuration but will also leave the terminal unusable.

Version: 0.3.0 (and 0.2.7)
System: Ubuntu 10.10 (32bit)

HTTP 410: Gone error

I get this error:

$ ghi list
# open issues on prologic/udns
error: server problem (HTTP Error 410: Gone)

Any ideas what's going on here? ghi doesn't seem to have any debugging flags/options?

error: repo not found

I have created the .ghrc file and the setup went fine without error messages. But when I run any of the commands i get “error: repo not found”.

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.