{"action":"created","issue":{"url":"https://api.github.com/repos/dreamyguy/gitlogg/issues/9","repository_url":"https://api.github.com/repos/dreamyguy/gitlogg","labels_url":"https://api.github.com/repos/dreamyguy/gitlogg/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/dreamyguy/gitlogg/issues/9/comments","events_url":"https://api.github.com/repos/dreamyguy/gitlogg/issues/9/events","html_url":"https://github.com/dreamyguy/gitlogg/pull/9","id":190511053,"number":9,"title":"Enable easy installation via NPM","user":{"login":"cspotcode","id":376504,"avatar_url":"https://avatars.githubusercontent.com/u/376504?v=3","gravatar_id":"","url":"https://api.github.com/users/cspotcode","html_url":"https://github.com/cspotcode","followers_url":"https://api.github.com/users/cspotcode/followers","following_url":"https://api.github.com/users/cspotcode/following{/other_user}","gists_url":"https://api.github.com/users/cspotcode/gists{/gist_id}","starred_url":"https://api.github.com/users/cspotcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cspotcode/subscriptions","organizations_url":"https://api.github.com/users/cspotcode/orgs","repos_url":"https://api.github.com/users/cspotcode/repos","events_url":"https://api.github.com/users/cspotcode/events{/privacy}","received_events_url":"https://api.github.com/users/cspotcode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-19T18:11:43Z","updated_at":"2016-12-03T19:31:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dreamyguy/gitlogg/pulls/9","html_url":"https://github.com/dreamyguy/gitlogg/pull/9","diff_url":"https://github.com/dreamyguy/gitlogg/pull/9.diff","patch_url":"https://github.com/dreamyguy/gitlogg/pull/9.patch"},"body":"It would be great if we could install gitlogg via npm.\r\n\r\n```\r\n$ npm install -g gitlogg\r\n$ gitlogg ./myrepos/*/\r\n```\r\n\r\nSo a wrote a PR for that.  You can test the PR like so:\r\n\r\n```\r\n$ npm install -g @cspotcode/gitlogg\r\n```\r\n(I'll unpublish that scoped package if you decide to merge this PR)\r\n\r\n...but ideally you could publish gitlogg to npm so it would be as simple as `npm install gitlogg`.\r\n\r\nThe interface has changed slightly.  Instead of a hardcoded `$yourpath` variable, you now pass each repository as an argument.  This means `gitlogg ./myrepos/*/` will still look at every repository in a directory.\r\n\r\n`npm run prepublish` precompiles the `.js` with babel.  Since this might be annoying to remember during development, setting the `GITLOGG_DEV` environment variable will trigger the old behavior: babel will be invoked at runtime.\r\n\r\nEDIT: Installing directly from github wasn't working so I published to npm `@cspotcode/gitlogg`"},"comment":{"url":"https://api.github.com/repos/dreamyguy/gitlogg/issues/comments/264660197","html_url":"https://github.com/dreamyguy/gitlogg/pull/9#issuecomment-264660197","issue_url":"https://api.github.com/repos/dreamyguy/gitlogg/issues/9","id":264660197,"user":{"login":"dreamyguy","id":1021849,"avatar_url":"https://avatars.githubusercontent.com/u/1021849?v=3","gravatar_id":"","url":"https://api.github.com/users/dreamyguy","html_url":"https://github.com/dreamyguy","followers_url":"https://api.github.com/users/dreamyguy/followers","following_url":"https://api.github.com/users/dreamyguy/following{/other_user}","gists_url":"https://api.github.com/users/dreamyguy/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamyguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamyguy/subscriptions","organizations_url":"https://api.github.com/users/dreamyguy/orgs","repos_url":"https://api.github.com/users/dreamyguy/repos","events_url":"https://api.github.com/users/dreamyguy/events{/privacy}","received_events_url":"https://api.github.com/users/dreamyguy/received_events","type":"User","site_admin":false},"created_at":"2016-12-03T19:31:36Z","updated_at":"2016-12-03T19:31:36Z","body":"Hi again @cspotcode. I'm testing on a new machine with everything installed from scratch. Testing this was pretty much the first thing I did.\r\n\r\nI got the exact same `try` errors I have already posted on the screenshots, but this time there was only this error besides that:\r\n\r\n```\r\n/Users/123/.nvm/versions/node/v6.9.1/bin/gitlogg: line 10: /Users/123/Sites/gitlogg-generate-log.sh: No such file or directory\r\n```\r\n\r\n...which points to [this line](https://github.com/dreamyguy/gitlogg/blob/a310d5b2599df5450aed8059d8cb085049326239/scripts/gitlogg.sh#L10)."}}
{"actor":{"display_login":"dreamyguy"}}