Git Product home page Git Product logo

org-commits's People

Contributors

frontweb avatar redonkulus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ruoat frontweb lmz

org-commits's Issues

org-commits barfs on fuchsia-mirror?

org-commits -a $TOKEN -o fuchsia-mirror -d "6 months"
(node:1800) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): {"message":"Git Repository is empty.","documentation_url":"https://developer.github.com/v3"}
(node:1800) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Not really sure why.

org-commits -a $TOKEN -o flutter -d "6 months" for example works just fine.

This is far from critical, just thought you might like to know.

`org-commits` without args could consider printing help

This is not important. :) Just thought you'd like to know.

% org-commits
/usr/local/lib/node_modules/org-commits/node_modules/github/lib/index.js:359
                throw new Error("OAuth2 authentication requires a token or key & secret to be set");
                ^

Error: OAuth2 authentication requires a token or key & secret to be set
    at module.exports.__dirname.authenticate (/usr/local/lib/node_modules/org-commits/node_modules/github/lib/index.js:359:23)
    at OrgCommits.setupGithub (/usr/local/lib/node_modules/org-commits/dist/org-commits.js:119:25)
    at new OrgCommits (/usr/local/lib/node_modules/org-commits/dist/org-commits.js:77:14)
    at Object.<anonymous> (/usr/local/lib/node_modules/org-commits/bin/org-commits.js:19:18)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)

It also does the same for any unknown arguments it seems? e.g.

%org-commits --version
/usr/local/lib/node_modules/org-commits/node_modules/github/lib/index.js:359
                throw new Error("OAuth2 authentication requires a token or key & secret to be set");
                ^

Error: OAuth2 authentication requires a token or key & secret to be set
    at module.exports.__dirname.authenticate (/usr/local/lib/node_modules/org-commits/node_modules/github/lib/index.js:359:23)
    at OrgCommits.setupGithub (/usr/local/lib/node_modules/org-commits/dist/org-commits.js:119:25)
    at new OrgCommits (/usr/local/lib/node_modules/org-commits/dist/org-commits.js:77:14)
    at Object.<anonymous> (/usr/local/lib/node_modules/org-commits/bin/org-commits.js:19:18)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)

This is the newly released 1.2.1 FYI.

Is this still believed to work? :)

% org-commits -a $ACCESS_TOKEN -o flutter -d "1 month"
(node:74997) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: No repos found for flutter
(node:74997) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I generated the token from:
https://github.com/settings/tokens
initially with no permissions, then regenerated with the "read public repositories permission", didn't seem to change anything.

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.