{"action":"created","issue":{"url":"https://api.github.com/repos/Storj/bridge/issues/299","repository_url":"https://api.github.com/repos/Storj/bridge","labels_url":"https://api.github.com/repos/Storj/bridge/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/Storj/bridge/issues/299/comments","events_url":"https://api.github.com/repos/Storj/bridge/issues/299/events","html_url":"https://github.com/Storj/bridge/issues/299","id":192956641,"number":299,"title":"Payouts script does not exist in bridge any longer","user":{"login":"phutchins","id":1074345,"avatar_url":"https://avatars.githubusercontent.com/u/1074345?v=3","gravatar_id":"","url":"https://api.github.com/users/phutchins","html_url":"https://github.com/phutchins","followers_url":"https://api.github.com/users/phutchins/followers","following_url":"https://api.github.com/users/phutchins/following{/other_user}","gists_url":"https://api.github.com/users/phutchins/gists{/gist_id}","starred_url":"https://api.github.com/users/phutchins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phutchins/subscriptions","organizations_url":"https://api.github.com/users/phutchins/orgs","repos_url":"https://api.github.com/users/phutchins/repos","events_url":"https://api.github.com/users/phutchins/events{/privacy}","received_events_url":"https://api.github.com/users/phutchins/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-01T20:41:04Z","updated_at":"2016-12-01T21:07:04Z","closed_at":"2016-12-01T21:07:04Z","body":"### Package Versions\r\n\r\n```\r\nstorj-bridge@0.11.4 /opt/storj/bridge-payouts\r\n└── (empty)\r\n```\r\n\r\nReplace the values below using the output from `node --version`.\r\n\r\n```\r\nv6.9.1\r\n```\r\n\r\n### Expected Behavior\r\n\r\n```\r\nI would expect for the payouts script to exist and run :).\r\n```\r\n\r\n### Actual Behavior\r\n\r\nPlease describe the program's actual behavior. Please include any stack traces\r\nor log output in the back ticks below.\r\n\r\n```\r\nIt was removed but never added back.\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\nPlease include the steps the reproduce the issue, numbered below. Include as\r\nmuch detail as possible.\r\n\r\n1. Look for the payouts script\r\n2. Realize its not there\r\n3. Get really sad\r\n4. Eat left over pizza\r\n\r\n### Some Details\r\n```\r\nI've been hacking it together from the commit before it was removed but it has diverged too far from master for that to be a feasible stop gap. The config for storage is much different now and is causing problems.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Storj/bridge/issues/comments/264295102","html_url":"https://github.com/Storj/bridge/issues/299#issuecomment-264295102","issue_url":"https://api.github.com/repos/Storj/bridge/issues/299","id":264295102,"user":{"login":"bookchin","id":1188875,"avatar_url":"https://avatars.githubusercontent.com/u/1188875?v=3","gravatar_id":"","url":"https://api.github.com/users/bookchin","html_url":"https://github.com/bookchin","followers_url":"https://api.github.com/users/bookchin/followers","following_url":"https://api.github.com/users/bookchin/following{/other_user}","gists_url":"https://api.github.com/users/bookchin/gists{/gist_id}","starred_url":"https://api.github.com/users/bookchin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bookchin/subscriptions","organizations_url":"https://api.github.com/users/bookchin/orgs","repos_url":"https://api.github.com/users/bookchin/repos","events_url":"https://api.github.com/users/bookchin/events{/privacy}","received_events_url":"https://api.github.com/users/bookchin/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T21:07:04Z","updated_at":"2016-12-01T21:07:04Z","body":"This was discussed before it was removed in https://github.com/Storj/bridge/releases/tag/v1.0.0-rc.2, since it did not belong here (though even if it were it wouldn't work now anyway). It should be trivial to use https://github.com/Storj/bridge/blob/v0.11.3/script/payouts.js and replace the `../lib/storage` import with the `storj-service-storage-models` package in it's place.\r\n\r\nThat script should live in another package that is used to calculate debits and credits and integrates with the billing service. @pgerbes is going to be working on this next."}}
{"actor":{"display_login":"bookchin"}}