{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/code-push/issues/273","repository_url":"https://api.github.com/repos/Microsoft/code-push","labels_url":"https://api.github.com/repos/Microsoft/code-push/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/code-push/issues/273/comments","events_url":"https://api.github.com/repos/Microsoft/code-push/issues/273/events","html_url":"https://github.com/Microsoft/code-push/issues/273","id":163069313,"number":273,"title":"Arbitrary deployment metadata","user":{"login":"chendo","id":2661,"avatar_url":"https://avatars.githubusercontent.com/u/2661?v=3","gravatar_id":"","url":"https://api.github.com/users/chendo","html_url":"https://github.com/chendo","followers_url":"https://api.github.com/users/chendo/followers","following_url":"https://api.github.com/users/chendo/following{/other_user}","gists_url":"https://api.github.com/users/chendo/gists{/gist_id}","starred_url":"https://api.github.com/users/chendo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chendo/subscriptions","organizations_url":"https://api.github.com/users/chendo/orgs","repos_url":"https://api.github.com/users/chendo/repos","events_url":"https://api.github.com/users/chendo/events{/privacy}","received_events_url":"https://api.github.com/users/chendo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-30T02:40:50Z","updated_at":"2016-06-30T02:49:45Z","closed_at":null,"body":"We would like the ability to be able to set arbitrary metadata on a deployment so we can attach a git SHA to the release, so when a user first installs the app, it doesn't perform an unnecessary update."},"comment":{"url":"https://api.github.com/repos/Microsoft/code-push/issues/comments/229546231","html_url":"https://github.com/Microsoft/code-push/issues/273#issuecomment-229546231","issue_url":"https://api.github.com/repos/Microsoft/code-push/issues/273","id":229546231,"user":{"login":"lostintangent","id":116461,"avatar_url":"https://avatars.githubusercontent.com/u/116461?v=3","gravatar_id":"","url":"https://api.github.com/users/lostintangent","html_url":"https://github.com/lostintangent","followers_url":"https://api.github.com/users/lostintangent/followers","following_url":"https://api.github.com/users/lostintangent/following{/other_user}","gists_url":"https://api.github.com/users/lostintangent/gists{/gist_id}","starred_url":"https://api.github.com/users/lostintangent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lostintangent/subscriptions","organizations_url":"https://api.github.com/users/lostintangent/orgs","repos_url":"https://api.github.com/users/lostintangent/repos","events_url":"https://api.github.com/users/lostintangent/events{/privacy}","received_events_url":"https://api.github.com/users/lostintangent/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T02:49:45Z","updated_at":"2016-06-30T02:49:45Z","body":"@chendo This is something we hope to get to soon, since we hear this request pretty frequently.\r\n\r\nThat said, we actually want to solve the unnecessary update problem automatically, without any developer or app intervention. The server already has a hash of each update's contents, so we just need the hash of the binary-bundled content in order to no-op available updates that are equivalent to what the App Store version already included.\r\n\r\nOur Cordova plugin already does this, and our React Native plugin will support this as of React Native 0.29.0 (we needed support from the RN packager), so depending on which platform your app is built on, we hope to help solve this without the need of the custom metadata feature."}}
{"actor":{"display_login":"lostintangent"}}