{"action":"closed","number":8212,"pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8212","id":23671366,"html_url":"https://github.com/gitlabhq/gitlabhq/pull/8212","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/8212.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/8212.patch","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8212","number":8212,"state":"closed","locked":false,"title":"Fix auto-selection of URL field with X11 selection","user":{"login":"dmedvinsky","id":104330,"avatar_url":"https://avatars.githubusercontent.com/u/104330?v=3","gravatar_id":"","url":"https://api.github.com/users/dmedvinsky","html_url":"https://github.com/dmedvinsky","followers_url":"https://api.github.com/users/dmedvinsky/followers","following_url":"https://api.github.com/users/dmedvinsky/following{/other_user}","gists_url":"https://api.github.com/users/dmedvinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dmedvinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmedvinsky/subscriptions","organizations_url":"https://api.github.com/users/dmedvinsky/orgs","repos_url":"https://api.github.com/users/dmedvinsky/repos","events_url":"https://api.github.com/users/dmedvinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dmedvinsky/received_events","type":"User","site_admin":false},"body":"We use `focusin` event instead of `click` because when using the latter,\r\nwhen the selection is created it isn't put into X11 PRIMARY selection.\r\nAnd as a Linux user I'm very used to such behaviour that when something\r\ngets selected, it's ready for pasting, which is the primary purpose of\r\nthe clone URL field.\r\n\r\nWhen `focusin` is used, the selection is copied to X11 buffer\r\nautomatically, so it works as expected (tested in Firefox and Chrome).","created_at":"2014-10-31T11:54:43Z","updated_at":"2015-04-17T08:59:21Z","closed_at":"2015-04-17T08:59:20Z","merged_at":"2015-04-17T08:59:20Z","merge_commit_sha":"8e8eda474579928fa9492e8cba0b5ed51b610c7e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8212/commits","review_comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8212/comments","review_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8212/comments","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/92544df8da414d506d56b12a6f7077d6abc1e80b","head":{"label":"dmedvinsky:fix-url-field","ref":"fix-url-field","sha":"92544df8da414d506d56b12a6f7077d6abc1e80b","user":{"login":"dmedvinsky","id":104330,"avatar_url":"https://avatars.githubusercontent.com/u/104330?v=3","gravatar_id":"","url":"https://api.github.com/users/dmedvinsky","html_url":"https://github.com/dmedvinsky","followers_url":"https://api.github.com/users/dmedvinsky/followers","following_url":"https://api.github.com/users/dmedvinsky/following{/other_user}","gists_url":"https://api.github.com/users/dmedvinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dmedvinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmedvinsky/subscriptions","organizations_url":"https://api.github.com/users/dmedvinsky/orgs","repos_url":"https://api.github.com/users/dmedvinsky/repos","events_url":"https://api.github.com/users/dmedvinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dmedvinsky/received_events","type":"User","site_admin":false},"repo":{"id":8292642,"name":"gitlabhq","full_name":"dmedvinsky/gitlabhq","owner":{"login":"dmedvinsky","id":104330,"avatar_url":"https://avatars.githubusercontent.com/u/104330?v=3","gravatar_id":"","url":"https://api.github.com/users/dmedvinsky","html_url":"https://github.com/dmedvinsky","followers_url":"https://api.github.com/users/dmedvinsky/followers","following_url":"https://api.github.com/users/dmedvinsky/following{/other_user}","gists_url":"https://api.github.com/users/dmedvinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dmedvinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmedvinsky/subscriptions","organizations_url":"https://api.github.com/users/dmedvinsky/orgs","repos_url":"https://api.github.com/users/dmedvinsky/repos","events_url":"https://api.github.com/users/dmedvinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dmedvinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmedvinsky/gitlabhq","description":"Project management and code hosting  application. Follow us on twitter @gitlabhq","fork":true,"url":"https://api.github.com/repos/dmedvinsky/gitlabhq","forks_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/forks","keys_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/teams","hooks_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/events","assignees_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/tags","blobs_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/subscription","commits_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/merges","archive_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/downloads","issues_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/dmedvinsky/gitlabhq/releases{/id}","created_at":"2013-02-19T15:11:57Z","updated_at":"2014-10-31T11:53:05Z","pushed_at":"2015-04-17T07:16:30Z","git_url":"git://github.com/dmedvinsky/gitlabhq.git","ssh_url":"git@github.com:dmedvinsky/gitlabhq.git","clone_url":"https://github.com/dmedvinsky/gitlabhq.git","svn_url":"https://github.com/dmedvinsky/gitlabhq","homepage":"gitlab.org","size":93100,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gitlabhq:master","ref":"master","sha":"f71a4b145a454f33b9e6bec08e698426eb4a4994","user":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"repo":{"id":2500088,"name":"gitlabhq","full_name":"gitlabhq/gitlabhq","owner":{"login":"gitlabhq","id":1086321,"avatar_url":"https://avatars.githubusercontent.com/u/1086321?v=3","gravatar_id":"","url":"https://api.github.com/users/gitlabhq","html_url":"https://github.com/gitlabhq","followers_url":"https://api.github.com/users/gitlabhq/followers","following_url":"https://api.github.com/users/gitlabhq/following{/other_user}","gists_url":"https://api.github.com/users/gitlabhq/gists{/gist_id}","starred_url":"https://api.github.com/users/gitlabhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitlabhq/subscriptions","organizations_url":"https://api.github.com/users/gitlabhq/orgs","repos_url":"https://api.github.com/users/gitlabhq/repos","events_url":"https://api.github.com/users/gitlabhq/events{/privacy}","received_events_url":"https://api.github.com/users/gitlabhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gitlabhq/gitlabhq","description":"GitLab is version control for your server","fork":false,"url":"https://api.github.com/repos/gitlabhq/gitlabhq","forks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/forks","keys_url":"https://api.github.com/repos/gitlabhq/gitlabhq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitlabhq/gitlabhq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitlabhq/gitlabhq/teams","hooks_url":"https://api.github.com/repos/gitlabhq/gitlabhq/hooks","issue_events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/events{/number}","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/events","assignees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/assignees{/user}","branches_url":"https://api.github.com/repos/gitlabhq/gitlabhq/branches{/branch}","tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/tags","blobs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/{sha}","languages_url":"https://api.github.com/repos/gitlabhq/gitlabhq/languages","stargazers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/stargazers","contributors_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contributors","subscribers_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscribers","subscription_url":"https://api.github.com/repos/gitlabhq/gitlabhq/subscription","commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitlabhq/gitlabhq/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments{/number}","contents_url":"https://api.github.com/repos/gitlabhq/gitlabhq/contents/{+path}","compare_url":"https://api.github.com/repos/gitlabhq/gitlabhq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitlabhq/gitlabhq/merges","archive_url":"https://api.github.com/repos/gitlabhq/gitlabhq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitlabhq/gitlabhq/downloads","issues_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues{/number}","pulls_url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls{/number}","milestones_url":"https://api.github.com/repos/gitlabhq/gitlabhq/milestones{/number}","notifications_url":"https://api.github.com/repos/gitlabhq/gitlabhq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels{/name}","releases_url":"https://api.github.com/repos/gitlabhq/gitlabhq/releases{/id}","created_at":"2011-10-02T16:25:27Z","updated_at":"2015-04-17T08:59:08Z","pushed_at":"2015-04-17T08:59:23Z","git_url":"git://github.com/gitlabhq/gitlabhq.git","ssh_url":"git@github.com:gitlabhq/gitlabhq.git","clone_url":"https://github.com/gitlabhq/gitlabhq.git","svn_url":"https://github.com/gitlabhq/gitlabhq","homepage":"https://gitlab.com/gitlab-org/gitlab-ce/tree/master","size":162934,"stargazers_count":15319,"watchers_count":15319,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4077,"mirror_url":null,"open_issues_count":781,"forks":4077,"open_issues":781,"watchers":15319,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8212"},"html":{"href":"https://github.com/gitlabhq/gitlabhq/pull/8212"},"issue":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8212"},"comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8212/comments"},"review_comments":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8212/comments"},"review_comment":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8212/commits"},"statuses":{"href":"https://api.github.com/repos/gitlabhq/gitlabhq/statuses/92544df8da414d506d56b12a6f7077d6abc1e80b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"maxlazio","id":819559,"avatar_url":"https://avatars.githubusercontent.com/u/819559?v=3","gravatar_id":"","url":"https://api.github.com/users/maxlazio","html_url":"https://github.com/maxlazio","followers_url":"https://api.github.com/users/maxlazio/followers","following_url":"https://api.github.com/users/maxlazio/following{/other_user}","gists_url":"https://api.github.com/users/maxlazio/gists{/gist_id}","starred_url":"https://api.github.com/users/maxlazio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxlazio/subscriptions","organizations_url":"https://api.github.com/users/maxlazio/orgs","repos_url":"https://api.github.com/users/maxlazio/repos","events_url":"https://api.github.com/users/maxlazio/events{/privacy}","received_events_url":"https://api.github.com/users/maxlazio/received_events","type":"User","site_admin":false},"comments":18,"review_comments":1,"commits":1,"additions":4,"deletions":4,"changed_files":3}}