{"action":"closed","number":2804,"pull_request":{"url":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/2804","id":162840483,"html_url":"https://github.com/greasemonkey/greasemonkey/pull/2804","diff_url":"https://github.com/greasemonkey/greasemonkey/pull/2804.diff","patch_url":"https://github.com/greasemonkey/greasemonkey/pull/2804.patch","issue_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2804","number":2804,"state":"closed","locked":false,"title":"Add import userscript from file","user":{"login":"Sxderp","id":6609453,"avatar_url":"https://avatars0.githubusercontent.com/u/6609453?v=4","gravatar_id":"","url":"https://api.github.com/users/Sxderp","html_url":"https://github.com/Sxderp","followers_url":"https://api.github.com/users/Sxderp/followers","following_url":"https://api.github.com/users/Sxderp/following{/other_user}","gists_url":"https://api.github.com/users/Sxderp/gists{/gist_id}","starred_url":"https://api.github.com/users/Sxderp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sxderp/subscriptions","organizations_url":"https://api.github.com/users/Sxderp/orgs","repos_url":"https://api.github.com/users/Sxderp/repos","events_url":"https://api.github.com/users/Sxderp/events{/privacy}","received_events_url":"https://api.github.com/users/Sxderp/received_events","type":"User","site_admin":false},"body":"Addresses #2612.\r\n\r\nNot as nice as being able to navigate to the file but the the baseline result is the same. Unfortunately due to Mozilla issues with the panel a new tab has to be opened. When the relevant bug is fixed the import code should be copy/pastable directly into the Monkey Menu (necessary elements are in place).\r\n\r\nI also have another branch that deals with import/export of the entire database, but that's somewhat reliant on the value-store PR (well, it could be done without the PR, but it makes things a bit simpler).","created_at":"2018-01-14T19:58:18Z","updated_at":"2018-02-02T23:50:01Z","closed_at":"2018-02-02T23:50:01Z","merged_at":null,"merge_commit_sha":"1a7414ddc0987ee2462c9d978e92ebcfaeba2d9e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/2804/commits","review_comments_url":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/2804/comments","review_comment_url":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/comments{/number}","comments_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2804/comments","statuses_url":"https://api.github.com/repos/greasemonkey/greasemonkey/statuses/c1f8227f218a84908eed8199bcba01871d1b5909","head":{"label":"Sxderp:import-script-from-file","ref":"import-script-from-file","sha":"c1f8227f218a84908eed8199bcba01871d1b5909","user":{"login":"Sxderp","id":6609453,"avatar_url":"https://avatars0.githubusercontent.com/u/6609453?v=4","gravatar_id":"","url":"https://api.github.com/users/Sxderp","html_url":"https://github.com/Sxderp","followers_url":"https://api.github.com/users/Sxderp/followers","following_url":"https://api.github.com/users/Sxderp/following{/other_user}","gists_url":"https://api.github.com/users/Sxderp/gists{/gist_id}","starred_url":"https://api.github.com/users/Sxderp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sxderp/subscriptions","organizations_url":"https://api.github.com/users/Sxderp/orgs","repos_url":"https://api.github.com/users/Sxderp/repos","events_url":"https://api.github.com/users/Sxderp/events{/privacy}","received_events_url":"https://api.github.com/users/Sxderp/received_events","type":"User","site_admin":false},"repo":{"id":103305916,"name":"greasemonkey","full_name":"Sxderp/greasemonkey","owner":{"login":"Sxderp","id":6609453,"avatar_url":"https://avatars0.githubusercontent.com/u/6609453?v=4","gravatar_id":"","url":"https://api.github.com/users/Sxderp","html_url":"https://github.com/Sxderp","followers_url":"https://api.github.com/users/Sxderp/followers","following_url":"https://api.github.com/users/Sxderp/following{/other_user}","gists_url":"https://api.github.com/users/Sxderp/gists{/gist_id}","starred_url":"https://api.github.com/users/Sxderp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sxderp/subscriptions","organizations_url":"https://api.github.com/users/Sxderp/orgs","repos_url":"https://api.github.com/users/Sxderp/repos","events_url":"https://api.github.com/users/Sxderp/events{/privacy}","received_events_url":"https://api.github.com/users/Sxderp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sxderp/greasemonkey","description":"Greasemonkey is a user script manager for Firefox.","fork":true,"url":"https://api.github.com/repos/Sxderp/greasemonkey","forks_url":"https://api.github.com/repos/Sxderp/greasemonkey/forks","keys_url":"https://api.github.com/repos/Sxderp/greasemonkey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sxderp/greasemonkey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sxderp/greasemonkey/teams","hooks_url":"https://api.github.com/repos/Sxderp/greasemonkey/hooks","issue_events_url":"https://api.github.com/repos/Sxderp/greasemonkey/issues/events{/number}","events_url":"https://api.github.com/repos/Sxderp/greasemonkey/events","assignees_url":"https://api.github.com/repos/Sxderp/greasemonkey/assignees{/user}","branches_url":"https://api.github.com/repos/Sxderp/greasemonkey/branches{/branch}","tags_url":"https://api.github.com/repos/Sxderp/greasemonkey/tags","blobs_url":"https://api.github.com/repos/Sxderp/greasemonkey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sxderp/greasemonkey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sxderp/greasemonkey/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sxderp/greasemonkey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sxderp/greasemonkey/statuses/{sha}","languages_url":"https://api.github.com/repos/Sxderp/greasemonkey/languages","stargazers_url":"https://api.github.com/repos/Sxderp/greasemonkey/stargazers","contributors_url":"https://api.github.com/repos/Sxderp/greasemonkey/contributors","subscribers_url":"https://api.github.com/repos/Sxderp/greasemonkey/subscribers","subscription_url":"https://api.github.com/repos/Sxderp/greasemonkey/subscription","commits_url":"https://api.github.com/repos/Sxderp/greasemonkey/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sxderp/greasemonkey/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sxderp/greasemonkey/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sxderp/greasemonkey/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sxderp/greasemonkey/contents/{+path}","compare_url":"https://api.github.com/repos/Sxderp/greasemonkey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sxderp/greasemonkey/merges","archive_url":"https://api.github.com/repos/Sxderp/greasemonkey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sxderp/greasemonkey/downloads","issues_url":"https://api.github.com/repos/Sxderp/greasemonkey/issues{/number}","pulls_url":"https://api.github.com/repos/Sxderp/greasemonkey/pulls{/number}","milestones_url":"https://api.github.com/repos/Sxderp/greasemonkey/milestones{/number}","notifications_url":"https://api.github.com/repos/Sxderp/greasemonkey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sxderp/greasemonkey/labels{/name}","releases_url":"https://api.github.com/repos/Sxderp/greasemonkey/releases{/id}","deployments_url":"https://api.github.com/repos/Sxderp/greasemonkey/deployments","created_at":"2017-09-12T18:17:39Z","updated_at":"2017-09-12T18:17:41Z","pushed_at":"2018-02-02T00:22:56Z","git_url":"git://github.com/Sxderp/greasemonkey.git","ssh_url":"git@github.com:Sxderp/greasemonkey.git","clone_url":"https://github.com/Sxderp/greasemonkey.git","svn_url":"https://github.com/Sxderp/greasemonkey","homepage":"http://www.greasespot.net/","size":5488,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"greasemonkey:master","ref":"master","sha":"70ef7ceb69bc298a235fb6f7ab8caafbb1038589","user":{"login":"greasemonkey","id":87285,"avatar_url":"https://avatars3.githubusercontent.com/u/87285?v=4","gravatar_id":"","url":"https://api.github.com/users/greasemonkey","html_url":"https://github.com/greasemonkey","followers_url":"https://api.github.com/users/greasemonkey/followers","following_url":"https://api.github.com/users/greasemonkey/following{/other_user}","gists_url":"https://api.github.com/users/greasemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/greasemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greasemonkey/subscriptions","organizations_url":"https://api.github.com/users/greasemonkey/orgs","repos_url":"https://api.github.com/users/greasemonkey/repos","events_url":"https://api.github.com/users/greasemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/greasemonkey/received_events","type":"User","site_admin":false},"repo":{"id":269333,"name":"greasemonkey","full_name":"greasemonkey/greasemonkey","owner":{"login":"greasemonkey","id":87285,"avatar_url":"https://avatars3.githubusercontent.com/u/87285?v=4","gravatar_id":"","url":"https://api.github.com/users/greasemonkey","html_url":"https://github.com/greasemonkey","followers_url":"https://api.github.com/users/greasemonkey/followers","following_url":"https://api.github.com/users/greasemonkey/following{/other_user}","gists_url":"https://api.github.com/users/greasemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/greasemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greasemonkey/subscriptions","organizations_url":"https://api.github.com/users/greasemonkey/orgs","repos_url":"https://api.github.com/users/greasemonkey/repos","events_url":"https://api.github.com/users/greasemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/greasemonkey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/greasemonkey/greasemonkey","description":"Greasemonkey is a user script manager for Firefox.","fork":false,"url":"https://api.github.com/repos/greasemonkey/greasemonkey","forks_url":"https://api.github.com/repos/greasemonkey/greasemonkey/forks","keys_url":"https://api.github.com/repos/greasemonkey/greasemonkey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/greasemonkey/greasemonkey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/greasemonkey/greasemonkey/teams","hooks_url":"https://api.github.com/repos/greasemonkey/greasemonkey/hooks","issue_events_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/events{/number}","events_url":"https://api.github.com/repos/greasemonkey/greasemonkey/events","assignees_url":"https://api.github.com/repos/greasemonkey/greasemonkey/assignees{/user}","branches_url":"https://api.github.com/repos/greasemonkey/greasemonkey/branches{/branch}","tags_url":"https://api.github.com/repos/greasemonkey/greasemonkey/tags","blobs_url":"https://api.github.com/repos/greasemonkey/greasemonkey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/greasemonkey/greasemonkey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/greasemonkey/greasemonkey/git/refs{/sha}","trees_url":"https://api.github.com/repos/greasemonkey/greasemonkey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/greasemonkey/greasemonkey/statuses/{sha}","languages_url":"https://api.github.com/repos/greasemonkey/greasemonkey/languages","stargazers_url":"https://api.github.com/repos/greasemonkey/greasemonkey/stargazers","contributors_url":"https://api.github.com/repos/greasemonkey/greasemonkey/contributors","subscribers_url":"https://api.github.com/repos/greasemonkey/greasemonkey/subscribers","subscription_url":"https://api.github.com/repos/greasemonkey/greasemonkey/subscription","commits_url":"https://api.github.com/repos/greasemonkey/greasemonkey/commits{/sha}","git_commits_url":"https://api.github.com/repos/greasemonkey/greasemonkey/git/commits{/sha}","comments_url":"https://api.github.com/repos/greasemonkey/greasemonkey/comments{/number}","issue_comment_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/comments{/number}","contents_url":"https://api.github.com/repos/greasemonkey/greasemonkey/contents/{+path}","compare_url":"https://api.github.com/repos/greasemonkey/greasemonkey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/greasemonkey/greasemonkey/merges","archive_url":"https://api.github.com/repos/greasemonkey/greasemonkey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/greasemonkey/greasemonkey/downloads","issues_url":"https://api.github.com/repos/greasemonkey/greasemonkey/issues{/number}","pulls_url":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls{/number}","milestones_url":"https://api.github.com/repos/greasemonkey/greasemonkey/milestones{/number}","notifications_url":"https://api.github.com/repos/greasemonkey/greasemonkey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/greasemonkey/greasemonkey/labels{/name}","releases_url":"https://api.github.com/repos/greasemonkey/greasemonkey/releases{/id}","deployments_url":"https://api.github.com/repos/greasemonkey/greasemonkey/deployments","created_at":"2009-08-05T02:10:55Z","updated_at":"2018-02-02T10:25:02Z","pushed_at":"2018-02-02T21:14:11Z","git_url":"git://github.com/greasemonkey/greasemonkey.git","ssh_url":"git@github.com:greasemonkey/greasemonkey.git","clone_url":"https://github.com/greasemonkey/greasemonkey.git","svn_url":"https://github.com/greasemonkey/greasemonkey","homepage":"http://www.greasespot.net/","size":5404,"stargazers_count":1402,"watchers_count":1402,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":266,"mirror_url":null,"archived":false,"open_issues_count":87,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":266,"open_issues":87,"watchers":1402,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/2804"},"html":{"href":"https://github.com/greasemonkey/greasemonkey/pull/2804"},"issue":{"href":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2804"},"comments":{"href":"https://api.github.com/repos/greasemonkey/greasemonkey/issues/2804/comments"},"review_comments":{"href":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/2804/comments"},"review_comment":{"href":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/greasemonkey/greasemonkey/pulls/2804/commits"},"statuses":{"href":"https://api.github.com/repos/greasemonkey/greasemonkey/statuses/c1f8227f218a84908eed8199bcba01871d1b5909"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"clean","merged_by":null,"comments":7,"review_comments":9,"maintainer_can_modify":false,"commits":6,"additions":279,"deletions":8,"changed_files":14}}
{"actor":{"display_login":"Sxderp"}}