{"action":"created","issue":{"url":"https://api.github.com/repos/koreader/koreader/issues/4620","repository_url":"https://api.github.com/repos/koreader/koreader","labels_url":"https://api.github.com/repos/koreader/koreader/issues/4620/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader/issues/4620/comments","events_url":"https://api.github.com/repos/koreader/koreader/issues/4620/events","html_url":"https://github.com/koreader/koreader/pull/4620","id":411867843,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU0MjA5MjEw","number":4620,"title":"[feat] Update check","user":{"login":"Frenzie","id":202757,"node_id":"MDQ6VXNlcjIwMjc1Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/202757?v=4","gravatar_id":"","url":"https://api.github.com/users/Frenzie","html_url":"https://github.com/Frenzie","followers_url":"https://api.github.com/users/Frenzie/followers","following_url":"https://api.github.com/users/Frenzie/following{/other_user}","gists_url":"https://api.github.com/users/Frenzie/gists{/gist_id}","starred_url":"https://api.github.com/users/Frenzie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frenzie/subscriptions","organizations_url":"https://api.github.com/users/Frenzie/orgs","repos_url":"https://api.github.com/users/Frenzie/repos","events_url":"https://api.github.com/users/Frenzie/events{/privacy}","received_events_url":"https://api.github.com/users/Frenzie/received_events","type":"User","site_admin":false},"labels":[{"id":897006429,"node_id":"MDU6TGFiZWw4OTcwMDY0Mjk=","url":"https://api.github.com/repos/koreader/koreader/labels/AppImage","name":"AppImage","color":"1fba34","default":false},{"id":33171511,"node_id":"MDU6TGFiZWwzMzE3MTUxMQ==","url":"https://api.github.com/repos/koreader/koreader/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-02-19T11:05:42Z","updated_at":"2019-02-19T19:44:45Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/koreader/koreader/pulls/4620","html_url":"https://github.com/koreader/koreader/pull/4620","diff_url":"https://github.com/koreader/koreader/pull/4620.diff","patch_url":"https://github.com/koreader/koreader/pull/4620.patch"},"body":"The concept is quite simple: stick a file on the OTA server named\r\nsomething like `koreader-appimage-latest-stable` (by analogy with\r\n`koreader-cervantes-latest-stable.zsync`), which contains nothing\r\nbut a filename.\r\n\r\nThe difference with the zsync update is that the link is then launched\r\nin the user's browser (AppImage) or DownloadManager (Android, not yet\r\nimplemented)."},"comment":{"url":"https://api.github.com/repos/koreader/koreader/issues/comments/465281818","html_url":"https://github.com/koreader/koreader/pull/4620#issuecomment-465281818","issue_url":"https://api.github.com/repos/koreader/koreader/issues/4620","id":465281818,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2NTI4MTgxOA==","user":{"login":"pazos","id":975883,"node_id":"MDQ6VXNlcjk3NTg4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/975883?v=4","gravatar_id":"","url":"https://api.github.com/users/pazos","html_url":"https://github.com/pazos","followers_url":"https://api.github.com/users/pazos/followers","following_url":"https://api.github.com/users/pazos/following{/other_user}","gists_url":"https://api.github.com/users/pazos/gists{/gist_id}","starred_url":"https://api.github.com/users/pazos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazos/subscriptions","organizations_url":"https://api.github.com/users/pazos/orgs","repos_url":"https://api.github.com/users/pazos/repos","events_url":"https://api.github.com/users/pazos/events{/privacy}","received_events_url":"https://api.github.com/users/pazos/received_events","type":"User","site_admin":false},"created_at":"2019-02-19T19:44:45Z","updated_at":"2019-02-19T19:44:45Z","author_association":"CONTRIBUTOR","body":"On android there are a few (probably broken) options.\r\n\r\nDownloadManager is available since API9. It will start the download in the background and trigger a nofication (like the one you'll get with aosp browser when you download). The download can be paused, stopped and/or restarted by usual means (ie: using the downloads application on your phone).\r\n\r\nThe limitation of this method is that we can't easily provide feedback on koreader activity and even when the application is downloaded we can't trigger an installation without the user doing a few clicks.\r\n\r\nThe other limitation is how to test this feature. Mainly two things.\r\n\r\n1. Do not download more than once the same version of the apk.\r\n2. Testing will require that installed app and updated one are signed with the same keys."}}
{"actor":{"display_login":"pazos"}}