{"action":"created","comment":{"url":"https://api.github.com/repos/youtube/spfjs/pulls/comments/64626501","id":64626501,"diff_hunk":"@@ -0,0 +1,74 @@\n+#!/bin/bash\n+#\n+# Copyright 2016 Google Inc. All rights reserved.\n+#\n+# Use of this source code is governed by The MIT License.\n+# See the LICENSE file for details.\n+\n+# Script to udpate the version of SPF and generate docs.\n+#\n+# Author: nicksay@google.com (Alex Nicksay)\n+\n+# The script must be passed a version.\n+if [[ $# < 1 ]]; then\n+  echo \"Usage: $(basename $0) [<newversion> | major | minor | patch ]\"\n+  exit 1\n+fi\n+\n+# Change to the root directory.\n+cd \"$(dirname $(dirname \"$0\"))\"","path":"bin/version.sh","position":19,"original_position":19,"commit_id":"785d7ecab077d8dffb8b47e0d20cd2a2eb6db817","original_commit_id":"785d7ecab077d8dffb8b47e0d20cd2a2eb6db817","user":{"login":"rviscomi","id":1120896,"avatar_url":"https://avatars.githubusercontent.com/u/1120896?v=3","gravatar_id":"","url":"https://api.github.com/users/rviscomi","html_url":"https://github.com/rviscomi","followers_url":"https://api.github.com/users/rviscomi/followers","following_url":"https://api.github.com/users/rviscomi/following{/other_user}","gists_url":"https://api.github.com/users/rviscomi/gists{/gist_id}","starred_url":"https://api.github.com/users/rviscomi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rviscomi/subscriptions","organizations_url":"https://api.github.com/users/rviscomi/orgs","repos_url":"https://api.github.com/users/rviscomi/repos","events_url":"https://api.github.com/users/rviscomi/events{/privacy}","received_events_url":"https://api.github.com/users/rviscomi/received_events","type":"User","site_admin":false},"body":"Nit: would pushd/popd be useful here? Just thinking about preserving the current dir.","created_at":"2016-05-25T18:26:49Z","updated_at":"2016-05-25T18:26:49Z","html_url":"https://github.com/youtube/spfjs/pull/410#discussion_r64626501","pull_request_url":"https://api.github.com/repos/youtube/spfjs/pulls/410","_links":{"self":{"href":"https://api.github.com/repos/youtube/spfjs/pulls/comments/64626501"},"html":{"href":"https://github.com/youtube/spfjs/pull/410#discussion_r64626501"},"pull_request":{"href":"https://api.github.com/repos/youtube/spfjs/pulls/410"}}},"pull_request":{"url":"https://api.github.com/repos/youtube/spfjs/pulls/410","id":71424572,"html_url":"https://github.com/youtube/spfjs/pull/410","diff_url":"https://github.com/youtube/spfjs/pull/410.diff","patch_url":"https://github.com/youtube/spfjs/pull/410.patch","issue_url":"https://api.github.com/repos/youtube/spfjs/issues/410","number":410,"state":"open","locked":false,"title":"Create a script to update the version of SPF and generate docs","user":{"login":"nicksay","id":5691215,"avatar_url":"https://avatars.githubusercontent.com/u/5691215?v=3","gravatar_id":"","url":"https://api.github.com/users/nicksay","html_url":"https://github.com/nicksay","followers_url":"https://api.github.com/users/nicksay/followers","following_url":"https://api.github.com/users/nicksay/following{/other_user}","gists_url":"https://api.github.com/users/nicksay/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksay/subscriptions","organizations_url":"https://api.github.com/users/nicksay/orgs","repos_url":"https://api.github.com/users/nicksay/repos","events_url":"https://api.github.com/users/nicksay/events{/privacy}","received_events_url":"https://api.github.com/users/nicksay/received_events","type":"User","site_admin":false},"body":"This change adds a `version.sh` script that updates the version\nof SPF and then updates the generated documentation.  Each\nupdate is recorded as a single commit, and when the branch is\nmerged, the merge commit will be used as the release tag.  This\nwill mean that tagged releases will included the correct\ngenerated documentation for the version being released.\n\nProgess on #406","created_at":"2016-05-25T16:41:40Z","updated_at":"2016-05-25T18:26:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"455898729bd4e1e6327cb39d35a9110014d7dcf2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/youtube/spfjs/pulls/410/commits","review_comments_url":"https://api.github.com/repos/youtube/spfjs/pulls/410/comments","review_comment_url":"https://api.github.com/repos/youtube/spfjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/youtube/spfjs/issues/410/comments","statuses_url":"https://api.github.com/repos/youtube/spfjs/statuses/785d7ecab077d8dffb8b47e0d20cd2a2eb6db817","head":{"label":"nicksay:releases-version","ref":"releases-version","sha":"785d7ecab077d8dffb8b47e0d20cd2a2eb6db817","user":{"login":"nicksay","id":5691215,"avatar_url":"https://avatars.githubusercontent.com/u/5691215?v=3","gravatar_id":"","url":"https://api.github.com/users/nicksay","html_url":"https://github.com/nicksay","followers_url":"https://api.github.com/users/nicksay/followers","following_url":"https://api.github.com/users/nicksay/following{/other_user}","gists_url":"https://api.github.com/users/nicksay/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksay/subscriptions","organizations_url":"https://api.github.com/users/nicksay/orgs","repos_url":"https://api.github.com/users/nicksay/repos","events_url":"https://api.github.com/users/nicksay/events{/privacy}","received_events_url":"https://api.github.com/users/nicksay/received_events","type":"User","site_admin":false},"repo":{"id":21192807,"name":"spfjs","full_name":"nicksay/spfjs","owner":{"login":"nicksay","id":5691215,"avatar_url":"https://avatars.githubusercontent.com/u/5691215?v=3","gravatar_id":"","url":"https://api.github.com/users/nicksay","html_url":"https://github.com/nicksay","followers_url":"https://api.github.com/users/nicksay/followers","following_url":"https://api.github.com/users/nicksay/following{/other_user}","gists_url":"https://api.github.com/users/nicksay/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksay/subscriptions","organizations_url":"https://api.github.com/users/nicksay/orgs","repos_url":"https://api.github.com/users/nicksay/repos","events_url":"https://api.github.com/users/nicksay/events{/privacy}","received_events_url":"https://api.github.com/users/nicksay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nicksay/spfjs","description":"A lightweight JS framework for fast navigation and page updates from YouTube","fork":true,"url":"https://api.github.com/repos/nicksay/spfjs","forks_url":"https://api.github.com/repos/nicksay/spfjs/forks","keys_url":"https://api.github.com/repos/nicksay/spfjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nicksay/spfjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nicksay/spfjs/teams","hooks_url":"https://api.github.com/repos/nicksay/spfjs/hooks","issue_events_url":"https://api.github.com/repos/nicksay/spfjs/issues/events{/number}","events_url":"https://api.github.com/repos/nicksay/spfjs/events","assignees_url":"https://api.github.com/repos/nicksay/spfjs/assignees{/user}","branches_url":"https://api.github.com/repos/nicksay/spfjs/branches{/branch}","tags_url":"https://api.github.com/repos/nicksay/spfjs/tags","blobs_url":"https://api.github.com/repos/nicksay/spfjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nicksay/spfjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nicksay/spfjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/nicksay/spfjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nicksay/spfjs/statuses/{sha}","languages_url":"https://api.github.com/repos/nicksay/spfjs/languages","stargazers_url":"https://api.github.com/repos/nicksay/spfjs/stargazers","contributors_url":"https://api.github.com/repos/nicksay/spfjs/contributors","subscribers_url":"https://api.github.com/repos/nicksay/spfjs/subscribers","subscription_url":"https://api.github.com/repos/nicksay/spfjs/subscription","commits_url":"https://api.github.com/repos/nicksay/spfjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/nicksay/spfjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/nicksay/spfjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/nicksay/spfjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/nicksay/spfjs/contents/{+path}","compare_url":"https://api.github.com/repos/nicksay/spfjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nicksay/spfjs/merges","archive_url":"https://api.github.com/repos/nicksay/spfjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nicksay/spfjs/downloads","issues_url":"https://api.github.com/repos/nicksay/spfjs/issues{/number}","pulls_url":"https://api.github.com/repos/nicksay/spfjs/pulls{/number}","milestones_url":"https://api.github.com/repos/nicksay/spfjs/milestones{/number}","notifications_url":"https://api.github.com/repos/nicksay/spfjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nicksay/spfjs/labels{/name}","releases_url":"https://api.github.com/repos/nicksay/spfjs/releases{/id}","deployments_url":"https://api.github.com/repos/nicksay/spfjs/deployments","created_at":"2014-06-25T06:29:00Z","updated_at":"2016-01-11T20:44:27Z","pushed_at":"2016-05-25T18:20:59Z","git_url":"git://github.com/nicksay/spfjs.git","ssh_url":"git@github.com:nicksay/spfjs.git","clone_url":"https://github.com/nicksay/spfjs.git","svn_url":"https://github.com/nicksay/spfjs","homepage":"http://youtube.github.io/spfjs/","size":3396,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"youtube:master","ref":"master","sha":"d742180c5ca5183438a8413d7711cf8207f578e9","user":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"repo":{"id":19387628,"name":"spfjs","full_name":"youtube/spfjs","owner":{"login":"youtube","id":4052902,"avatar_url":"https://avatars.githubusercontent.com/u/4052902?v=3","gravatar_id":"","url":"https://api.github.com/users/youtube","html_url":"https://github.com/youtube","followers_url":"https://api.github.com/users/youtube/followers","following_url":"https://api.github.com/users/youtube/following{/other_user}","gists_url":"https://api.github.com/users/youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youtube/subscriptions","organizations_url":"https://api.github.com/users/youtube/orgs","repos_url":"https://api.github.com/users/youtube/repos","events_url":"https://api.github.com/users/youtube/events{/privacy}","received_events_url":"https://api.github.com/users/youtube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/youtube/spfjs","description":"A lightweight JS framework for fast navigation and page updates from YouTube","fork":false,"url":"https://api.github.com/repos/youtube/spfjs","forks_url":"https://api.github.com/repos/youtube/spfjs/forks","keys_url":"https://api.github.com/repos/youtube/spfjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/youtube/spfjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/youtube/spfjs/teams","hooks_url":"https://api.github.com/repos/youtube/spfjs/hooks","issue_events_url":"https://api.github.com/repos/youtube/spfjs/issues/events{/number}","events_url":"https://api.github.com/repos/youtube/spfjs/events","assignees_url":"https://api.github.com/repos/youtube/spfjs/assignees{/user}","branches_url":"https://api.github.com/repos/youtube/spfjs/branches{/branch}","tags_url":"https://api.github.com/repos/youtube/spfjs/tags","blobs_url":"https://api.github.com/repos/youtube/spfjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/youtube/spfjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/youtube/spfjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/youtube/spfjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/youtube/spfjs/statuses/{sha}","languages_url":"https://api.github.com/repos/youtube/spfjs/languages","stargazers_url":"https://api.github.com/repos/youtube/spfjs/stargazers","contributors_url":"https://api.github.com/repos/youtube/spfjs/contributors","subscribers_url":"https://api.github.com/repos/youtube/spfjs/subscribers","subscription_url":"https://api.github.com/repos/youtube/spfjs/subscription","commits_url":"https://api.github.com/repos/youtube/spfjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/youtube/spfjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/youtube/spfjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/youtube/spfjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/youtube/spfjs/contents/{+path}","compare_url":"https://api.github.com/repos/youtube/spfjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/youtube/spfjs/merges","archive_url":"https://api.github.com/repos/youtube/spfjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/youtube/spfjs/downloads","issues_url":"https://api.github.com/repos/youtube/spfjs/issues{/number}","pulls_url":"https://api.github.com/repos/youtube/spfjs/pulls{/number}","milestones_url":"https://api.github.com/repos/youtube/spfjs/milestones{/number}","notifications_url":"https://api.github.com/repos/youtube/spfjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/youtube/spfjs/labels{/name}","releases_url":"https://api.github.com/repos/youtube/spfjs/releases{/id}","deployments_url":"https://api.github.com/repos/youtube/spfjs/deployments","created_at":"2014-05-02T20:24:59Z","updated_at":"2016-05-25T18:15:45Z","pushed_at":"2016-05-25T18:21:00Z","git_url":"git://github.com/youtube/spfjs.git","ssh_url":"git@github.com:youtube/spfjs.git","clone_url":"https://github.com/youtube/spfjs.git","svn_url":"https://github.com/youtube/spfjs","homepage":"https://youtube.github.io/spfjs/","size":3417,"stargazers_count":1017,"watchers_count":1017,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":76,"mirror_url":null,"open_issues_count":21,"forks":76,"open_issues":21,"watchers":1017,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/youtube/spfjs/pulls/410"},"html":{"href":"https://github.com/youtube/spfjs/pull/410"},"issue":{"href":"https://api.github.com/repos/youtube/spfjs/issues/410"},"comments":{"href":"https://api.github.com/repos/youtube/spfjs/issues/410/comments"},"review_comments":{"href":"https://api.github.com/repos/youtube/spfjs/pulls/410/comments"},"review_comment":{"href":"https://api.github.com/repos/youtube/spfjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/youtube/spfjs/pulls/410/commits"},"statuses":{"href":"https://api.github.com/repos/youtube/spfjs/statuses/785d7ecab077d8dffb8b47e0d20cd2a2eb6db817"}}}}
{"actor":{"display_login":"rviscomi"}}