Code Monkey home page Code Monkey logo

ghch's Issues

Minimum git version should be documented

Very minor issue, but I thought I'd mention it anyway.
Older versions of git (for example v1.8.3.1) don't support the -C option:

Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

Would be nice to include what minimum version of git is required somewhere in the documentation

Add the installation guide with aqua to the document

Hi, thank you for your great project!

We suggest to add the installation guide with aqua to the document.
aqua is a declarative CLI Version Manager.
You can install this tool with aqua.

aqua init # Create aqua.yaml
aqua g -i Songmu/ghch # Add this tool to aqua.yaml
aqua i # Install tools

For the detail of aqua, please see the official document.

We expect you can just copy and paste the following guide to your document.


Install with aqua

You can install this tool with aqua.

aqua g -i Songmu/ghch # Add Songmu/ghch to aqua.yaml

Thank you.

This issue was created automatically by script. For the detail, please see here.

socket: too many open filesエラーになる

Github Enterprise Cloudを利用している環境です。
tokenの部分はトリミングして表記していますが実行時には正式なものを指定しました。

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G95

$ go version
go version go1.13.7 darwin/amd64

$ ghch --token a6b48d88...
Get https://api.github.com/repos/org_name/repository_name/pulls/656: dial tcp 18.179.245.253:443: socket: too many open files
Get https://api.github.com/repos/org_name/repository_name/pulls/249: dial tcp 18.179.245.253:443: socket: too many open files
Get https://api.github.com/repos/org_name/repository_name/pulls/647: dial tcp 18.179.245.253:443: socket: too many open files

中略
途中からエラーの内容が変わりました

Get https://api.github.com/repos/org_name/repository_name/pulls/1309: tls: short read from Rand: open /dev/urandom: too many open files
Get https://api.github.com/repos/org_name/repository_name/pulls/227: x509: certificate signed by unknown authority
Get https://api.github.com/repos/org_name/repository_name/pulls/290: x509: certificate signed by unknown authority

複数回試したところ下記のようなエラーも起きていました。

$ ghch --token a6b48d88...
Get https://api.github.com/repos/org_name/repository_name/pulls/57: dial tcp: lookup api.github.com: no such host
Get https://api.github.com/repos/org_name/repository_name/pulls/681: dial tcp 18.179.245.253:443: socket: too many open files
Get https://api.github.com/repos/org_name/repository_name/pulls/206: dial tcp: lookup api.github.com: no such host

一応GITHUB_TOKEN環境変数を設定する方式、--token=を使うなどのパターンも試しましたが結果は変わりませんでした。

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.