{"action":"created","comment":{"url":"https://api.github.com/repos/w3c/ttml1/pulls/comments/154448555","pull_request_review_id":80620935,"id":154448555,"diff_hunk":"@@ -0,0 +1,120 @@\n+#!/bin/bash\n+set -e # Exit with nonzero exit code if anything fails\n+\n+# From https://gist.github.com/domenic/ec8b0fc8ab45f39403dd\n+\n+echo \"[TRACE] TRAVIS_BRANCH: $TRAVIS_BRANCH\"\n+echo \"[TRACE] TRAVIS_PULL_REQUEST_BRANCH: $TRAVIS_PULL_REQUEST_BRANCH\"\n+echo \"[TRACE] TRAVIS_PULL_REQUEST: $TRAVIS_PULL_REQUEST\"\n+\n+SOURCE_BRANCH=\"$TRAVIS_PULL_REQUEST_BRANCH\"\n+TARGET_BRANCH=\"$TRAVIS_PULL_REQUEST-$TRAVIS_PULL_REQUEST_BRANCH\"\n+\n+if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" -a \"$TRAVIS_BRANCH\" != \"master\" ]; then\n+   echo \"[ABORT] We're in a push build (not in master nor in a pull request), so exiting. \"\n+   exit 0\n+fi\n+\n+if [ \"$TRAVIS_PULL_REQUEST\" != \"false\" -a \"$TRAVIS_PULL_REQUEST_BRANCH\" = \"master\" ]; then\n+   echo \"[ERROR] We're in a pull request but we're in the master branch?!?!\"\n+   echo \" This shouldn't happen...\"\n+   exit 1\n+fi\n+\n+if [ \"$TRAVIS_PULL_REQUEST\" = \"false\"  -a \"$SOURCE_BRANCH\" = \"master\" ]; then\n+  SOURCE_BRANCH=\"master\"\n+  TARGET_BRANCH=\"gh-pages\"\n+fi\n+\n+echo \"[TRACE] SOURCE_BRANCH: $SOURCE_BRANCH\"\n+echo \"[TRACE] TARGET_BRANCH: $TARGET_BRANCH\"\n+\n+# Save some useful information\n+REPO=`git config remote.origin.url`\n+SSH_REPO=${REPO/https:\\/\\/github.com\\//git@github.com:}\n+SHA=`git rev-parse --verify HEAD`\n+\n+# Clone the existing gh-pages for this repo into out/\n+# Create a new empty branch if the target branch doesn't exist yet (should only happen on first deply)\n+git clone $REPO out\n+cd out\n+git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH\n+cd ..\n+\n+# Clean out existing contents\n+rm -rf out/**/* || exit 0\n+\n+# Copy content from build into  existing contents\n+\n+echo -e \"\\n[TRACE] Building the specification\"\n+cd spec\n+ant build\n+\n+# Make sure we're in the right directory\n+\n+echo -e \"\\n[TRACE] Copying the specification and cleaning out\"\n+\n+cp -R build/* ../out/\n+\n+cd ../out\n+\n+rm -f .travis.yml\n+rm -f w3c.json\n+rm -f CODE_OF_CONDUCT.md\n+rm -f CONTRIBUTING.md\n+rm -f LICENSE.md","path":"deploy.sh","position":65,"original_position":65,"commit_id":"9e6e1ffd53cb4e95104e952c25b93b02e2e0e816","original_commit_id":"9e6e1ffd53cb4e95104e952c25b93b02e2e0e816","user":{"login":"plehegar","id":1490400,"avatar_url":"https://avatars1.githubusercontent.com/u/1490400?v=4","gravatar_id":"","url":"https://api.github.com/users/plehegar","html_url":"https://github.com/plehegar","followers_url":"https://api.github.com/users/plehegar/followers","following_url":"https://api.github.com/users/plehegar/following{/other_user}","gists_url":"https://api.github.com/users/plehegar/gists{/gist_id}","starred_url":"https://api.github.com/users/plehegar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plehegar/subscriptions","organizations_url":"https://api.github.com/users/plehegar/orgs","repos_url":"https://api.github.com/users/plehegar/repos","events_url":"https://api.github.com/users/plehegar/events{/privacy}","received_events_url":"https://api.github.com/users/plehegar/received_events","type":"User","site_admin":false},"body":"Those remains in the master branch and the PR branches. I don't we need them in the automatic PR build branches imho.\r\n","created_at":"2017-12-01T21:06:29Z","updated_at":"2017-12-01T21:06:29Z","html_url":"https://github.com/w3c/ttml1/pull/272#discussion_r154448555","pull_request_url":"https://api.github.com/repos/w3c/ttml1/pulls/272","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/w3c/ttml1/pulls/comments/154448555"},"html":{"href":"https://github.com/w3c/ttml1/pull/272#discussion_r154448555"},"pull_request":{"href":"https://api.github.com/repos/w3c/ttml1/pulls/272"}},"in_reply_to_id":154324040},"pull_request":{"url":"https://api.github.com/repos/w3c/ttml1/pulls/272","id":155650676,"html_url":"https://github.com/w3c/ttml1/pull/272","diff_url":"https://github.com/w3c/ttml1/pull/272.diff","patch_url":"https://github.com/w3c/ttml1/pull/272.patch","issue_url":"https://api.github.com/repos/w3c/ttml1/issues/272","number":272,"state":"open","locked":false,"title":"Travis CO deployment","user":{"login":"plehegar","id":1490400,"avatar_url":"https://avatars1.githubusercontent.com/u/1490400?v=4","gravatar_id":"","url":"https://api.github.com/users/plehegar","html_url":"https://github.com/plehegar","followers_url":"https://api.github.com/users/plehegar/followers","following_url":"https://api.github.com/users/plehegar/following{/other_user}","gists_url":"https://api.github.com/users/plehegar/gists{/gist_id}","starred_url":"https://api.github.com/users/plehegar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plehegar/subscriptions","organizations_url":"https://api.github.com/users/plehegar/orgs","repos_url":"https://api.github.com/users/plehegar/repos","events_url":"https://api.github.com/users/plehegar/events{/privacy}","received_events_url":"https://api.github.com/users/plehegar/received_events","type":"User","site_admin":false},"body":"Fix for #271.","created_at":"2017-11-30T16:08:52Z","updated_at":"2017-12-01T21:06:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f172a6754cc57569d41fea7967a8cb8cb24dc07","assignee":{"login":"plehegar","id":1490400,"avatar_url":"https://avatars1.githubusercontent.com/u/1490400?v=4","gravatar_id":"","url":"https://api.github.com/users/plehegar","html_url":"https://github.com/plehegar","followers_url":"https://api.github.com/users/plehegar/followers","following_url":"https://api.github.com/users/plehegar/following{/other_user}","gists_url":"https://api.github.com/users/plehegar/gists{/gist_id}","starred_url":"https://api.github.com/users/plehegar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plehegar/subscriptions","organizations_url":"https://api.github.com/users/plehegar/orgs","repos_url":"https://api.github.com/users/plehegar/repos","events_url":"https://api.github.com/users/plehegar/events{/privacy}","received_events_url":"https://api.github.com/users/plehegar/received_events","type":"User","site_admin":false},"assignees":[{"login":"plehegar","id":1490400,"avatar_url":"https://avatars1.githubusercontent.com/u/1490400?v=4","gravatar_id":"","url":"https://api.github.com/users/plehegar","html_url":"https://github.com/plehegar","followers_url":"https://api.github.com/users/plehegar/followers","following_url":"https://api.github.com/users/plehegar/following{/other_user}","gists_url":"https://api.github.com/users/plehegar/gists{/gist_id}","starred_url":"https://api.github.com/users/plehegar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plehegar/subscriptions","organizations_url":"https://api.github.com/users/plehegar/orgs","repos_url":"https://api.github.com/users/plehegar/repos","events_url":"https://api.github.com/users/plehegar/events{/privacy}","received_events_url":"https://api.github.com/users/plehegar/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"palemieux","id":4871350,"avatar_url":"https://avatars0.githubusercontent.com/u/4871350?v=4","gravatar_id":"","url":"https://api.github.com/users/palemieux","html_url":"https://github.com/palemieux","followers_url":"https://api.github.com/users/palemieux/followers","following_url":"https://api.github.com/users/palemieux/following{/other_user}","gists_url":"https://api.github.com/users/palemieux/gists{/gist_id}","starred_url":"https://api.github.com/users/palemieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palemieux/subscriptions","organizations_url":"https://api.github.com/users/palemieux/orgs","repos_url":"https://api.github.com/users/palemieux/repos","events_url":"https://api.github.com/users/palemieux/events{/privacy}","received_events_url":"https://api.github.com/users/palemieux/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/w3c/ttml1/milestones/1","html_url":"https://github.com/w3c/ttml1/milestone/1","labels_url":"https://api.github.com/repos/w3c/ttml1/milestones/1/labels","id":2246967,"number":1,"title":"3rd Ed","description":"","creator":{"login":"nigelmegitt","id":4988915,"avatar_url":"https://avatars0.githubusercontent.com/u/4988915?v=4","gravatar_id":"","url":"https://api.github.com/users/nigelmegitt","html_url":"https://github.com/nigelmegitt","followers_url":"https://api.github.com/users/nigelmegitt/followers","following_url":"https://api.github.com/users/nigelmegitt/following{/other_user}","gists_url":"https://api.github.com/users/nigelmegitt/gists{/gist_id}","starred_url":"https://api.github.com/users/nigelmegitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigelmegitt/subscriptions","organizations_url":"https://api.github.com/users/nigelmegitt/orgs","repos_url":"https://api.github.com/users/nigelmegitt/repos","events_url":"https://api.github.com/users/nigelmegitt/events{/privacy}","received_events_url":"https://api.github.com/users/nigelmegitt/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":2,"state":"open","created_at":"2017-01-12T11:11:21Z","updated_at":"2017-11-30T20:50:06Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/w3c/ttml1/pulls/272/commits","review_comments_url":"https://api.github.com/repos/w3c/ttml1/pulls/272/comments","review_comment_url":"https://api.github.com/repos/w3c/ttml1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/ttml1/issues/272/comments","statuses_url":"https://api.github.com/repos/w3c/ttml1/statuses/9e6e1ffd53cb4e95104e952c25b93b02e2e0e816","head":{"label":"w3c:plh/travisci","ref":"plh/travisci","sha":"9e6e1ffd53cb4e95104e952c25b93b02e2e0e816","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":45166823,"name":"ttml1","full_name":"w3c/ttml1","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/ttml1","description":"Timed Text Markup Language 1 (TTML1)","fork":false,"url":"https://api.github.com/repos/w3c/ttml1","forks_url":"https://api.github.com/repos/w3c/ttml1/forks","keys_url":"https://api.github.com/repos/w3c/ttml1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/ttml1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/ttml1/teams","hooks_url":"https://api.github.com/repos/w3c/ttml1/hooks","issue_events_url":"https://api.github.com/repos/w3c/ttml1/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/ttml1/events","assignees_url":"https://api.github.com/repos/w3c/ttml1/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/ttml1/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/ttml1/tags","blobs_url":"https://api.github.com/repos/w3c/ttml1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/ttml1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/ttml1/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/ttml1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/ttml1/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/ttml1/languages","stargazers_url":"https://api.github.com/repos/w3c/ttml1/stargazers","contributors_url":"https://api.github.com/repos/w3c/ttml1/contributors","subscribers_url":"https://api.github.com/repos/w3c/ttml1/subscribers","subscription_url":"https://api.github.com/repos/w3c/ttml1/subscription","commits_url":"https://api.github.com/repos/w3c/ttml1/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/ttml1/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/ttml1/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/ttml1/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/ttml1/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/ttml1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/ttml1/merges","archive_url":"https://api.github.com/repos/w3c/ttml1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/ttml1/downloads","issues_url":"https://api.github.com/repos/w3c/ttml1/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/ttml1/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/ttml1/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/ttml1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/ttml1/labels{/name}","releases_url":"https://api.github.com/repos/w3c/ttml1/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/ttml1/deployments","created_at":"2015-10-29T07:18:40Z","updated_at":"2017-11-23T05:13:59Z","pushed_at":"2017-11-30T23:12:06Z","git_url":"git://github.com/w3c/ttml1.git","ssh_url":"git@github.com:w3c/ttml1.git","clone_url":"https://github.com/w3c/ttml1.git","svn_url":"https://github.com/w3c/ttml1","homepage":null,"size":82964,"stargazers_count":4,"watchers_count":4,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":70,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3,"open_issues":70,"watchers":4,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"849a48e0f27e21d455bf431ab9795894bed4d3fc","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":45166823,"name":"ttml1","full_name":"w3c/ttml1","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars2.githubusercontent.com/u/379216?v=4","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/ttml1","description":"Timed Text Markup Language 1 (TTML1)","fork":false,"url":"https://api.github.com/repos/w3c/ttml1","forks_url":"https://api.github.com/repos/w3c/ttml1/forks","keys_url":"https://api.github.com/repos/w3c/ttml1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/ttml1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/ttml1/teams","hooks_url":"https://api.github.com/repos/w3c/ttml1/hooks","issue_events_url":"https://api.github.com/repos/w3c/ttml1/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/ttml1/events","assignees_url":"https://api.github.com/repos/w3c/ttml1/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/ttml1/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/ttml1/tags","blobs_url":"https://api.github.com/repos/w3c/ttml1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/ttml1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/ttml1/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/ttml1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/ttml1/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/ttml1/languages","stargazers_url":"https://api.github.com/repos/w3c/ttml1/stargazers","contributors_url":"https://api.github.com/repos/w3c/ttml1/contributors","subscribers_url":"https://api.github.com/repos/w3c/ttml1/subscribers","subscription_url":"https://api.github.com/repos/w3c/ttml1/subscription","commits_url":"https://api.github.com/repos/w3c/ttml1/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/ttml1/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/ttml1/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/ttml1/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/ttml1/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/ttml1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/ttml1/merges","archive_url":"https://api.github.com/repos/w3c/ttml1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/ttml1/downloads","issues_url":"https://api.github.com/repos/w3c/ttml1/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/ttml1/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/ttml1/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/ttml1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/ttml1/labels{/name}","releases_url":"https://api.github.com/repos/w3c/ttml1/releases{/id}","deployments_url":"https://api.github.com/repos/w3c/ttml1/deployments","created_at":"2015-10-29T07:18:40Z","updated_at":"2017-11-23T05:13:59Z","pushed_at":"2017-11-30T23:12:06Z","git_url":"git://github.com/w3c/ttml1.git","ssh_url":"git@github.com:w3c/ttml1.git","clone_url":"https://github.com/w3c/ttml1.git","svn_url":"https://github.com/w3c/ttml1","homepage":null,"size":82964,"stargazers_count":4,"watchers_count":4,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":70,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3,"open_issues":70,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/ttml1/pulls/272"},"html":{"href":"https://github.com/w3c/ttml1/pull/272"},"issue":{"href":"https://api.github.com/repos/w3c/ttml1/issues/272"},"comments":{"href":"https://api.github.com/repos/w3c/ttml1/issues/272/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/ttml1/pulls/272/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/ttml1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/ttml1/pulls/272/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/ttml1/statuses/9e6e1ffd53cb4e95104e952c25b93b02e2e0e816"}},"author_association":"OWNER"}}
{"actor":{"display_login":"plehegar"}}