{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/2396","repository_url":"https://api.github.com/repos/rust-lang/cargo","labels_url":"https://api.github.com/repos/rust-lang/cargo/issues/2396/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/cargo/issues/2396/comments","events_url":"https://api.github.com/repos/rust-lang/cargo/issues/2396/events","html_url":"https://github.com/rust-lang/cargo/pull/2396","id":134777936,"number":2396,"title":"Network retry issue 1602","user":{"login":"sbeckeriv","id":12170,"avatar_url":"https://avatars.githubusercontent.com/u/12170?v=3","gravatar_id":"","url":"https://api.github.com/users/sbeckeriv","html_url":"https://github.com/sbeckeriv","followers_url":"https://api.github.com/users/sbeckeriv/followers","following_url":"https://api.github.com/users/sbeckeriv/following{/other_user}","gists_url":"https://api.github.com/users/sbeckeriv/gists{/gist_id}","starred_url":"https://api.github.com/users/sbeckeriv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbeckeriv/subscriptions","organizations_url":"https://api.github.com/users/sbeckeriv/orgs","repos_url":"https://api.github.com/users/sbeckeriv/repos","events_url":"https://api.github.com/users/sbeckeriv/events{/privacy}","received_events_url":"https://api.github.com/users/sbeckeriv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"milestone":null,"comments":22,"created_at":"2016-02-19T05:40:20Z","updated_at":"2016-04-06T16:10:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/cargo/pulls/2396","html_url":"https://github.com/rust-lang/cargo/pull/2396","diff_url":"https://github.com/rust-lang/cargo/pull/2396.diff","patch_url":"https://github.com/rust-lang/cargo/pull/2396.patch"},"body":"This resolves #1602 \r\n\r\nAdd in a net.retry value in the config. \r\n\r\nThe default value is 2 which is set per check of the config. I was unsure the best way to do that. I had a thought to put it in util::config like a few other named configs but wondered its usefulness. I do blindly retry all errors still, however, I use shell().say to print the debug of the error. \t\r\n\r\nI am looking for the other network calls. I need to check over the src/cargo/sources for more locations, but I had questions with regards to test. How do I setup a test value in the toml config? I would also like to set the default retry to 0 for test. I updated 4 test tomls to include net.retry=0, however, my .cargo/config is still affecting tests.\r\n\r\n Also I am unsure where the documentation for new config goes. \r\n\r\nThanks\r\nBecker"},"comment":{"url":"https://api.github.com/repos/rust-lang/cargo/issues/comments/206444776","html_url":"https://github.com/rust-lang/cargo/pull/2396#issuecomment-206444776","issue_url":"https://api.github.com/repos/rust-lang/cargo/issues/2396","id":206444776,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T16:10:01Z","updated_at":"2016-04-06T16:10:01Z","body":"Ping @sbeckeriv, any update on this?"}}