{ "id": "79105", "key": "TIMOB-4975", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-15T18:26:59.000+0000", "created": "2011-08-10T08:33:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "copyright", "tools" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-15T18:26:59.000+0000", "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" } }, "components": [ { "id": "10207", "name": "Tooling" } ], "description": "We need a source code copyright scanner that can do a few sanity checks:\r\n* Warn if a source file doesn't contain our standard copyright headers\r\n** Source files should include at least: (*.java, *.m, *.mm, *.cpp, *.c, *.h, *.xml, *.js, *.py)\r\n** Make sure not to include third party source files, i.e. android/titanium/thirdparty, iphone/Classes/ASIHttpRequest, etc.\r\n* Warn if the year(s) in the copyright don't match the file timestamps\r\n** i.e. if a file was last modified in 2011, it needs to mention 2011 in the copyright header\r\n\r\nThe script should automatically scan all source files in the titanium_mobile repository, but it should also accept a list of files as input to scan specifically.\r\n\r\nHere's an example of our standard copyright header using a Java comment:\r\n{code}\r\n/**\r\n * Appcelerator Titanium Mobile\r\n * Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved.\r\n * Licensed under the terms of the Apache Public License\r\n * Please see the LICENSE included with this distribution for details.\r\n */\r\n{code}\r\n\r\nThis shows copyright years that cover 2009, 2010, and 2011", "attachment": [], "flagged": false, "summary": "Implement a source copyright scanner", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "422073", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress in the past few years. Any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-15T18:26:59.000+0000", "updated": "2017-06-15T18:26:59.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }