{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/supply/issues/9","labels_url":"https://api.github.com/repos/fastlane/supply/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/supply/issues/9/comments","events_url":"https://api.github.com/repos/fastlane/supply/issues/9/events","html_url":"https://github.com/fastlane/supply/pull/9","id":115479194,"number":9,"title":"Download/upload of recent changes (changelogs)","user":{"login":"lurbas","id":5858447,"avatar_url":"https://avatars.githubusercontent.com/u/5858447?v=3","gravatar_id":"","url":"https://api.github.com/users/lurbas","html_url":"https://github.com/lurbas","followers_url":"https://api.github.com/users/lurbas/followers","following_url":"https://api.github.com/users/lurbas/following{/other_user}","gists_url":"https://api.github.com/users/lurbas/gists{/gist_id}","starred_url":"https://api.github.com/users/lurbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lurbas/subscriptions","organizations_url":"https://api.github.com/users/lurbas/orgs","repos_url":"https://api.github.com/users/lurbas/repos","events_url":"https://api.github.com/users/lurbas/events{/privacy}","received_events_url":"https://api.github.com/users/lurbas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-06T10:33:07Z","updated_at":"2015-11-25T10:38:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fastlane/supply/pulls/9","html_url":"https://github.com/fastlane/supply/pull/9","diff_url":"https://github.com/fastlane/supply/pull/9.diff","patch_url":"https://github.com/fastlane/supply/pull/9.patch"},"body":"- Downloading recent changes and storing them in 'changelogs' directory during the 'init' process.\r\n- Uploading changelog from .txt file. Name of the file needs to match apk's code version."},"comment":{"url":"https://api.github.com/repos/fastlane/supply/issues/comments/159566739","html_url":"https://github.com/fastlane/supply/pull/9#issuecomment-159566739","issue_url":"https://api.github.com/repos/fastlane/supply/issues/9","id":159566739,"user":{"login":"lurbas","id":5858447,"avatar_url":"https://avatars.githubusercontent.com/u/5858447?v=3","gravatar_id":"","url":"https://api.github.com/users/lurbas","html_url":"https://github.com/lurbas","followers_url":"https://api.github.com/users/lurbas/followers","following_url":"https://api.github.com/users/lurbas/following{/other_user}","gists_url":"https://api.github.com/users/lurbas/gists{/gist_id}","starred_url":"https://api.github.com/users/lurbas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lurbas/subscriptions","organizations_url":"https://api.github.com/users/lurbas/orgs","repos_url":"https://api.github.com/users/lurbas/repos","events_url":"https://api.github.com/users/lurbas/events{/privacy}","received_events_url":"https://api.github.com/users/lurbas/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T10:38:23Z","updated_at":"2015-11-25T10:38:23Z","body":"I don’t think there are a lot of changes in architecture. I've just added what I've thought was necessary. Let me explain.\r\nDuring the `setup` process I’m getting the list of all apk __version codes__ from store api.\r\nNext, iterating through this list I’m getting specific changelog in all languages.\r\nEverything is saved in .txt files following previous convention:\r\n`metadata/android/{language}/changelogs/{version_code}.txt`\r\nFrom user's perspective, there is a new directory `changelogs` with list of files containg recent changes from the store.\r\nDuring the `supply` process, after successfully uploaded the binary file I’m returning __version code__ of the apk. Then, I’m looking for changelog with the name equal to this new __version code__. If exists, I'm sending request with content from the .txt file.\r\nFrom user's perspective: before executing `supply`, he/she needs to add a new .txt file in `changelogs` directory. Name of the file needs to match with apk __version code__ of the new build."}}