Comments (8)
I have the same problem. It should be added that this is on a local repo with two GitHub remotes, but only one of the two have GitHub Issues activated.
from octogit.
Same issue here. Works as expected after I rm the other remotes.
from octogit.
@isaacs Can I see the full output of git remote -v
. Because I just cloned npm
and npm-www
and they both worked fine.
from octogit.
In npm:
$ git remote -v
5long git://github.com/5long/npm.git (push)
5long git://github.com/5long/npm.git (fetch)
CodeRarity git://github.com/CodeRarity/npm.git (push)
CodeRarity git://github.com/CodeRarity/npm.git (fetch)
DTrejo git://github.com/DTrejo/npm.git (push)
DTrejo git://github.com/DTrejo/npm.git (fetch)
Gozala git://github.com/Gozala/npm.git (push)
Gozala git://github.com/Gozala/npm.git (fetch)
LaggyLuke git://github.com/LaggyLuke/npm.git (push)
LaggyLuke git://github.com/LaggyLuke/npm.git (fetch)
Ribettes git://github.com/Ribettes/npm.git (push)
Ribettes git://github.com/Ribettes/npm.git (fetch)
Sannis git://github.com/Sannis/npm.git (fetch)
Sannis git://github.com/Sannis/npm.git (push)
Zearin git://github.com/Zearin/npm.git (fetch)
Zearin git://github.com/Zearin/npm.git (push)
aaronblohowiak git://github.com/aaronblohowiak/npm.git (fetch)
aaronblohowiak git://github.com/aaronblohowiak/npm.git (push)
aaronj1335 git://github.com/aaronj1335/npm.git (push)
aaronj1335 git://github.com/aaronj1335/npm.git (fetch)
ak git://github.com/alexkwolfe/npm.git (fetch)
ak git://github.com/alexkwolfe/npm.git (push)
alunny git://github.com/alunny/npm.git (fetch)
alunny git://github.com/alunny/npm.git (push)
arlolra git://github.com/arlolra/npm.git (push)
arlolra git://github.com/arlolra/npm.git (fetch)
atomizer git://github.com/atomizer/npm.git (push)
atomizer git://github.com/atomizer/npm.git (fetch)
bartt git://github.com/bartt/npm.git (fetch)
bartt git://github.com/bartt/npm.git (push)
bb [email protected]:isaacs/npm.git (fetch)
bb [email protected]:isaacs/npm.git (push)
beatgammit git://github.com/beatgammit/npm.git (push)
beatgammit git://github.com/beatgammit/npm.git (fetch)
bmeck git://github.com/bmeck/npm.git (fetch)
bmeck git://github.com/bmeck/npm.git (push)
bronson git://github.com/bronson/npm.git (fetch)
bronson git://github.com/bronson/npm.git (push)
buzypi git://github.com/buzypi/npm.git (push)
buzypi git://github.com/buzypi/npm.git (fetch)
cbrunnkvist git://github.com/cbrunnkvist/npm.git (fetch)
cbrunnkvist git://github.com/cbrunnkvist/npm.git (push)
chromakode git://github.com/chromakode/npm.git (push)
chromakode git://github.com/chromakode/npm.git (fetch)
cspotcode git://github.com/cspotcode/npm.git (push)
cspotcode git://github.com/cspotcode/npm.git (fetch)
davepacheco git://github.com/davepacheco/npm.git (fetch)
davepacheco git://github.com/davepacheco/npm.git (push)
davglass git://github.com/davglass/npm.git (push)
davglass git://github.com/davglass/npm.git (fetch)
deanlandolt git://github.com/deanlandolt/npm.git (push)
deanlandolt git://github.com/deanlandolt/npm.git (fetch)
domenic git://github.com/domenic/npm.git (fetch)
domenic git://github.com/domenic/npm.git (push)
donpark git://github.com/donpark/npm.git (fetch)
donpark git://github.com/donpark/npm.git (push)
dtrejo git://github.com/dtrejo/npm.git (push)
dtrejo git://github.com/dtrejo/npm.git (fetch)
dvyjones git://github.com/dvyjones/npm.git (fetch)
dvyjones git://github.com/dvyjones/npm.git (push)
eager git://github.com/eager/npm.git (fetch)
eager git://github.com/eager/npm.git (push)
evnm git://github.com/evnm/npm.git (fetch)
evnm git://github.com/evnm/npm.git (push)
federomero git://github.com/federomero/npm.git (push)
federomero git://github.com/federomero/npm.git (fetch)
felixge git://github.com/felixge/npm.git (push)
felixge git://github.com/felixge/npm.git (fetch)
frank06 git://github.com/frank06/npm.git (fetch)
frank06 git://github.com/frank06/npm.git (push)
gflarity git://github.com/gflarity/npm.git (push)
gflarity git://github.com/gflarity/npm.git (fetch)
gozala git://github.com/gozala/npm.git (push)
gozala git://github.com/gozala/npm.git (fetch)
gradus git://github.com/gradus/npm.git (fetch)
gradus git://github.com/gradus/npm.git (push)
grncdr git://github.com/grncdr/npm.git (push)
grncdr git://github.com/grncdr/npm.git (fetch)
indexzero git://github.com/indexzero/npm.git (fetch)
indexzero git://github.com/indexzero/npm.git (push)
iriscouch git://github.com/iriscouch/npm.git (fetch)
iriscouch git://github.com/iriscouch/npm.git (push)
jensgrunert git://github.com/jensgrunert/npm.git (push)
jensgrunert git://github.com/jensgrunert/npm.git (fetch)
jmcantrell git://github.com/jmcantrell/npm.git (push)
jmcantrell git://github.com/jmcantrell/npm.git (fetch)
joostwim git://github.com/joostwim/npm.git (fetch)
joostwim git://github.com/joostwim/npm.git (push)
kaichen git://github.com/kaichen/npm.git (fetch)
kaichen git://github.com/kaichen/npm.git (push)
kruckenb git://github.com/kruckenb/npm.git (fetch)
kruckenb git://github.com/kruckenb/npm.git (push)
laggyluke git://github.com/laggyluke/npm.git (push)
laggyluke git://github.com/laggyluke/npm.git (fetch)
laurie71 git://github.com/laurie71/npm.git (push)
laurie71 git://github.com/laurie71/npm.git (fetch)
lightwave git://github.com/lightwave/npm.git (fetch)
lightwave git://github.com/lightwave/npm.git (push)
martynsmith git://github.com/martynsmith/npm.git (push)
martynsmith git://github.com/martynsmith/npm.git (fetch)
maxired git://github.com/maxired/npm.git (push)
maxired git://github.com/maxired/npm.git (fetch)
mbrevoort git://github.com/mbrevoort/npm.git (fetch)
mbrevoort git://github.com/mbrevoort/npm.git (push)
mbudde git://github.com/mbudde/npm.git (push)
mbudde git://github.com/mbudde/npm.git (fetch)
mekwall git://github.com/mekwall/npm.git (fetch)
mekwall git://github.com/mekwall/npm.git (push)
mfncooper git://github.com/mfncooper/npm.git (push)
mfncooper git://github.com/mfncooper/npm.git (fetch)
mikeal git://github.com/mikeal/npm.git (push)
mikeal git://github.com/mikeal/npm.git (fetch)
mmalecki git://github.com/mmalecki/npm.git (push)
mmalecki git://github.com/mmalecki/npm.git (fetch)
n [email protected]:npm (push)
n [email protected]:npm (fetch)
olivoil git://github.com/olivoil/npm.git (push)
olivoil git://github.com/olivoil/npm.git (fetch)
origin [email protected]:isaacs/npm.git (fetch)
origin [email protected]:isaacs/npm.git (push)
orlandov git://github.com/orlandov/npm.git (push)
orlandov git://github.com/orlandov/npm.git (fetch)
phowell-cothm-org git://github.com/phowell-cothm-org/npm.git (fetch)
phowell-cothm-org git://github.com/phowell-cothm-org/npm.git (push)
pvorb git://github.com/pvorb/npm.git (fetch)
pvorb git://github.com/pvorb/npm.git (push)
regality git://github.com/regality/npm.git (push)
regality git://github.com/regality/npm.git (fetch)
reid git://github.com/reid/npm.git (push)
reid git://github.com/reid/npm.git (fetch)
rvagg git://github.com/rvagg/npm.git (push)
rvagg git://github.com/rvagg/npm.git (fetch)
shapeshed git://github.com/shapeshed/npm.git (fetch)
shapeshed git://github.com/shapeshed/npm.git (push)
sprocketonline git://github.com/sprocketonline/npm.git (fetch)
sprocketonline git://github.com/sprocketonline/npm.git (push)
ssteinerx git://github.com/ssteinerx/npm.git (fetch)
ssteinerx git://github.com/ssteinerx/npm.git (push)
substack git://github.com/substack/npm.git (push)
substack git://github.com/substack/npm.git (fetch)
teemow git://github.com/teemow/npm.git (push)
teemow git://github.com/teemow/npm.git (fetch)
thejh git://github.com/thejh/npm.git (push)
thejh git://github.com/thejh/npm.git (fetch)
tiemonster git://github.com/tiemonster/npm.git (fetch)
tiemonster git://github.com/tiemonster/npm.git (push)
timoxley git://github.com/timoxley/npm.git (fetch)
timoxley git://github.com/timoxley/npm.git (push)
tmpvar git://github.com/tmpvar/npm.git (push)
tmpvar git://github.com/tmpvar/npm.git (fetch)
tremtn git://github.com/tremtn/npm.git (push)
tremtn git://github.com/tremtn/npm.git (fetch)
trentm git://github.com/trentm/npm.git (fetch)
trentm git://github.com/trentm/npm.git (push)
tylergreen git://github.com/tylergreen/npm.git (push)
tylergreen git://github.com/tylergreen/npm.git (fetch)
v veight:npm (push)
v veight:npm (fetch)
visnup git://github.com/visnup/npm.git (push)
visnup git://github.com/visnup/npm.git (fetch)
welwood08 git://github.com/welwood08/npm.git (push)
welwood08 git://github.com/welwood08/npm.git (fetch)
welwood8 git://github.com/welwood8/npm.git (fetch)
welwood8 git://github.com/welwood8/npm.git (push)
In npm-www:
$ git remote -v
alejandromg git://github.com/alejandromg/npm-www.git (push)
alejandromg git://github.com/alejandromg/npm-www.git (fetch)
arlolra git://github.com/arlolra/npm-www.git (fetch)
arlolra git://github.com/arlolra/npm-www.git (push)
chrisjaure git://github.com/chrisjaure/npm-www.git (push)
chrisjaure git://github.com/chrisjaure/npm-www.git (fetch)
cistov git://github.com/cistov/npm-www.git (fetch)
cistov git://github.com/cistov/npm-www.git (push)
dymonaz git://github.com/dymonaz/npm-www.git (push)
dymonaz git://github.com/dymonaz/npm-www.git (fetch)
milani git://github.com/milani/npm-www.git (fetch)
milani git://github.com/milani/npm-www.git (push)
mintbridge git://github.com/mintbridge/npm-www.git (push)
mintbridge git://github.com/mintbridge/npm-www.git (fetch)
morganrallen git://github.com/morganrallen/npm-www.git (fetch)
morganrallen git://github.com/morganrallen/npm-www.git (push)
origin [email protected]:isaacs/npm-www.git (fetch)
origin [email protected]:isaacs/npm-www.git (push)
saambarati git://github.com/saambarati/npm-www.git (push)
saambarati git://github.com/saambarati/npm-www.git (fetch)
swift git://github.com/theycallmeswift/npm-www.git (push)
swift git://github.com/theycallmeswift/npm-www.git (fetch)
visnup git://github.com/visnup/npm-www.git (push)
visnup git://github.com/visnup/npm-www.git (fetch)
from octogit.
So I know what is causing the issue; the way its currently written; octogit get uses to the remote to identify which repository on Github is looking at; seeing as you have many remotes it picks up the very first one.
In this case being https://github.com/alejandromg/npm-www
seeing its a fork it doesn't have any issues of its own which explains the octogit response.
I will have a fix out by this weekend.
from octogit.
It should look for a remote named origin
. If the origin
remote doesn't have issues enabled, and it is a fork of something else, and direct to the root repo's issues if those are enabled. For example, from one of my node checkouts:
$ git remote -v # many remotes omitted, obviously
AndreasMadsen git://github.com/AndreasMadsen/node (fetch)
AndreasMadsen git://github.com/AndreasMadsen/node (push)
TooTallNate git://github.com/TooTallNate/node (fetch)
TooTallNate git://github.com/TooTallNate/node (push)
bnoordhuis git://github.com/bnoordhuis/node (fetch)
bnoordhuis git://github.com/bnoordhuis/node (push)
origin [email protected]:isaacs/node (fetch)
origin [email protected]:isaacs/node (push)
ry git://github.com/joyent/node (push)
ry git://github.com/joyent/node (fetch)
ry-push [email protected]:joyent/node.git (fetch)
ry-push [email protected]:joyent/node.git (push)
u umcats:testhub/node (push)
u umcats:testhub/node (fetch)
octogit issues
should look at https://github.com/joyent/node/issues, since that's the "main" repository for this project. That is, it's the one that origin is forked from, and the origin remote does not have issues enabled.
from octogit.
@isaacs just released a new version of octogit 0.3.3
which resolves the issue people are seeing here.
It can be install using the following.
pip install --upgrade octogit
I will wait to hear back before I close this issue.
from octogit.
In my node-master checkout:
$ octogit issues
Traceback (most recent call last):
File "/usr/local/bin/octogit", line 8, in <module>
load_entry_point('octogit==0.3.3', 'console_scripts', 'octogit')()
File "/Library/Python/2.7/site-packages/octogit/cli.py", line 120, in begin
url = find_github_remote()
File "/Library/Python/2.7/site-packages/octogit/core.py", line 198, in find_github_remote
name, url, _ = line.split()
ValueError: too many values to unpack
In npm, it works, but is slow and long and terrible.
In my node-v0.8 checkout, it works, but dumps to the terminal for about a full minute. (3773 lines print out.)
In npm-www it performs as advertised. Still fairly slow, but I guess that's just python + http + github.
from octogit.
Related Issues (20)
- assigned issues not properly working HOT 1
- figure out how to distribute from git master in setup.py
- foo
- Add command line gist support
- Bad visualization with "issues" in Ubuntu HOT 8
- Join forces with defunkt's "hub"
- feature: add labels to issues HOT 2
- Can't login, even with correct credentials HOT 1
- Plaintext passwords HOT 7
- This repository has no Github remotes HOT 2
- BDD Testing HOT 2
- write cram tests HOT 9
- refactor parser using docopt
- Crash after login HOT 2
- octogit issues returns a python error. HOT 13
- 2 factor auth HOT 1
- remove hardcoded upstream branch HOT 1
- 422 Response defaults to 'Bad Credentials'
- Remove --use-mirrors from Travis CI tests.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octogit.