{ "id": "170328", "key": "DAEMON-145", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "18407", "description": "", "name": "Appc Daemon 1.0.0", "archived": false, "released": true, "releaseDate": "2017-12-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-17T16:06:49.000+0000", "created": "2017-11-15T23:39:01.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "18407", "description": "", "name": "Appc Daemon 1.0.0", "archived": false, "released": true, "releaseDate": "2017-12-05" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-12-12T21:24:17.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15059", "name": "appcd-plugin-system-info", "description": "Environment detection" } ], "description": "*Problem Description:*\r\n\r\nWhen we subscribe on {{/system-info/1.x/info}} changes - Appcd should publish the changes if any changes in iOS devices, Android devices, Xcode changes, etc.\r\n\r\n*To Reproduce:*\r\n\r\n# appc appcd exec /system-info/1.x/info/ --subscribe\r\n# Now connect iOS device\r\n\r\n*Actual:*\r\nNo changes\r\n\r\n*Expected:*\r\nReturn system-info with the iOS device\r\n\r\nNote: {{appc appcd exec /system-info/1.x/info/ios/devices --subscribe}} is working fine\r\n", "attachment": [ { "id": "63608", "filename": "appcd_status.txt", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-15T23:39:51.000+0000", "size": 13926, "mimeType": "text/plain" } ], "flagged": false, "summary": "Subscribe on /system-info/1.x/info doesn't work", "creator": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 969, "state": "closed", "name": "2017 Sprint 23 Tooling", "startDate": "2017-11-05T16:36:50.292Z", "endDate": "2017-11-19T16:36:00.000Z", "completeDate": "2017-11-20T18:58:45.002Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "430817", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "I'm unable to reproduce this issue when pointing to a single xcode (i.e I see the output updated everytime), multiple xcodes I do see issues but probably down to the known issue. Tested on Sams machine using appcd@1.0.0-8 and he was unable to reproduce either\r\nMy device info is\r\n{code}\r\n[ { buildVersion: '14G60',\r\n cpuArchitecture: 'arm64',\r\n deviceClass: 'iPhone',\r\n deviceColor: '#e1e4e3',\r\n hardwareModel: 'N61AP',\r\n modelNumber: 'MG4Q2',\r\n name: 'SPAM',\r\n productType: 'iPhone7,2',\r\n productVersion: '10.3.3',\r\n serialNumber: 'F17ND0F9G5MF',\r\n udid: '6c52e362235a16580f69c9cb0b0a5586d55e88fc' } ]\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-16T14:43:24.000+0000", "updated": "2017-11-16T14:43:24.000+0000" }, { "id": "430825", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~eharris] What's the command did you use? ", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-11-16T16:28:48.000+0000", "updated": "2017-11-16T16:28:48.000+0000" }, { "id": "430827", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~kkolipaka] I'm using {{appcd exec /system-info/1.x/info/ --subscribe}}, as well as the below code\r\n\r\n{code}\r\nconst msgpack = require('msgpack-lite');\r\nconst util = require('util');\r\nconst WebSocket = require('ws');\r\n\r\nconst ws = new WebSocket('ws://127.0.0.1:1732', {\r\n\t\theaders: {\r\n\t\t\t'User-Agent': __filename\r\n\t\t}\r\n\t})\r\n\t.on('message', (msg, flags) => {\r\n\t\ttry {\r\n\t\t\tconsole.log(JSON.parse(JSON.stringify(msgpack.decode(msg))).message.ios.devices);\r\n\t\t} catch (e) {\r\n\t\t\t//\r\n\t\t\tconsole.log(msgpack.decode(msg));\r\n\t\t}\r\n\t})\r\n\t.on('close', () => console.log('CLOSED'))\r\n\t.on('open', () => ws.send(JSON.stringify({ version: '1.0', path: '/system-info/1.x/info', id: Date.now(), type: 'subscribe' })));\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-11-16T16:35:14.000+0000", "updated": "2017-11-16T16:35:14.000+0000" }, { "id": "430919", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Subscribing to /system-info now works like a champ.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2017-11-17T16:06:49.000+0000", "updated": "2017-11-17T16:06:49.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }