{"action":"created","issue":{"url":"https://api.github.com/repos/gaborcsardi/httrmock/issues/5","repository_url":"https://api.github.com/repos/gaborcsardi/httrmock","labels_url":"https://api.github.com/repos/gaborcsardi/httrmock/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/gaborcsardi/httrmock/issues/5/comments","events_url":"https://api.github.com/repos/gaborcsardi/httrmock/issues/5/events","html_url":"https://github.com/gaborcsardi/httrmock/issues/5","id":195025261,"number":5,"title":"Development workflow re: recording and replaying","user":{"login":"jennybc","id":599454,"avatar_url":"https://avatars.githubusercontent.com/u/599454?v=3","gravatar_id":"","url":"https://api.github.com/users/jennybc","html_url":"https://github.com/jennybc","followers_url":"https://api.github.com/users/jennybc/followers","following_url":"https://api.github.com/users/jennybc/following{/other_user}","gists_url":"https://api.github.com/users/jennybc/gists{/gist_id}","starred_url":"https://api.github.com/users/jennybc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jennybc/subscriptions","organizations_url":"https://api.github.com/users/jennybc/orgs","repos_url":"https://api.github.com/users/jennybc/repos","events_url":"https://api.github.com/users/jennybc/events{/privacy}","received_events_url":"https://api.github.com/users/jennybc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-12T16:50:03Z","updated_at":"2016-12-12T17:02:19Z","closed_at":null,"body":"Creating a home for a discussion started on a gh PR (https://github.com/r-pkgs/gh/pull/51#issuecomment-266062366).\r\n\r\nI believe the main conclusion was to implement control via an environment variable:\r\n\r\n> Agreed. How about controlling the behavior via environment variables? Then we could have a default behavior, for the user, and developers could change it via a simple command that would just get/set an environment variable?\r\n\r\nFrom my early bit of usage, I think it's not desirable to automatically start recording and replaying upon every instance of `devtools::load_all()`. I think I expect default state during development to be neither recording nor replaying. And I would expect to do something very deliberate to toggle the recording/replaying state, beyond a reflexive `load_all()`.\r\n\r\nRelated: should there be a message whenever something gets replayed?"},"comment":{"url":"https://api.github.com/repos/gaborcsardi/httrmock/issues/comments/266487276","html_url":"https://github.com/gaborcsardi/httrmock/issues/5#issuecomment-266487276","issue_url":"https://api.github.com/repos/gaborcsardi/httrmock/issues/5","id":266487276,"user":{"login":"gaborcsardi","id":660288,"avatar_url":"https://avatars.githubusercontent.com/u/660288?v=3","gravatar_id":"","url":"https://api.github.com/users/gaborcsardi","html_url":"https://github.com/gaborcsardi","followers_url":"https://api.github.com/users/gaborcsardi/followers","following_url":"https://api.github.com/users/gaborcsardi/following{/other_user}","gists_url":"https://api.github.com/users/gaborcsardi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborcsardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborcsardi/subscriptions","organizations_url":"https://api.github.com/users/gaborcsardi/orgs","repos_url":"https://api.github.com/users/gaborcsardi/repos","events_url":"https://api.github.com/users/gaborcsardi/events{/privacy}","received_events_url":"https://api.github.com/users/gaborcsardi/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T17:02:19Z","updated_at":"2016-12-12T17:02:19Z","body":"OK, I removed the start of recording and replaying in `helper.R`: https://github.com/r-pkgs/gh/commit/b6cac6dac5a11333e8c3e15558bfc61a1c711c92\r\n\r\n"}}
{"actor":{"display_login":"gaborcsardi"}}