{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1502","repository_url":"https://api.github.com/repos/projectatomic/rpm-ostree","labels_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1502/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1502/comments","events_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1502/events","html_url":"https://github.com/projectatomic/rpm-ostree/pull/1502","id":350153307,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MDcyNjky","number":1502,"title":"upgrader: reuse existing rpmdb checkout if available","user":{"login":"jlebon","id":11934099,"node_id":"MDQ6VXNlcjExOTM0MDk5","avatar_url":"https://avatars3.githubusercontent.com/u/11934099?v=4","gravatar_id":"","url":"https://api.github.com/users/jlebon","html_url":"https://github.com/jlebon","followers_url":"https://api.github.com/users/jlebon/followers","following_url":"https://api.github.com/users/jlebon/following{/other_user}","gists_url":"https://api.github.com/users/jlebon/gists{/gist_id}","starred_url":"https://api.github.com/users/jlebon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlebon/subscriptions","organizations_url":"https://api.github.com/users/jlebon/orgs","repos_url":"https://api.github.com/users/jlebon/repos","events_url":"https://api.github.com/users/jlebon/events{/privacy}","received_events_url":"https://api.github.com/users/jlebon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-08-13T19:04:12Z","updated_at":"2018-09-13T23:44:40Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/pulls/1502","html_url":"https://github.com/projectatomic/rpm-ostree/pull/1502","diff_url":"https://github.com/projectatomic/rpm-ostree/pull/1502.diff","patch_url":"https://github.com/projectatomic/rpm-ostree/pull/1502.patch"},"body":"This allows rpm-ostree to avoid checking out the tree to finalize which overlays and overrides are valid. E.g.:\r\n\r\n```\r\n# rpm-ostree install glibc-2.27-30.fc28.x86_64.rpm\r\nerror: Package 'glibc-2.27-30.fc28.x86_64' is already in the base\r\n```\r\n\r\n(Notice no `Checking out ...` message.)\r\n\r\nAlso makes the issue described in #1287 a bit more bearable, i.e. changes purely to the origin don't require a checkout anymore:\r\n\r\n```\r\n# rpm-ostree install tmux --allow-inactive\r\nInactive requests:\r\n  tmux (already provided by tmux-2.7-1.fc28.x86_64)\r\nCopying /etc changes: 19 modified, 0 removed, 53 added\r\nTransaction complete; bootconfig swap: yes; deployment count change: 1\r\nFreed: 1.3 MB (pkgcache branches: 1)\r\nRun \"systemctl reboot\" to start a reboot\r\n```"},"comment":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/comments/421186458","html_url":"https://github.com/projectatomic/rpm-ostree/pull/1502#issuecomment-421186458","issue_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1502","id":421186458,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTE4NjQ1OA==","user":{"login":"cgwalters","id":244096,"node_id":"MDQ6VXNlcjI0NDA5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/244096?v=4","gravatar_id":"","url":"https://api.github.com/users/cgwalters","html_url":"https://github.com/cgwalters","followers_url":"https://api.github.com/users/cgwalters/followers","following_url":"https://api.github.com/users/cgwalters/following{/other_user}","gists_url":"https://api.github.com/users/cgwalters/gists{/gist_id}","starred_url":"https://api.github.com/users/cgwalters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgwalters/subscriptions","organizations_url":"https://api.github.com/users/cgwalters/orgs","repos_url":"https://api.github.com/users/cgwalters/repos","events_url":"https://api.github.com/users/cgwalters/events{/privacy}","received_events_url":"https://api.github.com/users/cgwalters/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T23:44:40Z","updated_at":"2018-09-13T23:44:40Z","author_association":"MEMBER","body":"Hmm.  There are some times where I am intimidated by the tower of complexity we've built up in places.  This is one of those times.\r\n\r\n> The workaround is simple though; one just has to e.g. `upgrade` or `deploy` (thus recreating a good layer) before doing any `install` operations.\r\n\r\nBut basically anyone who has CentOS AH and has layered packages will need to do that...*if* we ship this updated rpm-ostree to them? "}}
{"actor":{"display_login":"cgwalters"}}