{"action":"created","issue":{"url":"https://api.github.com/repos/GNOME/ostree/issues/147","labels_url":"https://api.github.com/repos/GNOME/ostree/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/GNOME/ostree/issues/147/comments","events_url":"https://api.github.com/repos/GNOME/ostree/issues/147/events","html_url":"https://github.com/GNOME/ostree/pull/147","id":109544910,"number":147,"title":"upgrader: Allow overriding the checksum to fetch","user":{"login":"mbarnes","id":56718,"avatar_url":"https://avatars.githubusercontent.com/u/56718?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarnes","html_url":"https://github.com/mbarnes","followers_url":"https://api.github.com/users/mbarnes/followers","following_url":"https://api.github.com/users/mbarnes/following{/other_user}","gists_url":"https://api.github.com/users/mbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnes/subscriptions","organizations_url":"https://api.github.com/users/mbarnes/orgs","repos_url":"https://api.github.com/users/mbarnes/repos","events_url":"https://api.github.com/users/mbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-02T18:21:12Z","updated_at":"2015-10-05T13:45:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GNOME/ostree/pulls/147","html_url":"https://github.com/GNOME/ostree/pull/147","diff_url":"https://github.com/GNOME/ostree/pull/147.diff","patch_url":"https://github.com/GNOME/ostree/pull/147.patch"},"body":"This enhancement to `OstreeSysrootUpgrader` allowed me to use it throughout my demonstration script here: https://github.com/mbarnes/ostree-scripts/blob/master/clunky-rebase\r\n\r\nSetting an override checksum causes `OstreeSysrootUpgrader` to pull a specific commit and reset the origin refspec to it in `ostree_sysroot_upgrader_pull_one_dir()`."},"comment":{"url":"https://api.github.com/repos/GNOME/ostree/issues/comments/145531735","html_url":"https://github.com/GNOME/ostree/pull/147#issuecomment-145531735","issue_url":"https://api.github.com/repos/GNOME/ostree/issues/147","id":145531735,"user":{"login":"mbarnes","id":56718,"avatar_url":"https://avatars.githubusercontent.com/u/56718?v=3","gravatar_id":"","url":"https://api.github.com/users/mbarnes","html_url":"https://github.com/mbarnes","followers_url":"https://api.github.com/users/mbarnes/followers","following_url":"https://api.github.com/users/mbarnes/following{/other_user}","gists_url":"https://api.github.com/users/mbarnes/gists{/gist_id}","starred_url":"https://api.github.com/users/mbarnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbarnes/subscriptions","organizations_url":"https://api.github.com/users/mbarnes/orgs","repos_url":"https://api.github.com/users/mbarnes/repos","events_url":"https://api.github.com/users/mbarnes/events{/privacy}","received_events_url":"https://api.github.com/users/mbarnes/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T13:45:08Z","updated_at":"2015-10-05T13:45:08Z","body":"Do you have a preference for one method over the other?  Certainly we could support both at the `ostree` level.\r\n\r\nFor the `rpm-ostree rebase` enhancement I'm working toward, since my proposed syntax takes a refspec argument (e.g. `rpm-ostree rebase --version=1.2.3 [REFSPEC]`), I though it would be less surprising to stay on that refspec.  At least by default.  We could add an option to make it permanent.\r\n\r\nThis is just my initial thinking, though.  I can be talked out of all of it."}}