{"action":"created","issue":{"url":"https://api.github.com/repos/RexOps/Rex/issues/546","labels_url":"https://api.github.com/repos/RexOps/Rex/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/RexOps/Rex/issues/546/comments","events_url":"https://api.github.com/repos/RexOps/Rex/issues/546/events","html_url":"https://github.com/RexOps/Rex/pull/546","id":56140896,"number":546,"title":"Ensure update_system always updates package repositories first","user":{"login":"abeverley","id":4589486,"avatar_url":"https://avatars.githubusercontent.com/u/4589486?v=3","gravatar_id":"","url":"https://api.github.com/users/abeverley","html_url":"https://github.com/abeverley","followers_url":"https://api.github.com/users/abeverley/followers","following_url":"https://api.github.com/users/abeverley/following{/other_user}","gists_url":"https://api.github.com/users/abeverley/gists{/gist_id}","starred_url":"https://api.github.com/users/abeverley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abeverley/subscriptions","organizations_url":"https://api.github.com/users/abeverley/orgs","repos_url":"https://api.github.com/users/abeverley/repos","events_url":"https://api.github.com/users/abeverley/events{/privacy}","received_events_url":"https://api.github.com/users/abeverley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"krimdomu","id":388436,"avatar_url":"https://avatars.githubusercontent.com/u/388436?v=3","gravatar_id":"","url":"https://api.github.com/users/krimdomu","html_url":"https://github.com/krimdomu","followers_url":"https://api.github.com/users/krimdomu/followers","following_url":"https://api.github.com/users/krimdomu/following{/other_user}","gists_url":"https://api.github.com/users/krimdomu/gists{/gist_id}","starred_url":"https://api.github.com/users/krimdomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krimdomu/subscriptions","organizations_url":"https://api.github.com/users/krimdomu/orgs","repos_url":"https://api.github.com/users/krimdomu/repos","events_url":"https://api.github.com/users/krimdomu/events{/privacy}","received_events_url":"https://api.github.com/users/krimdomu/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RexOps/Rex/milestones/13","labels_url":"https://api.github.com/repos/RexOps/Rex/milestones/13/labels","id":299513,"number":13,"title":"backlog","description":"These are task that should be done","creator":{"login":"krimdomu","id":388436,"avatar_url":"https://avatars.githubusercontent.com/u/388436?v=3","gravatar_id":"","url":"https://api.github.com/users/krimdomu","html_url":"https://github.com/krimdomu","followers_url":"https://api.github.com/users/krimdomu/followers","following_url":"https://api.github.com/users/krimdomu/following{/other_user}","gists_url":"https://api.github.com/users/krimdomu/gists{/gist_id}","starred_url":"https://api.github.com/users/krimdomu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krimdomu/subscriptions","organizations_url":"https://api.github.com/users/krimdomu/orgs","repos_url":"https://api.github.com/users/krimdomu/repos","events_url":"https://api.github.com/users/krimdomu/events{/privacy}","received_events_url":"https://api.github.com/users/krimdomu/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":1,"state":"open","created_at":"2013-03-30T07:59:54Z","updated_at":"2015-02-03T22:23:20Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-01-31T21:47:56Z","updated_at":"2015-02-04T01:20:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RexOps/Rex/pulls/546","html_url":"https://github.com/RexOps/Rex/pull/546","diff_url":"https://github.com/RexOps/Rex/pull/546.diff","patch_url":"https://github.com/RexOps/Rex/pull/546.patch"},"body":"There is a mixture of behaviours with update_system. With some operating systems it will update the package repository cache first, with others it won't. This patch attempts to make the behaviour consistent, and always update repositories first, given that this is most likely what one would want to do when updating a system.\r\n\r\nDisclaimer: I have only experience with apt, but have attempted to cover all operating systems."},"comment":{"url":"https://api.github.com/repos/RexOps/Rex/issues/comments/72772425","html_url":"https://github.com/RexOps/Rex/pull/546#issuecomment-72772425","issue_url":"https://api.github.com/repos/RexOps/Rex/issues/546","id":72772425,"user":{"login":"ferki","id":3117609,"avatar_url":"https://avatars.githubusercontent.com/u/3117609?v=3","gravatar_id":"","url":"https://api.github.com/users/ferki","html_url":"https://github.com/ferki","followers_url":"https://api.github.com/users/ferki/followers","following_url":"https://api.github.com/users/ferki/following{/other_user}","gists_url":"https://api.github.com/users/ferki/gists{/gist_id}","starred_url":"https://api.github.com/users/ferki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferki/subscriptions","organizations_url":"https://api.github.com/users/ferki/orgs","repos_url":"https://api.github.com/users/ferki/repos","events_url":"https://api.github.com/users/ferki/events{/privacy}","received_events_url":"https://api.github.com/users/ferki/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T01:20:20Z","updated_at":"2015-02-04T01:20:20Z","body":"@senorsmile: thanks for your input on this topic! We always like to hear/read more use cases :+1: Also it looks like we're thinking very similarly about these matters :)"}}