{ "id": "149344", "key": "TIMOB-19134", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-07-01T17:24:59.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cb-tooling", "qe-4.1.0" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [ { "id": "56636", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "171830", "key": "CLI-1318", "fields": { "summary": "[Windows] 'Appc info' returns an incorrect windows architecture ", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-30T10:48:03.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\nThe architecture reported in the information banner on build is for the architecture of Node rather than the OS architecture.\r\nFor example if I run 32-bit Node on 64-bit Windows then the following is reported \r\n{code} Operating System \r\nName = Microsoft Windows 8.1 Enterprise N \r\nVersion = 6.3.9600 \r\nArchitecture = 32bit \r\n# CPUs = 2 \r\n# Memory = 3756511232\r\n{code} \r\n\r\n[This is a Node issue|https://github.com/joyent/node/issues/2862]\r\n\r\nh5.Steps To Reproduce \r\n\r\n1. On a 64-bit Windows machine install 32-bit Node \r\n2. Run an build comand to show the banner {{appc run -p android -T device --build-only}} \r\n\r\nh5.Actual Result \r\n\r\n32-bit is shown as the architecture \r\n\r\nh5.Expected Result \r\n\r\n64-bit should be shown", "attachment": [], "flagged": false, "summary": "CLI: The reported architecture in the information banner is for the node process rather than the OS architecture", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1, Mac OSX 10.10.4 \r\nAppc CLI (Registry): 4.1.0-4, 4.0.2", "comment": { "comments": [ { "id": "439084", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~cbarber] Do you think it's worth bringing the [arch function from appcd-utils|https://github.com/appcelerator/appc-daemon/blob/42198d967bf2792d93bfcee8f1ef4bcacaad8969/packages/appcd-util/src/util.js#L29-L49] in to this (even it's a ES5 rewrite into node-appc/node-titanium-sdk), or should we close as wont fix/not our bug?", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-07-10T12:57:58.000+0000", "updated": "2018-07-10T12:57:58.000+0000" }, { "id": "439106", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I'm not sure what prints the \"banner\" in the description.\r\n\r\nBeing that the system info in the daemon is correct, I'm not sure it's worth addressing in the current CLI's.\r\n\r\nFurthermore, getting the system architecture is not cheap. We have to spawn a process on Linux.\r\n\r\nSo, I vote to not fix this in the current tooling and we'll expose the correct value from the daemon in the next Titanium CLI.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-07-10T21:56:02.000+0000", "updated": "2018-07-10T21:56:02.000+0000" }, { "id": "439122", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "It comes from, [here in the build|https://github.com/appcelerator/titanium_mobile/blob/1321070126d9fa09cdb1bab2ef92573fe7aab0b7/cli/commands/build.js#L442], which uses [this function in node-appc|https://github.com/appcelerator/node-appc/blob/5e92ca0768343d74ef39d439a568ac38db58a9e8/lib/environ.js#L223], I do see value in fixing this in current CLIs as it would potentially improve analytics data we have on what architectures people are using, maybe we could ignore linux (I doubt maybe people are running 32-bit on 64-bit systems there), I just want to try fix the situation where we're reporting all Studio users as 32-bit as that's what Studio installs", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-07-11T14:05:38.000+0000", "updated": "2018-07-11T14:05:38.000+0000" }, { "id": "439123", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Then go for it.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-07-11T14:48:26.000+0000", "updated": "2018-07-11T14:48:26.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }