{"action":"created","comment":{"url":"https://api.github.com/repos/google/stagehand-console-simple/pulls/comments/31484095","id":31484095,"diff_hunk":"@@ -0,0 +1,8 @@\n+{\n+  \"stagehand-template\": {\n+    \"delete\": \"AUTHORS,CHANGELOG.md,CONTRIBUTING.md,LICENSE\",","path":"manifest.json","position":3,"original_position":3,"commit_id":"fa842dd8815fdcdeed6a30ec762f3247e23235be","original_commit_id":"fa842dd8815fdcdeed6a30ec762f3247e23235be","user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"body":"sgmt","created_at":"2015-06-02T00:17:35Z","updated_at":"2015-06-02T00:17:35Z","html_url":"https://github.com/google/stagehand-console-simple/pull/1#discussion_r31484095","pull_request_url":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/google/stagehand-console-simple/pulls/comments/31484095"},"html":{"href":"https://github.com/google/stagehand-console-simple/pull/1#discussion_r31484095"},"pull_request":{"href":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1","id":36679420,"html_url":"https://github.com/google/stagehand-console-simple/pull/1","diff_url":"https://github.com/google/stagehand-console-simple/pull/1.diff","patch_url":"https://github.com/google/stagehand-console-simple/pull/1.patch","issue_url":"https://api.github.com/repos/google/stagehand-console-simple/issues/1","number":1,"state":"open","locked":false,"title":"initial project template","user":{"login":"devoncarew","id":1269969,"avatar_url":"https://avatars.githubusercontent.com/u/1269969?v=3","gravatar_id":"","url":"https://api.github.com/users/devoncarew","html_url":"https://github.com/devoncarew","followers_url":"https://api.github.com/users/devoncarew/followers","following_url":"https://api.github.com/users/devoncarew/following{/other_user}","gists_url":"https://api.github.com/users/devoncarew/gists{/gist_id}","starred_url":"https://api.github.com/users/devoncarew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devoncarew/subscriptions","organizations_url":"https://api.github.com/users/devoncarew/orgs","repos_url":"https://api.github.com/users/devoncarew/repos","events_url":"https://api.github.com/users/devoncarew/events{/privacy}","received_events_url":"https://api.github.com/users/devoncarew/received_events","type":"User","site_admin":false},"body":"@sethladd, an initial shot at a CLI helloworld template.\r\n\r\nNothing can drive this yet, so this is more of a sketch or POC.\r\n\r\nI have two different metadata files in the repo, `manifest.toml` and `manifest.json`. They serve:\r\n\r\n- as markers that the repo / package is a stagehand template\r\n- as files to hold declarative info like how to manipulate the template when cloning the packages contents\r\n\r\nSome repos will hold more files in them then people will want in the created template. For example, this repo has an `AUTHORS` file, required by Google's OSS process. We don't want that file in the final, simple-cli template however. So we have some declarative instructions to remove certain file patterns after cloning the repo.\r\n\r\nNet-net I'm trying to think of the best way to declaratively specify all the data we'll need to know about a template -","created_at":"2015-06-01T22:51:52Z","updated_at":"2015-06-02T00:17:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8092bc883d5ffe8dd17aa230b33f2d1429c7fad0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1/commits","review_comments_url":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1/comments","review_comment_url":"https://api.github.com/repos/google/stagehand-console-simple/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/stagehand-console-simple/issues/1/comments","statuses_url":"https://api.github.com/repos/google/stagehand-console-simple/statuses/fa842dd8815fdcdeed6a30ec762f3247e23235be","head":{"label":"google:devoncarew_initial","ref":"devoncarew_initial","sha":"fa842dd8815fdcdeed6a30ec762f3247e23235be","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":35185656,"name":"stagehand-console-simple","full_name":"google/stagehand-console-simple","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/stagehand-console-simple","description":"A stagehand template for a simple console application.","fork":false,"url":"https://api.github.com/repos/google/stagehand-console-simple","forks_url":"https://api.github.com/repos/google/stagehand-console-simple/forks","keys_url":"https://api.github.com/repos/google/stagehand-console-simple/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/stagehand-console-simple/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/stagehand-console-simple/teams","hooks_url":"https://api.github.com/repos/google/stagehand-console-simple/hooks","issue_events_url":"https://api.github.com/repos/google/stagehand-console-simple/issues/events{/number}","events_url":"https://api.github.com/repos/google/stagehand-console-simple/events","assignees_url":"https://api.github.com/repos/google/stagehand-console-simple/assignees{/user}","branches_url":"https://api.github.com/repos/google/stagehand-console-simple/branches{/branch}","tags_url":"https://api.github.com/repos/google/stagehand-console-simple/tags","blobs_url":"https://api.github.com/repos/google/stagehand-console-simple/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/stagehand-console-simple/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/stagehand-console-simple/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/stagehand-console-simple/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/stagehand-console-simple/statuses/{sha}","languages_url":"https://api.github.com/repos/google/stagehand-console-simple/languages","stargazers_url":"https://api.github.com/repos/google/stagehand-console-simple/stargazers","contributors_url":"https://api.github.com/repos/google/stagehand-console-simple/contributors","subscribers_url":"https://api.github.com/repos/google/stagehand-console-simple/subscribers","subscription_url":"https://api.github.com/repos/google/stagehand-console-simple/subscription","commits_url":"https://api.github.com/repos/google/stagehand-console-simple/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/stagehand-console-simple/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/stagehand-console-simple/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/stagehand-console-simple/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/stagehand-console-simple/contents/{+path}","compare_url":"https://api.github.com/repos/google/stagehand-console-simple/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/stagehand-console-simple/merges","archive_url":"https://api.github.com/repos/google/stagehand-console-simple/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/stagehand-console-simple/downloads","issues_url":"https://api.github.com/repos/google/stagehand-console-simple/issues{/number}","pulls_url":"https://api.github.com/repos/google/stagehand-console-simple/pulls{/number}","milestones_url":"https://api.github.com/repos/google/stagehand-console-simple/milestones{/number}","notifications_url":"https://api.github.com/repos/google/stagehand-console-simple/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/stagehand-console-simple/labels{/name}","releases_url":"https://api.github.com/repos/google/stagehand-console-simple/releases{/id}","created_at":"2015-05-06T22:16:39Z","updated_at":"2015-06-01T21:05:57Z","pushed_at":"2015-06-01T22:57:52Z","git_url":"git://github.com/google/stagehand-console-simple.git","ssh_url":"git@github.com:google/stagehand-console-simple.git","clone_url":"https://github.com/google/stagehand-console-simple.git","svn_url":"https://github.com/google/stagehand-console-simple","homepage":"","size":100,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"4fcd7ace6b426735a7a0fe090627f9478ee52cc8","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":35185656,"name":"stagehand-console-simple","full_name":"google/stagehand-console-simple","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/stagehand-console-simple","description":"A stagehand template for a simple console application.","fork":false,"url":"https://api.github.com/repos/google/stagehand-console-simple","forks_url":"https://api.github.com/repos/google/stagehand-console-simple/forks","keys_url":"https://api.github.com/repos/google/stagehand-console-simple/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/stagehand-console-simple/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/stagehand-console-simple/teams","hooks_url":"https://api.github.com/repos/google/stagehand-console-simple/hooks","issue_events_url":"https://api.github.com/repos/google/stagehand-console-simple/issues/events{/number}","events_url":"https://api.github.com/repos/google/stagehand-console-simple/events","assignees_url":"https://api.github.com/repos/google/stagehand-console-simple/assignees{/user}","branches_url":"https://api.github.com/repos/google/stagehand-console-simple/branches{/branch}","tags_url":"https://api.github.com/repos/google/stagehand-console-simple/tags","blobs_url":"https://api.github.com/repos/google/stagehand-console-simple/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/stagehand-console-simple/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/stagehand-console-simple/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/stagehand-console-simple/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/stagehand-console-simple/statuses/{sha}","languages_url":"https://api.github.com/repos/google/stagehand-console-simple/languages","stargazers_url":"https://api.github.com/repos/google/stagehand-console-simple/stargazers","contributors_url":"https://api.github.com/repos/google/stagehand-console-simple/contributors","subscribers_url":"https://api.github.com/repos/google/stagehand-console-simple/subscribers","subscription_url":"https://api.github.com/repos/google/stagehand-console-simple/subscription","commits_url":"https://api.github.com/repos/google/stagehand-console-simple/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/stagehand-console-simple/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/stagehand-console-simple/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/stagehand-console-simple/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/stagehand-console-simple/contents/{+path}","compare_url":"https://api.github.com/repos/google/stagehand-console-simple/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/stagehand-console-simple/merges","archive_url":"https://api.github.com/repos/google/stagehand-console-simple/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/stagehand-console-simple/downloads","issues_url":"https://api.github.com/repos/google/stagehand-console-simple/issues{/number}","pulls_url":"https://api.github.com/repos/google/stagehand-console-simple/pulls{/number}","milestones_url":"https://api.github.com/repos/google/stagehand-console-simple/milestones{/number}","notifications_url":"https://api.github.com/repos/google/stagehand-console-simple/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/stagehand-console-simple/labels{/name}","releases_url":"https://api.github.com/repos/google/stagehand-console-simple/releases{/id}","created_at":"2015-05-06T22:16:39Z","updated_at":"2015-06-01T21:05:57Z","pushed_at":"2015-06-01T22:57:52Z","git_url":"git://github.com/google/stagehand-console-simple.git","ssh_url":"git@github.com:google/stagehand-console-simple.git","clone_url":"https://github.com/google/stagehand-console-simple.git","svn_url":"https://github.com/google/stagehand-console-simple","homepage":"","size":100,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1"},"html":{"href":"https://github.com/google/stagehand-console-simple/pull/1"},"issue":{"href":"https://api.github.com/repos/google/stagehand-console-simple/issues/1"},"comments":{"href":"https://api.github.com/repos/google/stagehand-console-simple/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/google/stagehand-console-simple/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/stagehand-console-simple/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/google/stagehand-console-simple/statuses/fa842dd8815fdcdeed6a30ec762f3247e23235be"}}}}