{"action":"created","comment":{"url":"https://api.github.com/repos/Graylog2/graylog-project/pulls/comments/61035453","id":61035453,"diff_hunk":"@@ -21,8 +21,6 @@ if [ -d $pluginname ]; then\n   err \"There is already a plugin with that name. Cowardly refusing to overwrite it.\"\n fi\n \n-buildConfigFilename=${pluginname}/build.config.js\n-\n mvn archetype:generate -DarchetypeGroupId=org.graylog -DarchetypeArtifactId=graylog-plugin-archetype -DartifactId=$pluginname\n \n-sed 's,\\(../graylog2-server/graylog2-web-interface\\),../\\1/,' < ${buildConfigFilename}.sample > ${buildConfigFilename}\n+echo ${pluginname}/ >> ${prefix}/.gitignore","path":"scripts/bootstrap-plugin","position":18,"original_position":18,"commit_id":"d519e6e1931295d738b35328a3239a9e0995aed4","original_commit_id":"d519e6e1931295d738b35328a3239a9e0995aed4","user":{"login":"bernd","id":461,"avatar_url":"https://avatars.githubusercontent.com/u/461?v=3","gravatar_id":"","url":"https://api.github.com/users/bernd","html_url":"https://github.com/bernd","followers_url":"https://api.github.com/users/bernd/followers","following_url":"https://api.github.com/users/bernd/following{/other_user}","gists_url":"https://api.github.com/users/bernd/gists{/gist_id}","starred_url":"https://api.github.com/users/bernd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernd/subscriptions","organizations_url":"https://api.github.com/users/bernd/orgs","repos_url":"https://api.github.com/users/bernd/repos","events_url":"https://api.github.com/users/bernd/events{/privacy}","received_events_url":"https://api.github.com/users/bernd/received_events","type":"User","site_admin":false},"body":"I would move the cloned repositories into `modules/` or something similar and ignore the whole directory in `.gitignore`. Otherwise there will be modified files in the project. Also, this would add the directory multiple times if a user runs this script more than once.","created_at":"2016-04-26T06:49:25Z","updated_at":"2016-04-26T06:49:25Z","html_url":"https://github.com/Graylog2/graylog-project/pull/1#discussion_r61035453","pull_request_url":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Graylog2/graylog-project/pulls/comments/61035453"},"html":{"href":"https://github.com/Graylog2/graylog-project/pull/1#discussion_r61035453"},"pull_request":{"href":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1","id":67738330,"html_url":"https://github.com/Graylog2/graylog-project/pull/1","diff_url":"https://github.com/Graylog2/graylog-project/pull/1.diff","patch_url":"https://github.com/Graylog2/graylog-project/pull/1.patch","issue_url":"https://api.github.com/repos/Graylog2/graylog-project/issues/1","number":1,"state":"open","locked":false,"title":"Change resulting filesystem structure, moving everything in project dir.","user":{"login":"dennisoelkers","id":41929,"avatar_url":"https://avatars.githubusercontent.com/u/41929?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisoelkers","html_url":"https://github.com/dennisoelkers","followers_url":"https://api.github.com/users/dennisoelkers/followers","following_url":"https://api.github.com/users/dennisoelkers/following{/other_user}","gists_url":"https://api.github.com/users/dennisoelkers/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisoelkers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisoelkers/subscriptions","organizations_url":"https://api.github.com/users/dennisoelkers/orgs","repos_url":"https://api.github.com/users/dennisoelkers/repos","events_url":"https://api.github.com/users/dennisoelkers/events{/privacy}","received_events_url":"https://api.github.com/users/dennisoelkers/received_events","type":"User","site_admin":false},"body":"Instead of having/expecting project/server/plugin repos on the same level in the filesystem hierarchy, this PR is changing it so graylog-project dir contains all of the aforementioned. This makes it a bit less cluttered for developers because everything is under one directory.","created_at":"2016-04-25T15:22:16Z","updated_at":"2016-04-26T06:49:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bad1aca550a9b36e0b515d6c19f233f8bc89ff14","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Graylog2/graylog-project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Graylog2/graylog-project/issues/1/comments","statuses_url":"https://api.github.com/repos/Graylog2/graylog-project/statuses/d519e6e1931295d738b35328a3239a9e0995aed4","head":{"label":"Graylog2:change-directory-structure","ref":"change-directory-structure","sha":"d519e6e1931295d738b35328a3239a9e0995aed4","user":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"repo":{"id":47349377,"name":"graylog-project","full_name":"Graylog2/graylog-project","owner":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Graylog2/graylog-project","description":"Packaging/development helper for Graylog","fork":false,"url":"https://api.github.com/repos/Graylog2/graylog-project","forks_url":"https://api.github.com/repos/Graylog2/graylog-project/forks","keys_url":"https://api.github.com/repos/Graylog2/graylog-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Graylog2/graylog-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Graylog2/graylog-project/teams","hooks_url":"https://api.github.com/repos/Graylog2/graylog-project/hooks","issue_events_url":"https://api.github.com/repos/Graylog2/graylog-project/issues/events{/number}","events_url":"https://api.github.com/repos/Graylog2/graylog-project/events","assignees_url":"https://api.github.com/repos/Graylog2/graylog-project/assignees{/user}","branches_url":"https://api.github.com/repos/Graylog2/graylog-project/branches{/branch}","tags_url":"https://api.github.com/repos/Graylog2/graylog-project/tags","blobs_url":"https://api.github.com/repos/Graylog2/graylog-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Graylog2/graylog-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Graylog2/graylog-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/Graylog2/graylog-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Graylog2/graylog-project/statuses/{sha}","languages_url":"https://api.github.com/repos/Graylog2/graylog-project/languages","stargazers_url":"https://api.github.com/repos/Graylog2/graylog-project/stargazers","contributors_url":"https://api.github.com/repos/Graylog2/graylog-project/contributors","subscribers_url":"https://api.github.com/repos/Graylog2/graylog-project/subscribers","subscription_url":"https://api.github.com/repos/Graylog2/graylog-project/subscription","commits_url":"https://api.github.com/repos/Graylog2/graylog-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/Graylog2/graylog-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/Graylog2/graylog-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/Graylog2/graylog-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/Graylog2/graylog-project/contents/{+path}","compare_url":"https://api.github.com/repos/Graylog2/graylog-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Graylog2/graylog-project/merges","archive_url":"https://api.github.com/repos/Graylog2/graylog-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Graylog2/graylog-project/downloads","issues_url":"https://api.github.com/repos/Graylog2/graylog-project/issues{/number}","pulls_url":"https://api.github.com/repos/Graylog2/graylog-project/pulls{/number}","milestones_url":"https://api.github.com/repos/Graylog2/graylog-project/milestones{/number}","notifications_url":"https://api.github.com/repos/Graylog2/graylog-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Graylog2/graylog-project/labels{/name}","releases_url":"https://api.github.com/repos/Graylog2/graylog-project/releases{/id}","deployments_url":"https://api.github.com/repos/Graylog2/graylog-project/deployments","created_at":"2015-12-03T17:47:28Z","updated_at":"2016-02-02T08:48:25Z","pushed_at":"2016-04-25T15:22:17Z","git_url":"git://github.com/Graylog2/graylog-project.git","ssh_url":"git@github.com:Graylog2/graylog-project.git","clone_url":"https://github.com/Graylog2/graylog-project.git","svn_url":"https://github.com/Graylog2/graylog-project","homepage":"","size":13,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"Graylog2:master","ref":"master","sha":"c79e8d2cc911b0863c0d9a17910b11206520ca84","user":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"repo":{"id":47349377,"name":"graylog-project","full_name":"Graylog2/graylog-project","owner":{"login":"Graylog2","id":474892,"avatar_url":"https://avatars.githubusercontent.com/u/474892?v=3","gravatar_id":"","url":"https://api.github.com/users/Graylog2","html_url":"https://github.com/Graylog2","followers_url":"https://api.github.com/users/Graylog2/followers","following_url":"https://api.github.com/users/Graylog2/following{/other_user}","gists_url":"https://api.github.com/users/Graylog2/gists{/gist_id}","starred_url":"https://api.github.com/users/Graylog2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Graylog2/subscriptions","organizations_url":"https://api.github.com/users/Graylog2/orgs","repos_url":"https://api.github.com/users/Graylog2/repos","events_url":"https://api.github.com/users/Graylog2/events{/privacy}","received_events_url":"https://api.github.com/users/Graylog2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Graylog2/graylog-project","description":"Packaging/development helper for Graylog","fork":false,"url":"https://api.github.com/repos/Graylog2/graylog-project","forks_url":"https://api.github.com/repos/Graylog2/graylog-project/forks","keys_url":"https://api.github.com/repos/Graylog2/graylog-project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Graylog2/graylog-project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Graylog2/graylog-project/teams","hooks_url":"https://api.github.com/repos/Graylog2/graylog-project/hooks","issue_events_url":"https://api.github.com/repos/Graylog2/graylog-project/issues/events{/number}","events_url":"https://api.github.com/repos/Graylog2/graylog-project/events","assignees_url":"https://api.github.com/repos/Graylog2/graylog-project/assignees{/user}","branches_url":"https://api.github.com/repos/Graylog2/graylog-project/branches{/branch}","tags_url":"https://api.github.com/repos/Graylog2/graylog-project/tags","blobs_url":"https://api.github.com/repos/Graylog2/graylog-project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Graylog2/graylog-project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Graylog2/graylog-project/git/refs{/sha}","trees_url":"https://api.github.com/repos/Graylog2/graylog-project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Graylog2/graylog-project/statuses/{sha}","languages_url":"https://api.github.com/repos/Graylog2/graylog-project/languages","stargazers_url":"https://api.github.com/repos/Graylog2/graylog-project/stargazers","contributors_url":"https://api.github.com/repos/Graylog2/graylog-project/contributors","subscribers_url":"https://api.github.com/repos/Graylog2/graylog-project/subscribers","subscription_url":"https://api.github.com/repos/Graylog2/graylog-project/subscription","commits_url":"https://api.github.com/repos/Graylog2/graylog-project/commits{/sha}","git_commits_url":"https://api.github.com/repos/Graylog2/graylog-project/git/commits{/sha}","comments_url":"https://api.github.com/repos/Graylog2/graylog-project/comments{/number}","issue_comment_url":"https://api.github.com/repos/Graylog2/graylog-project/issues/comments{/number}","contents_url":"https://api.github.com/repos/Graylog2/graylog-project/contents/{+path}","compare_url":"https://api.github.com/repos/Graylog2/graylog-project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Graylog2/graylog-project/merges","archive_url":"https://api.github.com/repos/Graylog2/graylog-project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Graylog2/graylog-project/downloads","issues_url":"https://api.github.com/repos/Graylog2/graylog-project/issues{/number}","pulls_url":"https://api.github.com/repos/Graylog2/graylog-project/pulls{/number}","milestones_url":"https://api.github.com/repos/Graylog2/graylog-project/milestones{/number}","notifications_url":"https://api.github.com/repos/Graylog2/graylog-project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Graylog2/graylog-project/labels{/name}","releases_url":"https://api.github.com/repos/Graylog2/graylog-project/releases{/id}","deployments_url":"https://api.github.com/repos/Graylog2/graylog-project/deployments","created_at":"2015-12-03T17:47:28Z","updated_at":"2016-02-02T08:48:25Z","pushed_at":"2016-04-25T15:22:17Z","git_url":"git://github.com/Graylog2/graylog-project.git","ssh_url":"git@github.com:Graylog2/graylog-project.git","clone_url":"https://github.com/Graylog2/graylog-project.git","svn_url":"https://github.com/Graylog2/graylog-project","homepage":"","size":13,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1"},"html":{"href":"https://github.com/Graylog2/graylog-project/pull/1"},"issue":{"href":"https://api.github.com/repos/Graylog2/graylog-project/issues/1"},"comments":{"href":"https://api.github.com/repos/Graylog2/graylog-project/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Graylog2/graylog-project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Graylog2/graylog-project/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Graylog2/graylog-project/statuses/d519e6e1931295d738b35328a3239a9e0995aed4"}}}}