{"action":"created","issue":{"url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/issues/39","repository_url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon","labels_url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/issues/39/comments","events_url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/issues/39/events","html_url":"https://github.com/AnsibleShipyard/ansible-marathon/pull/39","id":190729300,"number":39,"title":"Update cache after adding the repository, not before installing the package","user":{"login":"veger","id":171827,"avatar_url":"https://avatars.githubusercontent.com/u/171827?v=3","gravatar_id":"","url":"https://api.github.com/users/veger","html_url":"https://github.com/veger","followers_url":"https://api.github.com/users/veger/followers","following_url":"https://api.github.com/users/veger/following{/other_user}","gists_url":"https://api.github.com/users/veger/gists{/gist_id}","starred_url":"https://api.github.com/users/veger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veger/subscriptions","organizations_url":"https://api.github.com/users/veger/orgs","repos_url":"https://api.github.com/users/veger/repos","events_url":"https://api.github.com/users/veger/events{/privacy}","received_events_url":"https://api.github.com/users/veger/received_events","type":"User","site_admin":false},"labels":[{"id":486499867,"url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/labels/v0.5.4","name":"v0.5.4","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-21T14:19:41Z","updated_at":"2016-11-24T20:19:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/pulls/39","html_url":"https://github.com/AnsibleShipyard/ansible-marathon/pull/39","diff_url":"https://github.com/AnsibleShipyard/ansible-marathon/pull/39.diff","patch_url":"https://github.com/AnsibleShipyard/ansible-marathon/pull/39.patch"},"body":"When the repo is added, a update cache is required to be able install Marathon.\r\n\r\nWhen installing/updating Marathon a cache update is not required, as the OS will keep the cache up-to-date.\r\n\r\nThis prevents  changes when nothing actually changed (not idempotent).\r\n\r\nNote that this PR probably conflicts with PR #38, when either one is merged back, I can update the other if required."},"comment":{"url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/issues/comments/262840243","html_url":"https://github.com/AnsibleShipyard/ansible-marathon/pull/39#issuecomment-262840243","issue_url":"https://api.github.com/repos/AnsibleShipyard/ansible-marathon/issues/39","id":262840243,"user":{"login":"veger","id":171827,"avatar_url":"https://avatars.githubusercontent.com/u/171827?v=3","gravatar_id":"","url":"https://api.github.com/users/veger","html_url":"https://github.com/veger","followers_url":"https://api.github.com/users/veger/followers","following_url":"https://api.github.com/users/veger/following{/other_user}","gists_url":"https://api.github.com/users/veger/gists{/gist_id}","starred_url":"https://api.github.com/users/veger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veger/subscriptions","organizations_url":"https://api.github.com/users/veger/orgs","repos_url":"https://api.github.com/users/veger/repos","events_url":"https://api.github.com/users/veger/events{/privacy}","received_events_url":"https://api.github.com/users/veger/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T20:19:13Z","updated_at":"2016-11-24T20:19:13Z","body":"Might be the same issue.\r\n\r\nWhen looking at the test output, the repo is already available??\r\n\r\nIn such cases the OS much be updating it. So, if the repo is added in the image that is used for the travis build, it is not updated when the build starts (which is not normal/usual OS apt behavior).\r\n\r\nA better test (IMHO) is to use an image where the repo is not yet available, so adding it is part of the test. Or use a test where the OS keeps the repo up-to-date."}}
{"actor":{"display_login":"veger"}}