redonkulus / org-commits Goto Github PK
View Code? Open in Web Editor NEWCollect and display GitHub commit messages or PR's across repositories of an organization.
License: MIT License
Collect and display GitHub commit messages or PR's across repositories of an organization.
License: MIT License
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.
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.
Optimist is deprecated, migrate to https://github.com/yargs/yargs
% 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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.