{"action":"created","issue":{"url":"https://api.github.com/repos/sourcecred/sourcecred/issues/1290","repository_url":"https://api.github.com/repos/sourcecred/sourcecred","labels_url":"https://api.github.com/repos/sourcecred/sourcecred/issues/1290/labels{/name}","comments_url":"https://api.github.com/repos/sourcecred/sourcecred/issues/1290/comments","events_url":"https://api.github.com/repos/sourcecred/sourcecred/issues/1290/events","html_url":"https://github.com/sourcecred/sourcecred/pull/1290","id":481176130,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA3NzI2MTE3","number":1290,"title":"docker container","user":{"login":"casperdcl","id":10780059,"node_id":"MDQ6VXNlcjEwNzgwMDU5","avatar_url":"https://avatars0.githubusercontent.com/u/10780059?v=4","gravatar_id":"","url":"https://api.github.com/users/casperdcl","html_url":"https://github.com/casperdcl","followers_url":"https://api.github.com/users/casperdcl/followers","following_url":"https://api.github.com/users/casperdcl/following{/other_user}","gists_url":"https://api.github.com/users/casperdcl/gists{/gist_id}","starred_url":"https://api.github.com/users/casperdcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casperdcl/subscriptions","organizations_url":"https://api.github.com/users/casperdcl/orgs","repos_url":"https://api.github.com/users/casperdcl/repos","events_url":"https://api.github.com/users/casperdcl/events{/privacy}","received_events_url":"https://api.github.com/users/casperdcl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2019-08-15T14:24:39Z","updated_at":"2019-09-19T17:59:13Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/sourcecred/sourcecred/pulls/1290","html_url":"https://github.com/sourcecred/sourcecred/pull/1290","diff_url":"https://github.com/sourcecred/sourcecred/pull/1290.diff","patch_url":"https://github.com/sourcecred/sourcecred/pull/1290.patch"},"body":"Docker container for cross-platform running.\r\n\r\n- [x] add dockerfile\r\n- [x] add docker-compose.yml\r\n- [x] document in README\r\n\r\ne.g.:\r\n\r\n```bash\r\ngit clone https://github.com/casperdcl/sourcecred\r\ncd sourcecred\r\ndocker-compose build\r\nexport SOURCECRED_GITHUB_TOKEN=YOUR_GITHUB_TOKEN\r\ndocker-compose run --rm -p 8080:8080 sourcecred \\\r\n  ipfs/js-ipfs ipfs/go-ipfs --output ipfs/meta-ipfs\r\n```"},"comment":{"url":"https://api.github.com/repos/sourcecred/sourcecred/issues/comments/533242458","html_url":"https://github.com/sourcecred/sourcecred/pull/1290#issuecomment-533242458","issue_url":"https://api.github.com/repos/sourcecred/sourcecred/issues/1290","id":533242458,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMzI0MjQ1OA==","user":{"login":"casperdcl","id":10780059,"node_id":"MDQ6VXNlcjEwNzgwMDU5","avatar_url":"https://avatars0.githubusercontent.com/u/10780059?v=4","gravatar_id":"","url":"https://api.github.com/users/casperdcl","html_url":"https://github.com/casperdcl","followers_url":"https://api.github.com/users/casperdcl/followers","following_url":"https://api.github.com/users/casperdcl/following{/other_user}","gists_url":"https://api.github.com/users/casperdcl/gists{/gist_id}","starred_url":"https://api.github.com/users/casperdcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/casperdcl/subscriptions","organizations_url":"https://api.github.com/users/casperdcl/orgs","repos_url":"https://api.github.com/users/casperdcl/repos","events_url":"https://api.github.com/users/casperdcl/events{/privacy}","received_events_url":"https://api.github.com/users/casperdcl/received_events","type":"User","site_admin":false},"created_at":"2019-09-19T17:59:13Z","updated_at":"2019-09-19T17:59:13Z","author_association":"NONE","body":"ah nice, the only real strong feedback I have is that sourecred could do with a lot more documentation - both in terms of dev/api and also the background just posted above. Do you have a link to the overall equation(s) used in producing the ranking?\r\n\r\nI agree re: metrics determining \"value\" of contributions, but wouldn't discard commits & loc. Of course using triage *as well* would be better, but it's silly to completely discard any available information. I would use a different approach to counting commits & loc (taking into account code churn, time between commits, surviving lines, etc) with some sort of weighted sum - this is included in the [`--cost` parameter of `git-fame`](https://github.com/casperdcl/git-fame#documentation) (I haven't exposed the default weights yet), particularly powerful when combined with `-wMC`.\r\n\r\nYou may want to take a look at how libraries.io has and will approach ranking of entire libraries (e.g. https://github.com/librariesio/libraries.io/issues/1916) and consider using similar methods for ranking users."}}
{"actor":{"display_login":"casperdcl"}}