{"action":"created","issue":{"url":"https://api.github.com/repos/turrisjs/generator-turris/issues/6","labels_url":"https://api.github.com/repos/turrisjs/generator-turris/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/turrisjs/generator-turris/issues/6/comments","events_url":"https://api.github.com/repos/turrisjs/generator-turris/issues/6/events","html_url":"https://github.com/turrisjs/generator-turris/pull/6","id":87843419,"number":6,"title":"Support insertion of arbitrary license text in generated components a…","user":{"login":"cmelion","id":752719,"avatar_url":"https://avatars.githubusercontent.com/u/752719?v=3","gravatar_id":"","url":"https://api.github.com/users/cmelion","html_url":"https://github.com/cmelion","followers_url":"https://api.github.com/users/cmelion/followers","following_url":"https://api.github.com/users/cmelion/following{/other_user}","gists_url":"https://api.github.com/users/cmelion/gists{/gist_id}","starred_url":"https://api.github.com/users/cmelion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmelion/subscriptions","organizations_url":"https://api.github.com/users/cmelion/orgs","repos_url":"https://api.github.com/users/cmelion/repos","events_url":"https://api.github.com/users/cmelion/events{/privacy}","received_events_url":"https://api.github.com/users/cmelion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T20:37:18Z","updated_at":"2015-06-13T13:33:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/turrisjs/generator-turris/pulls/6","html_url":"https://github.com/turrisjs/generator-turris/pull/6","diff_url":"https://github.com/turrisjs/generator-turris/pull/6.diff","patch_url":"https://github.com/turrisjs/generator-turris/pull/6.patch"},"body":"…nd pages."},"comment":{"url":"https://api.github.com/repos/turrisjs/generator-turris/issues/comments/111710684","html_url":"https://github.com/turrisjs/generator-turris/pull/6#issuecomment-111710684","issue_url":"https://api.github.com/repos/turrisjs/generator-turris/issues/6","id":111710684,"user":{"login":"yamalight","id":365944,"avatar_url":"https://avatars.githubusercontent.com/u/365944?v=3","gravatar_id":"","url":"https://api.github.com/users/yamalight","html_url":"https://github.com/yamalight","followers_url":"https://api.github.com/users/yamalight/followers","following_url":"https://api.github.com/users/yamalight/following{/other_user}","gists_url":"https://api.github.com/users/yamalight/gists{/gist_id}","starred_url":"https://api.github.com/users/yamalight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamalight/subscriptions","organizations_url":"https://api.github.com/users/yamalight/orgs","repos_url":"https://api.github.com/users/yamalight/repos","events_url":"https://api.github.com/users/yamalight/events{/privacy}","received_events_url":"https://api.github.com/users/yamalight/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T13:33:53Z","updated_at":"2015-06-13T13:33:53Z","body":"But editing file after generation wouldn't change the headers everywhere, right? Or am I missing the point here?\r\n\r\nIMO, to give the most flexibility, I'd say it'd best to ask user during generation:\r\n1. If he wants to have file headers (I usually prefer not to)\r\n2. If he wants to have a typical license (give a choice of several most popular ones, e.g. MIT, GPL, etc) or whether he wants to have the license replace with his own (then he has to provide full file path to his text)"}}