{"action":"created","issue":{"url":"https://api.github.com/repos/freebsd/pkg/issues/1408","repository_url":"https://api.github.com/repos/freebsd/pkg","labels_url":"https://api.github.com/repos/freebsd/pkg/issues/1408/labels{/name}","comments_url":"https://api.github.com/repos/freebsd/pkg/issues/1408/comments","events_url":"https://api.github.com/repos/freebsd/pkg/issues/1408/events","html_url":"https://github.com/freebsd/pkg/pull/1408","id":144287874,"number":1408,"title":"libpkg/pkg_jobs.c: fix `fetch -a` nullpointer","user":{"login":"xmj","id":3481713,"avatar_url":"https://avatars.githubusercontent.com/u/3481713?v=3","gravatar_id":"","url":"https://api.github.com/users/xmj","html_url":"https://github.com/xmj","followers_url":"https://api.github.com/users/xmj/followers","following_url":"https://api.github.com/users/xmj/following{/other_user}","gists_url":"https://api.github.com/users/xmj/gists{/gist_id}","starred_url":"https://api.github.com/users/xmj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmj/subscriptions","organizations_url":"https://api.github.com/users/xmj/orgs","repos_url":"https://api.github.com/users/xmj/repos","events_url":"https://api.github.com/users/xmj/events{/privacy}","received_events_url":"https://api.github.com/users/xmj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"brd","id":1096842,"avatar_url":"https://avatars.githubusercontent.com/u/1096842?v=3","gravatar_id":"","url":"https://api.github.com/users/brd","html_url":"https://github.com/brd","followers_url":"https://api.github.com/users/brd/followers","following_url":"https://api.github.com/users/brd/following{/other_user}","gists_url":"https://api.github.com/users/brd/gists{/gist_id}","starred_url":"https://api.github.com/users/brd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brd/subscriptions","organizations_url":"https://api.github.com/users/brd/orgs","repos_url":"https://api.github.com/users/brd/repos","events_url":"https://api.github.com/users/brd/events{/privacy}","received_events_url":"https://api.github.com/users/brd/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-29T14:47:20Z","updated_at":"2016-03-29T22:34:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/freebsd/pkg/pulls/1408","html_url":"https://github.com/freebsd/pkg/pull/1408","diff_url":"https://github.com/freebsd/pkg/pull/1408.diff","patch_url":"https://github.com/freebsd/pkg/pull/1408.patch"},"body":"* `pkg fetch -r <repo> -a` does not contain a pattern\r\n* this makes strcmp fail with a nullponter exception\r\n* instead, check if m == MATCH-ALL and if so, call with 0."},"comment":{"url":"https://api.github.com/repos/freebsd/pkg/issues/comments/203140255","html_url":"https://github.com/freebsd/pkg/pull/1408#issuecomment-203140255","issue_url":"https://api.github.com/repos/freebsd/pkg/issues/1408","id":203140255,"user":{"login":"bapt","id":103607,"avatar_url":"https://avatars.githubusercontent.com/u/103607?v=3","gravatar_id":"","url":"https://api.github.com/users/bapt","html_url":"https://github.com/bapt","followers_url":"https://api.github.com/users/bapt/followers","following_url":"https://api.github.com/users/bapt/following{/other_user}","gists_url":"https://api.github.com/users/bapt/gists{/gist_id}","starred_url":"https://api.github.com/users/bapt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bapt/subscriptions","organizations_url":"https://api.github.com/users/bapt/orgs","repos_url":"https://api.github.com/users/bapt/repos","events_url":"https://api.github.com/users/bapt/events{/privacy}","received_events_url":"https://api.github.com/users/bapt/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T22:34:22Z","updated_at":"2016-03-29T22:34:22Z","body":"I will fix it another way as the query as been already made before so we are sure we are looping on things we are looking for. Therefore only deciding on the \"with_version\" is needed"}}