{"action":"created","issue":{"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1241","repository_url":"https://api.github.com/repos/postmarketOS/pmbootstrap","labels_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1241/labels{/name}","comments_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1241/comments","events_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1241/events","html_url":"https://github.com/postmarketOS/pmbootstrap/issues/1241","id":298723261,"number":1241,"title":"pmbootstrap zap -m: apkindex parsing only returns most recent package versions, so we never delete old packages when an up-to-date package exists","user":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"labels":[{"id":613960555,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/bug","name":"bug","color":"ee0701","default":true},{"id":651646593,"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/labels/pmbootstrap","name":"pmbootstrap","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"assignees":[{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-20T19:43:09Z","updated_at":"2018-02-20T20:19:45Z","closed_at":null,"author_association":"OWNER","body":"Example:\r\n* Package `hello-world` has version `1-r4`\r\n* build that package\r\n* bump the version to `2-r0`\r\n* build that package again\r\n* Run `pmbootstrap zap -m`\r\n* It goes through the APKINDEX, which only has the `2-r0` package the way we currently parse it, and therefore it assumes that there is no outdated package."},"comment":{"url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/comments/367106100","html_url":"https://github.com/postmarketOS/pmbootstrap/issues/1241#issuecomment-367106100","issue_url":"https://api.github.com/repos/postmarketOS/pmbootstrap/issues/1241","id":367106100,"user":{"login":"ollieparanoid","id":6033024,"avatar_url":"https://avatars1.githubusercontent.com/u/6033024?v=4","gravatar_id":"","url":"https://api.github.com/users/ollieparanoid","html_url":"https://github.com/ollieparanoid","followers_url":"https://api.github.com/users/ollieparanoid/followers","following_url":"https://api.github.com/users/ollieparanoid/following{/other_user}","gists_url":"https://api.github.com/users/ollieparanoid/gists{/gist_id}","starred_url":"https://api.github.com/users/ollieparanoid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ollieparanoid/subscriptions","organizations_url":"https://api.github.com/users/ollieparanoid/orgs","repos_url":"https://api.github.com/users/ollieparanoid/repos","events_url":"https://api.github.com/users/ollieparanoid/events{/privacy}","received_events_url":"https://api.github.com/users/ollieparanoid/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T20:19:45Z","updated_at":"2018-02-20T20:19:45Z","author_association":"OWNER","body":"Oh, you're right:\r\n```\r\n  -m, --mismatch-bins  also delete binary packages that are newer than the\r\n                       corresponding package in aports\r\n```\r\n\r\nThen it's not a bug, but a feature request (which would be very useful for the binary repository, since the space fills up quickly when we don't delete old packages ever)."}}
{"actor":{"display_login":"ollieparanoid"}}