{"action":"opened","number":4591,"pull_request":{"url":"https://api.github.com/repos/gohugoio/hugo/pulls/4591","id":180104166,"html_url":"https://github.com/gohugoio/hugo/pull/4591","diff_url":"https://github.com/gohugoio/hugo/pull/4591.diff","patch_url":"https://github.com/gohugoio/hugo/pull/4591.patch","issue_url":"https://api.github.com/repos/gohugoio/hugo/issues/4591","number":4591,"state":"open","locked":false,"title":"[Work in progress] Fix travis","user":{"login":"anthonyfok","id":1274764,"avatar_url":"https://avatars2.githubusercontent.com/u/1274764?v=4","gravatar_id":"","url":"https://api.github.com/users/anthonyfok","html_url":"https://github.com/anthonyfok","followers_url":"https://api.github.com/users/anthonyfok/followers","following_url":"https://api.github.com/users/anthonyfok/following{/other_user}","gists_url":"https://api.github.com/users/anthonyfok/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyfok/subscriptions","organizations_url":"https://api.github.com/users/anthonyfok/orgs","repos_url":"https://api.github.com/users/anthonyfok/repos","events_url":"https://api.github.com/users/anthonyfok/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyfok/received_events","type":"User","site_admin":false},"body":"I came across https://docs.travis-ci.com/user/customizing-the-build/#Git-Clone-Depth, and suddenly, a light bulb lighted up.  Travis, by default, uses `--depth 50` for git clone, but over 50 commits have happened since commit ce6e4310, so inst\r\n\r\n    git log --name-only --no-merges --format=\"format:%ai\" hugolib/testsite/content/first-post.md\r\n\r\nreturns the date of a grafted commit, which currently is \"2018-03-15 09:37:30 +0100\", instead of 2018-03-11.\r\n\r\nDisabling shallow clone should hopefully fix #4584.\r\n\r\n(Please don't merge yet; I am making it a PR to trigger a Travis CI test build.)","created_at":"2018-04-07T12:51:08Z","updated_at":"2018-04-07T12:51:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gohugoio/hugo/pulls/4591/commits","review_comments_url":"https://api.github.com/repos/gohugoio/hugo/pulls/4591/comments","review_comment_url":"https://api.github.com/repos/gohugoio/hugo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/4591/comments","statuses_url":"https://api.github.com/repos/gohugoio/hugo/statuses/a66e190f195f228461dcd5d57456a1a4021dae1d","head":{"label":"anthonyfok:fix-travis","ref":"fix-travis","sha":"a66e190f195f228461dcd5d57456a1a4021dae1d","user":{"login":"anthonyfok","id":1274764,"avatar_url":"https://avatars2.githubusercontent.com/u/1274764?v=4","gravatar_id":"","url":"https://api.github.com/users/anthonyfok","html_url":"https://github.com/anthonyfok","followers_url":"https://api.github.com/users/anthonyfok/followers","following_url":"https://api.github.com/users/anthonyfok/following{/other_user}","gists_url":"https://api.github.com/users/anthonyfok/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyfok/subscriptions","organizations_url":"https://api.github.com/users/anthonyfok/orgs","repos_url":"https://api.github.com/users/anthonyfok/repos","events_url":"https://api.github.com/users/anthonyfok/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyfok/received_events","type":"User","site_admin":false},"repo":{"id":23478489,"name":"hugo","full_name":"anthonyfok/hugo","owner":{"login":"anthonyfok","id":1274764,"avatar_url":"https://avatars2.githubusercontent.com/u/1274764?v=4","gravatar_id":"","url":"https://api.github.com/users/anthonyfok","html_url":"https://github.com/anthonyfok","followers_url":"https://api.github.com/users/anthonyfok/followers","following_url":"https://api.github.com/users/anthonyfok/following{/other_user}","gists_url":"https://api.github.com/users/anthonyfok/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyfok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyfok/subscriptions","organizations_url":"https://api.github.com/users/anthonyfok/orgs","repos_url":"https://api.github.com/users/anthonyfok/repos","events_url":"https://api.github.com/users/anthonyfok/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyfok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anthonyfok/hugo","description":"A Fast and Flexible Static Site Generator built with love by spf13 in GoLang","fork":true,"url":"https://api.github.com/repos/anthonyfok/hugo","forks_url":"https://api.github.com/repos/anthonyfok/hugo/forks","keys_url":"https://api.github.com/repos/anthonyfok/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anthonyfok/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anthonyfok/hugo/teams","hooks_url":"https://api.github.com/repos/anthonyfok/hugo/hooks","issue_events_url":"https://api.github.com/repos/anthonyfok/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/anthonyfok/hugo/events","assignees_url":"https://api.github.com/repos/anthonyfok/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/anthonyfok/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/anthonyfok/hugo/tags","blobs_url":"https://api.github.com/repos/anthonyfok/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anthonyfok/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anthonyfok/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/anthonyfok/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anthonyfok/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/anthonyfok/hugo/languages","stargazers_url":"https://api.github.com/repos/anthonyfok/hugo/stargazers","contributors_url":"https://api.github.com/repos/anthonyfok/hugo/contributors","subscribers_url":"https://api.github.com/repos/anthonyfok/hugo/subscribers","subscription_url":"https://api.github.com/repos/anthonyfok/hugo/subscription","commits_url":"https://api.github.com/repos/anthonyfok/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/anthonyfok/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/anthonyfok/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/anthonyfok/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/anthonyfok/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/anthonyfok/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anthonyfok/hugo/merges","archive_url":"https://api.github.com/repos/anthonyfok/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anthonyfok/hugo/downloads","issues_url":"https://api.github.com/repos/anthonyfok/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/anthonyfok/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/anthonyfok/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/anthonyfok/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anthonyfok/hugo/labels{/name}","releases_url":"https://api.github.com/repos/anthonyfok/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/anthonyfok/hugo/deployments","created_at":"2014-08-29T21:34:41Z","updated_at":"2018-04-05T12:04:44Z","pushed_at":"2018-04-07T08:31:47Z","git_url":"git://github.com/anthonyfok/hugo.git","ssh_url":"git@github.com:anthonyfok/hugo.git","clone_url":"https://github.com/anthonyfok/hugo.git","svn_url":"https://github.com/anthonyfok/hugo","homepage":"http://gohugo.io","size":54568,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gohugoio:master","ref":"master","sha":"2817e842407c8dcbfc738297ab634392fcb41ce1","user":{"login":"gohugoio","id":29385237,"avatar_url":"https://avatars2.githubusercontent.com/u/29385237?v=4","gravatar_id":"","url":"https://api.github.com/users/gohugoio","html_url":"https://github.com/gohugoio","followers_url":"https://api.github.com/users/gohugoio/followers","following_url":"https://api.github.com/users/gohugoio/following{/other_user}","gists_url":"https://api.github.com/users/gohugoio/gists{/gist_id}","starred_url":"https://api.github.com/users/gohugoio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gohugoio/subscriptions","organizations_url":"https://api.github.com/users/gohugoio/orgs","repos_url":"https://api.github.com/users/gohugoio/repos","events_url":"https://api.github.com/users/gohugoio/events{/privacy}","received_events_url":"https://api.github.com/users/gohugoio/received_events","type":"Organization","site_admin":false},"repo":{"id":11180687,"name":"hugo","full_name":"gohugoio/hugo","owner":{"login":"gohugoio","id":29385237,"avatar_url":"https://avatars2.githubusercontent.com/u/29385237?v=4","gravatar_id":"","url":"https://api.github.com/users/gohugoio","html_url":"https://github.com/gohugoio","followers_url":"https://api.github.com/users/gohugoio/followers","following_url":"https://api.github.com/users/gohugoio/following{/other_user}","gists_url":"https://api.github.com/users/gohugoio/gists{/gist_id}","starred_url":"https://api.github.com/users/gohugoio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gohugoio/subscriptions","organizations_url":"https://api.github.com/users/gohugoio/orgs","repos_url":"https://api.github.com/users/gohugoio/repos","events_url":"https://api.github.com/users/gohugoio/events{/privacy}","received_events_url":"https://api.github.com/users/gohugoio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gohugoio/hugo","description":"The world’s fastest framework for building websites.","fork":false,"url":"https://api.github.com/repos/gohugoio/hugo","forks_url":"https://api.github.com/repos/gohugoio/hugo/forks","keys_url":"https://api.github.com/repos/gohugoio/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gohugoio/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gohugoio/hugo/teams","hooks_url":"https://api.github.com/repos/gohugoio/hugo/hooks","issue_events_url":"https://api.github.com/repos/gohugoio/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/gohugoio/hugo/events","assignees_url":"https://api.github.com/repos/gohugoio/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/gohugoio/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/gohugoio/hugo/tags","blobs_url":"https://api.github.com/repos/gohugoio/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gohugoio/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gohugoio/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gohugoio/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gohugoio/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/gohugoio/hugo/languages","stargazers_url":"https://api.github.com/repos/gohugoio/hugo/stargazers","contributors_url":"https://api.github.com/repos/gohugoio/hugo/contributors","subscribers_url":"https://api.github.com/repos/gohugoio/hugo/subscribers","subscription_url":"https://api.github.com/repos/gohugoio/hugo/subscription","commits_url":"https://api.github.com/repos/gohugoio/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gohugoio/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gohugoio/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gohugoio/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gohugoio/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/gohugoio/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gohugoio/hugo/merges","archive_url":"https://api.github.com/repos/gohugoio/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gohugoio/hugo/downloads","issues_url":"https://api.github.com/repos/gohugoio/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/gohugoio/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/gohugoio/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/gohugoio/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gohugoio/hugo/labels{/name}","releases_url":"https://api.github.com/repos/gohugoio/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/gohugoio/hugo/deployments","created_at":"2013-07-04T15:26:26Z","updated_at":"2018-04-07T09:36:30Z","pushed_at":"2018-04-07T12:07:16Z","git_url":"git://github.com/gohugoio/hugo.git","ssh_url":"git@github.com:gohugoio/hugo.git","clone_url":"https://github.com/gohugoio/hugo.git","svn_url":"https://github.com/gohugoio/hugo","homepage":"https://gohugo.io","size":54359,"stargazers_count":24681,"watchers_count":24681,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3046,"mirror_url":null,"archived":false,"open_issues_count":225,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":3046,"open_issues":225,"watchers":24681,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/4591"},"html":{"href":"https://github.com/gohugoio/hugo/pull/4591"},"issue":{"href":"https://api.github.com/repos/gohugoio/hugo/issues/4591"},"comments":{"href":"https://api.github.com/repos/gohugoio/hugo/issues/4591/comments"},"review_comments":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/4591/comments"},"review_comment":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/4591/commits"},"statuses":{"href":"https://api.github.com/repos/gohugoio/hugo/statuses/a66e190f195f228461dcd5d57456a1a4021dae1d"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":2,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"anthonyfok"}}