{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/susi_linux/issues/323","repository_url":"https://api.github.com/repos/fossasia/susi_linux","labels_url":"https://api.github.com/repos/fossasia/susi_linux/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/susi_linux/issues/323/comments","events_url":"https://api.github.com/repos/fossasia/susi_linux/issues/323/events","html_url":"https://github.com/fossasia/susi_linux/issues/323","id":348173583,"node_id":"MDU6SXNzdWUzNDgxNzM1ODM=","number":323,"title":"Reduce OS image size","user":{"login":"hongquan","id":314607,"node_id":"MDQ6VXNlcjMxNDYwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/314607?v=4","gravatar_id":"","url":"https://api.github.com/users/hongquan","html_url":"https://github.com/hongquan","followers_url":"https://api.github.com/users/hongquan/followers","following_url":"https://api.github.com/users/hongquan/following{/other_user}","gists_url":"https://api.github.com/users/hongquan/gists{/gist_id}","starred_url":"https://api.github.com/users/hongquan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongquan/subscriptions","organizations_url":"https://api.github.com/users/hongquan/orgs","repos_url":"https://api.github.com/users/hongquan/repos","events_url":"https://api.github.com/users/hongquan/events{/privacy}","received_events_url":"https://api.github.com/users/hongquan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-07T05:36:03Z","updated_at":"2018-08-20T13:44:42Z","closed_at":null,"author_association":"MEMBER","body":"This issue is to track what we need to do to reduce image size, so that it is suitable for delivery.\r\n\r\nThe strategy is to:\r\n\r\n- Use prebuilt binary of 3rd-party software as much as possible (avoid downloading its source and building on RPi).\r\n- For softwares that the original author doesn't provide a binary, we build them ourselves and host in our repository.\r\n- If the official repo (APT, PyPI) has needed 3rd-party software, but in older version than what we need, we build the newer version ourselves and put to our repo.\r\n- Don't include software in form of Git folder, because it comes with Git database, which is often big.\r\n- Try to avoid NodeJS-based tools and libraries, because the _node\\_modules_ folders are always big, due to _npm_'s way to resolve dependency.\r\n- Must not create image file by copying our SD card, not to include any unnecessary files which are for development and personal use.\r\n- (To be added later)\r\n\r\n\r\nChecklist:\r\n\r\n- [x] Setup PyPI repository to host Python wheel packages.\r\n- [ ] Setup APT repository to host softwares which don't exist in Debian official repo.\r\n- [x] Use Debian package of _flite_.\r\n- [ ] Build Java SUSI server to binary and host on our repo. I'm not sure if this is possible. Need comment from @Orbiter.\r\n- [ ] Deliver our _susi\\_linux_ in release form, not as Git working copy.\r\n- [ ] Customize Raspbian build script to create image file, including our stuff.\r\n- (To be added later)"},"comment":{"url":"https://api.github.com/repos/fossasia/susi_linux/issues/comments/414321316","html_url":"https://github.com/fossasia/susi_linux/issues/323#issuecomment-414321316","issue_url":"https://api.github.com/repos/fossasia/susi_linux/issues/323","id":414321316,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDMyMTMxNg==","user":{"login":"hongquan","id":314607,"node_id":"MDQ6VXNlcjMxNDYwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/314607?v=4","gravatar_id":"","url":"https://api.github.com/users/hongquan","html_url":"https://github.com/hongquan","followers_url":"https://api.github.com/users/hongquan/followers","following_url":"https://api.github.com/users/hongquan/following{/other_user}","gists_url":"https://api.github.com/users/hongquan/gists{/gist_id}","starred_url":"https://api.github.com/users/hongquan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongquan/subscriptions","organizations_url":"https://api.github.com/users/hongquan/orgs","repos_url":"https://api.github.com/users/hongquan/repos","events_url":"https://api.github.com/users/hongquan/events{/privacy}","received_events_url":"https://api.github.com/users/hongquan/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T13:44:42Z","updated_at":"2018-08-20T13:44:42Z","author_association":"MEMBER","body":"We include *susi_server*, which needs to download _gradle-4.2.1_ to build itself. The _gradle_ contributes around 160MB."}}
{"actor":{"display_login":"hongquan"}}