{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/coverage/issues/125","repository_url":"https://api.github.com/repos/dart-lang/coverage","labels_url":"https://api.github.com/repos/dart-lang/coverage/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/coverage/issues/125/comments","events_url":"https://api.github.com/repos/dart-lang/coverage/issues/125/events","html_url":"https://github.com/dart-lang/coverage/pull/125","id":161901984,"number":125,"title":"Collect packages from packageRoot/.packages in Resolver","user":{"login":"Anrock","id":1689392,"avatar_url":"https://avatars.githubusercontent.com/u/1689392?v=3","gravatar_id":"","url":"https://api.github.com/users/Anrock","html_url":"https://github.com/Anrock","followers_url":"https://api.github.com/users/Anrock/followers","following_url":"https://api.github.com/users/Anrock/following{/other_user}","gists_url":"https://api.github.com/users/Anrock/gists{/gist_id}","starred_url":"https://api.github.com/users/Anrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anrock/subscriptions","organizations_url":"https://api.github.com/users/Anrock/orgs","repos_url":"https://api.github.com/users/Anrock/repos","events_url":"https://api.github.com/users/Anrock/events{/privacy}","received_events_url":"https://api.github.com/users/Anrock/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"cbracken","id":351029,"avatar_url":"https://avatars.githubusercontent.com/u/351029?v=3","gravatar_id":"","url":"https://api.github.com/users/cbracken","html_url":"https://github.com/cbracken","followers_url":"https://api.github.com/users/cbracken/followers","following_url":"https://api.github.com/users/cbracken/following{/other_user}","gists_url":"https://api.github.com/users/cbracken/gists{/gist_id}","starred_url":"https://api.github.com/users/cbracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbracken/subscriptions","organizations_url":"https://api.github.com/users/cbracken/orgs","repos_url":"https://api.github.com/users/cbracken/repos","events_url":"https://api.github.com/users/cbracken/events{/privacy}","received_events_url":"https://api.github.com/users/cbracken/received_events","type":"User","site_admin":false},"assignees":[{"login":"cbracken","id":351029,"avatar_url":"https://avatars.githubusercontent.com/u/351029?v=3","gravatar_id":"","url":"https://api.github.com/users/cbracken","html_url":"https://github.com/cbracken","followers_url":"https://api.github.com/users/cbracken/followers","following_url":"https://api.github.com/users/cbracken/following{/other_user}","gists_url":"https://api.github.com/users/cbracken/gists{/gist_id}","starred_url":"https://api.github.com/users/cbracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbracken/subscriptions","organizations_url":"https://api.github.com/users/cbracken/orgs","repos_url":"https://api.github.com/users/cbracken/repos","events_url":"https://api.github.com/users/cbracken/events{/privacy}","received_events_url":"https://api.github.com/users/cbracken/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-06-23T11:39:49Z","updated_at":"2016-06-24T09:35:01Z","closed_at":"2016-06-24T09:30:47Z","pull_request":{"url":"https://api.github.com/repos/dart-lang/coverage/pulls/125","html_url":"https://github.com/dart-lang/coverage/pull/125","diff_url":"https://github.com/dart-lang/coverage/pull/125.diff","patch_url":"https://github.com/dart-lang/coverage/pull/125.patch"},"body":"Hello.\r\nI'm not sure if this a bug in `coverage` or something wrong in my project, but `format_coverage` can't resolve `package:` uris for my project, passed as package-root, because `Resolver::_packages` aren't initialized if `--package-root` option is given.\r\n\r\nI've made a patch, that makes Resolver parse `<package-root>/.packages` file if `packageRoot` is specified. Now `format_coverage` outputs coverage info for my project.\r\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/coverage/issues/comments/228302131","html_url":"https://github.com/dart-lang/coverage/pull/125#issuecomment-228302131","issue_url":"https://api.github.com/repos/dart-lang/coverage/issues/125","id":228302131,"user":{"login":"cbracken","id":351029,"avatar_url":"https://avatars.githubusercontent.com/u/351029?v=3","gravatar_id":"","url":"https://api.github.com/users/cbracken","html_url":"https://github.com/cbracken","followers_url":"https://api.github.com/users/cbracken/followers","following_url":"https://api.github.com/users/cbracken/following{/other_user}","gists_url":"https://api.github.com/users/cbracken/gists{/gist_id}","starred_url":"https://api.github.com/users/cbracken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbracken/subscriptions","organizations_url":"https://api.github.com/users/cbracken/orgs","repos_url":"https://api.github.com/users/cbracken/repos","events_url":"https://api.github.com/users/cbracken/events{/privacy}","received_events_url":"https://api.github.com/users/cbracken/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T09:35:01Z","updated_at":"2016-06-24T09:35:01Z","body":"No problem! As I say, I'll update the README to make things a bit clearer.\r\n\r\nAs I say, the flag name is pretty confusing. On the plus side, the Dart ecosystem is moving to `.packages` files as the primary means of resolving packages. It's got the advantage of being more flexible and avoids the need for the whole symlink farm pub generates. In that case,  your command-line would be:\r\n```\r\nformat_coverage -l -i coverage.json -o lcov --packages ~/Desktop/my_project/.packages\r\n```\r\n\r\nwhich is a bit less confusingly named."}}
{"actor":{"display_login":"cbracken"}}