{ "id": "171206", "key": "TIMOB-25817", "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": "2018-02-27T14:52:27.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cb-tooling" ], "versions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" }, { "id": "19957", "description": "", "name": "Release 7.1.0", "archived": false, "released": true, "releaseDate": "2018-03-14" }, { "id": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-30T21:30:49.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\n\r\nWhen creating a new titanium project the default .gitignore file is not copied across to the application folder, this is because the create process filters out files in config.cli.ignoreFiles, which contains .gitignore\r\n\r\nI'm unsure on the best way to fix this, as we have to remove it from the regex in cli.ignoreFiles in the ti config, it might be best to just change the if to\r\n\r\n{{} else if (filename === '.gitignore' || !ignoreFiles.test(filename)) {}}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Run {{appc new -t titanium --name testgitignore --force --id com.foo --no-prompt --classic}}\r\n2. Check the testgitignore folder\r\n\r\nh5.Actual \r\n\r\nNo .gitignore file\r\n\r\nh5.Expected\r\n\r\n.gitignore file should exist", "attachment": [], "flagged": false, "summary": "CLI: gitignore file not copied across on creation of a default project", "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": null, "comment": { "comments": [ { "id": "442816", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "same problem for module creation:\r\n\r\ncopyDir: https://github.com/appcelerator/titanium_mobile/blob/1a2343d1500a47ea5adabe8a52fcc077dd4b5169/cli/lib/creators/module.js#L147\r\n", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-10-21T16:29:32.000+0000", "updated": "2018-10-21T16:29:32.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }