{"action":"created","comment":{"url":"https://api.github.com/repos/18F/tock/pulls/comments/166973363","pull_request_review_id":95119870,"id":166973363,"diff_hunk":"@@ -0,0 +1,13 @@\n+def version_url(request):\n+    import re\n+    from django.conf import settings\n+    base_url = 'https://github.com/18F/tock/'\n+    name = settings.VERSION\n+    response = {\n+        'release_url': '%stree/%s' % (base_url, name),\n+        'release_name': settings.VERSION,\n+    }\n+    if re.match('/v20[1-9][0-9][0-9]+\\.[0-9]+/', name):","path":"tock/tock/context_processors.py","position":10,"original_position":10,"commit_id":"e499e058dff824d42badccca3cb72b7f88e1340a","original_commit_id":"e499e058dff824d42badccca3cb72b7f88e1340a","user":{"login":"rogeruiz","id":706004,"avatar_url":"https://avatars1.githubusercontent.com/u/706004?v=4","gravatar_id":"","url":"https://api.github.com/users/rogeruiz","html_url":"https://github.com/rogeruiz","followers_url":"https://api.github.com/users/rogeruiz/followers","following_url":"https://api.github.com/users/rogeruiz/following{/other_user}","gists_url":"https://api.github.com/users/rogeruiz/gists{/gist_id}","starred_url":"https://api.github.com/users/rogeruiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogeruiz/subscriptions","organizations_url":"https://api.github.com/users/rogeruiz/orgs","repos_url":"https://api.github.com/users/rogeruiz/repos","events_url":"https://api.github.com/users/rogeruiz/events{/privacy}","received_events_url":"https://api.github.com/users/rogeruiz/received_events","type":"User","site_admin":false},"body":"I'm using the same regular expression in the `.circleci/config.yml` to match versions for tag filters. I wanted to maintain consistency on how the release tags are matched. wdyt? There are surely better regular expressions here, but maybe a comment about how it matches in that other file is appropriate there?","created_at":"2018-02-08T15:39:35Z","updated_at":"2018-02-08T15:39:35Z","html_url":"https://github.com/18F/tock/pull/719#discussion_r166973363","pull_request_url":"https://api.github.com/repos/18F/tock/pulls/719","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/18F/tock/pulls/comments/166973363"},"html":{"href":"https://github.com/18F/tock/pull/719#discussion_r166973363"},"pull_request":{"href":"https://api.github.com/repos/18F/tock/pulls/719"}},"in_reply_to_id":166741246},"pull_request":{"url":"https://api.github.com/repos/18F/tock/pulls/719","id":167539429,"html_url":"https://github.com/18F/tock/pull/719","diff_url":"https://github.com/18F/tock/pull/719.diff","patch_url":"https://github.com/18F/tock/pull/719.patch","issue_url":"https://api.github.com/repos/18F/tock/issues/719","number":719,"state":"open","locked":false,"title":"Add link to latest release in footer","user":{"login":"rogeruiz","id":706004,"avatar_url":"https://avatars1.githubusercontent.com/u/706004?v=4","gravatar_id":"","url":"https://api.github.com/users/rogeruiz","html_url":"https://github.com/rogeruiz","followers_url":"https://api.github.com/users/rogeruiz/followers","following_url":"https://api.github.com/users/rogeruiz/following{/other_user}","gists_url":"https://api.github.com/users/rogeruiz/gists{/gist_id}","starred_url":"https://api.github.com/users/rogeruiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogeruiz/subscriptions","organizations_url":"https://api.github.com/users/rogeruiz/orgs","repos_url":"https://api.github.com/users/rogeruiz/repos","events_url":"https://api.github.com/users/rogeruiz/events{/privacy}","received_events_url":"https://api.github.com/users/rogeruiz/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\nHelpful after #652 and #712 to show what version is currently deployed to staging and production. \r\n\r\n## Acceptance criteria \r\n\r\n* Check the footer for a link to the mainline branch if on staging \r\n* Check the footer for a link to a GitHub release if on production \r\n","created_at":"2018-02-06T21:53:00Z","updated_at":"2018-02-08T15:39:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e99bf9c5baba1ec9e56886724cd28a13beb74684","assignee":{"login":"rogeruiz","id":706004,"avatar_url":"https://avatars1.githubusercontent.com/u/706004?v=4","gravatar_id":"","url":"https://api.github.com/users/rogeruiz","html_url":"https://github.com/rogeruiz","followers_url":"https://api.github.com/users/rogeruiz/followers","following_url":"https://api.github.com/users/rogeruiz/following{/other_user}","gists_url":"https://api.github.com/users/rogeruiz/gists{/gist_id}","starred_url":"https://api.github.com/users/rogeruiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogeruiz/subscriptions","organizations_url":"https://api.github.com/users/rogeruiz/orgs","repos_url":"https://api.github.com/users/rogeruiz/repos","events_url":"https://api.github.com/users/rogeruiz/events{/privacy}","received_events_url":"https://api.github.com/users/rogeruiz/received_events","type":"User","site_admin":false},"assignees":[{"login":"rogeruiz","id":706004,"avatar_url":"https://avatars1.githubusercontent.com/u/706004?v=4","gravatar_id":"","url":"https://api.github.com/users/rogeruiz","html_url":"https://github.com/rogeruiz","followers_url":"https://api.github.com/users/rogeruiz/followers","following_url":"https://api.github.com/users/rogeruiz/following{/other_user}","gists_url":"https://api.github.com/users/rogeruiz/gists{/gist_id}","starred_url":"https://api.github.com/users/rogeruiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogeruiz/subscriptions","organizations_url":"https://api.github.com/users/rogeruiz/orgs","repos_url":"https://api.github.com/users/rogeruiz/repos","events_url":"https://api.github.com/users/rogeruiz/events{/privacy}","received_events_url":"https://api.github.com/users/rogeruiz/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ccostino","id":121565,"avatar_url":"https://avatars3.githubusercontent.com/u/121565?v=4","gravatar_id":"","url":"https://api.github.com/users/ccostino","html_url":"https://github.com/ccostino","followers_url":"https://api.github.com/users/ccostino/followers","following_url":"https://api.github.com/users/ccostino/following{/other_user}","gists_url":"https://api.github.com/users/ccostino/gists{/gist_id}","starred_url":"https://api.github.com/users/ccostino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccostino/subscriptions","organizations_url":"https://api.github.com/users/ccostino/orgs","repos_url":"https://api.github.com/users/ccostino/repos","events_url":"https://api.github.com/users/ccostino/events{/privacy}","received_events_url":"https://api.github.com/users/ccostino/received_events","type":"User","site_admin":false},{"login":"annalee","id":1122643,"avatar_url":"https://avatars2.githubusercontent.com/u/1122643?v=4","gravatar_id":"","url":"https://api.github.com/users/annalee","html_url":"https://github.com/annalee","followers_url":"https://api.github.com/users/annalee/followers","following_url":"https://api.github.com/users/annalee/following{/other_user}","gists_url":"https://api.github.com/users/annalee/gists{/gist_id}","starred_url":"https://api.github.com/users/annalee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annalee/subscriptions","organizations_url":"https://api.github.com/users/annalee/orgs","repos_url":"https://api.github.com/users/annalee/repos","events_url":"https://api.github.com/users/annalee/events{/privacy}","received_events_url":"https://api.github.com/users/annalee/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/18F/tock/pulls/719/commits","review_comments_url":"https://api.github.com/repos/18F/tock/pulls/719/comments","review_comment_url":"https://api.github.com/repos/18F/tock/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/tock/issues/719/comments","statuses_url":"https://api.github.com/repos/18F/tock/statuses/e499e058dff824d42badccca3cb72b7f88e1340a","head":{"label":"18F:version-the-footer","ref":"version-the-footer","sha":"e499e058dff824d42badccca3cb72b7f88e1340a","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":30162008,"name":"tock","full_name":"18F/tock","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/tock","description":"We use Tock to track and report our time at 18F","fork":false,"url":"https://api.github.com/repos/18F/tock","forks_url":"https://api.github.com/repos/18F/tock/forks","keys_url":"https://api.github.com/repos/18F/tock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/tock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/tock/teams","hooks_url":"https://api.github.com/repos/18F/tock/hooks","issue_events_url":"https://api.github.com/repos/18F/tock/issues/events{/number}","events_url":"https://api.github.com/repos/18F/tock/events","assignees_url":"https://api.github.com/repos/18F/tock/assignees{/user}","branches_url":"https://api.github.com/repos/18F/tock/branches{/branch}","tags_url":"https://api.github.com/repos/18F/tock/tags","blobs_url":"https://api.github.com/repos/18F/tock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/tock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/tock/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/tock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/tock/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/tock/languages","stargazers_url":"https://api.github.com/repos/18F/tock/stargazers","contributors_url":"https://api.github.com/repos/18F/tock/contributors","subscribers_url":"https://api.github.com/repos/18F/tock/subscribers","subscription_url":"https://api.github.com/repos/18F/tock/subscription","commits_url":"https://api.github.com/repos/18F/tock/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/tock/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/tock/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/tock/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/tock/contents/{+path}","compare_url":"https://api.github.com/repos/18F/tock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/tock/merges","archive_url":"https://api.github.com/repos/18F/tock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/tock/downloads","issues_url":"https://api.github.com/repos/18F/tock/issues{/number}","pulls_url":"https://api.github.com/repos/18F/tock/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/tock/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/tock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/tock/labels{/name}","releases_url":"https://api.github.com/repos/18F/tock/releases{/id}","deployments_url":"https://api.github.com/repos/18F/tock/deployments","created_at":"2015-02-01T22:19:32Z","updated_at":"2018-02-06T03:43:43Z","pushed_at":"2018-02-07T18:49:46Z","git_url":"git://github.com/18F/tock.git","ssh_url":"git@github.com:18F/tock.git","clone_url":"https://github.com/18F/tock.git","svn_url":"https://github.com/18F/tock","homepage":"https://18f.gsa.gov/2015/05/21/TockingTime/","size":4455,"stargazers_count":96,"watchers_count":96,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":32,"open_issues":40,"watchers":96,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"4c95ada3fc69036de04609f640c08d41e26eb4dc","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":30162008,"name":"tock","full_name":"18F/tock","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars0.githubusercontent.com/u/6233994?v=4","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/tock","description":"We use Tock to track and report our time at 18F","fork":false,"url":"https://api.github.com/repos/18F/tock","forks_url":"https://api.github.com/repos/18F/tock/forks","keys_url":"https://api.github.com/repos/18F/tock/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/tock/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/tock/teams","hooks_url":"https://api.github.com/repos/18F/tock/hooks","issue_events_url":"https://api.github.com/repos/18F/tock/issues/events{/number}","events_url":"https://api.github.com/repos/18F/tock/events","assignees_url":"https://api.github.com/repos/18F/tock/assignees{/user}","branches_url":"https://api.github.com/repos/18F/tock/branches{/branch}","tags_url":"https://api.github.com/repos/18F/tock/tags","blobs_url":"https://api.github.com/repos/18F/tock/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/tock/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/tock/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/tock/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/tock/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/tock/languages","stargazers_url":"https://api.github.com/repos/18F/tock/stargazers","contributors_url":"https://api.github.com/repos/18F/tock/contributors","subscribers_url":"https://api.github.com/repos/18F/tock/subscribers","subscription_url":"https://api.github.com/repos/18F/tock/subscription","commits_url":"https://api.github.com/repos/18F/tock/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/tock/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/tock/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/tock/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/tock/contents/{+path}","compare_url":"https://api.github.com/repos/18F/tock/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/tock/merges","archive_url":"https://api.github.com/repos/18F/tock/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/tock/downloads","issues_url":"https://api.github.com/repos/18F/tock/issues{/number}","pulls_url":"https://api.github.com/repos/18F/tock/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/tock/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/tock/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/tock/labels{/name}","releases_url":"https://api.github.com/repos/18F/tock/releases{/id}","deployments_url":"https://api.github.com/repos/18F/tock/deployments","created_at":"2015-02-01T22:19:32Z","updated_at":"2018-02-06T03:43:43Z","pushed_at":"2018-02-07T18:49:46Z","git_url":"git://github.com/18F/tock.git","ssh_url":"git@github.com:18F/tock.git","clone_url":"https://github.com/18F/tock.git","svn_url":"https://github.com/18F/tock","homepage":"https://18f.gsa.gov/2015/05/21/TockingTime/","size":4455,"stargazers_count":96,"watchers_count":96,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":40,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":32,"open_issues":40,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/tock/pulls/719"},"html":{"href":"https://github.com/18F/tock/pull/719"},"issue":{"href":"https://api.github.com/repos/18F/tock/issues/719"},"comments":{"href":"https://api.github.com/repos/18F/tock/issues/719/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/tock/pulls/719/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/tock/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/tock/pulls/719/commits"},"statuses":{"href":"https://api.github.com/repos/18F/tock/statuses/e499e058dff824d42badccca3cb72b7f88e1340a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"rogeruiz"}}