{"action":"opened","number":390,"pull_request":{"url":"https://api.github.com/repos/Weasyl/weasyl/pulls/390","id":198445288,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDQ1Mjg4","html_url":"https://github.com/Weasyl/weasyl/pull/390","diff_url":"https://github.com/Weasyl/weasyl/pull/390.diff","patch_url":"https://github.com/Weasyl/weasyl/pull/390.patch","issue_url":"https://api.github.com/repos/Weasyl/weasyl/issues/390","number":390,"state":"open","locked":false,"title":"Convert Staff YAML to JSON","user":{"login":"kfkitsune","id":19718911,"node_id":"MDQ6VXNlcjE5NzE4OTEx","avatar_url":"https://avatars3.githubusercontent.com/u/19718911?v=4","gravatar_id":"","url":"https://api.github.com/users/kfkitsune","html_url":"https://github.com/kfkitsune","followers_url":"https://api.github.com/users/kfkitsune/followers","following_url":"https://api.github.com/users/kfkitsune/following{/other_user}","gists_url":"https://api.github.com/users/kfkitsune/gists{/gist_id}","starred_url":"https://api.github.com/users/kfkitsune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfkitsune/subscriptions","organizations_url":"https://api.github.com/users/kfkitsune/orgs","repos_url":"https://api.github.com/users/kfkitsune/repos","events_url":"https://api.github.com/users/kfkitsune/events{/privacy}","received_events_url":"https://api.github.com/users/kfkitsune/received_events","type":"User","site_admin":false},"body":"Because it seems peculiar to have a package for a single YAML file, when Python can ingest JSON natively. So let's ditch ``pyyaml`` as a requirement for libweasyl as a bit of housekeeping, and use what Python provides.\r\n\r\nNOTE:\r\nOps _**will**_ need to convert the staff YAML file to JSON before this can be deployed to either testing or prod. Otherwise no staff will exist, as the changed code depends on the .json file to exist to load in staff.\r\n\r\n(Also, the example JSON file was cleaned of some old/erroring IDs; I suspect the removed IDs from the YAML-to-JSON conversion weren't exported with the development DB, so it would KeyError upon trying to visit the ``/staff`` page.)","created_at":"2018-06-29T23:30:45Z","updated_at":"2018-06-29T23:30:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":403137506,"node_id":"MDU6TGFiZWw0MDMxMzc1MDY=","url":"https://api.github.com/repos/Weasyl/weasyl/labels/DO%20NOT%20MERGE%20YET","name":"DO NOT MERGE YET","color":"d93f0b","default":false},{"id":384575637,"node_id":"MDU6TGFiZWwzODQ1NzU2Mzc=","url":"https://api.github.com/repos/Weasyl/weasyl/labels/cleanup","name":"cleanup","color":"0052cc","default":false},{"id":392244548,"node_id":"MDU6TGFiZWwzOTIyNDQ1NDg=","url":"https://api.github.com/repos/Weasyl/weasyl/labels/waiting%20on%20ops","name":"waiting on ops","color":"d93f0b","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Weasyl/weasyl/pulls/390/commits","review_comments_url":"https://api.github.com/repos/Weasyl/weasyl/pulls/390/comments","review_comment_url":"https://api.github.com/repos/Weasyl/weasyl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Weasyl/weasyl/issues/390/comments","statuses_url":"https://api.github.com/repos/Weasyl/weasyl/statuses/89212746e48fb62479c73b36715dcc6cac1100cd","head":{"label":"kfkitsune:staff-yaml-to-json","ref":"staff-yaml-to-json","sha":"89212746e48fb62479c73b36715dcc6cac1100cd","user":{"login":"kfkitsune","id":19718911,"node_id":"MDQ6VXNlcjE5NzE4OTEx","avatar_url":"https://avatars3.githubusercontent.com/u/19718911?v=4","gravatar_id":"","url":"https://api.github.com/users/kfkitsune","html_url":"https://github.com/kfkitsune","followers_url":"https://api.github.com/users/kfkitsune/followers","following_url":"https://api.github.com/users/kfkitsune/following{/other_user}","gists_url":"https://api.github.com/users/kfkitsune/gists{/gist_id}","starred_url":"https://api.github.com/users/kfkitsune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfkitsune/subscriptions","organizations_url":"https://api.github.com/users/kfkitsune/orgs","repos_url":"https://api.github.com/users/kfkitsune/repos","events_url":"https://api.github.com/users/kfkitsune/events{/privacy}","received_events_url":"https://api.github.com/users/kfkitsune/received_events","type":"User","site_admin":false},"repo":{"id":60300859,"node_id":"MDEwOlJlcG9zaXRvcnk2MDMwMDg1OQ==","name":"weasyl","full_name":"kfkitsune/weasyl","owner":{"login":"kfkitsune","id":19718911,"node_id":"MDQ6VXNlcjE5NzE4OTEx","avatar_url":"https://avatars3.githubusercontent.com/u/19718911?v=4","gravatar_id":"","url":"https://api.github.com/users/kfkitsune","html_url":"https://github.com/kfkitsune","followers_url":"https://api.github.com/users/kfkitsune/followers","following_url":"https://api.github.com/users/kfkitsune/following{/other_user}","gists_url":"https://api.github.com/users/kfkitsune/gists{/gist_id}","starred_url":"https://api.github.com/users/kfkitsune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfkitsune/subscriptions","organizations_url":"https://api.github.com/users/kfkitsune/orgs","repos_url":"https://api.github.com/users/kfkitsune/repos","events_url":"https://api.github.com/users/kfkitsune/events{/privacy}","received_events_url":"https://api.github.com/users/kfkitsune/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kfkitsune/weasyl","description":"The website.","fork":true,"url":"https://api.github.com/repos/kfkitsune/weasyl","forks_url":"https://api.github.com/repos/kfkitsune/weasyl/forks","keys_url":"https://api.github.com/repos/kfkitsune/weasyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kfkitsune/weasyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kfkitsune/weasyl/teams","hooks_url":"https://api.github.com/repos/kfkitsune/weasyl/hooks","issue_events_url":"https://api.github.com/repos/kfkitsune/weasyl/issues/events{/number}","events_url":"https://api.github.com/repos/kfkitsune/weasyl/events","assignees_url":"https://api.github.com/repos/kfkitsune/weasyl/assignees{/user}","branches_url":"https://api.github.com/repos/kfkitsune/weasyl/branches{/branch}","tags_url":"https://api.github.com/repos/kfkitsune/weasyl/tags","blobs_url":"https://api.github.com/repos/kfkitsune/weasyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kfkitsune/weasyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kfkitsune/weasyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/kfkitsune/weasyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kfkitsune/weasyl/statuses/{sha}","languages_url":"https://api.github.com/repos/kfkitsune/weasyl/languages","stargazers_url":"https://api.github.com/repos/kfkitsune/weasyl/stargazers","contributors_url":"https://api.github.com/repos/kfkitsune/weasyl/contributors","subscribers_url":"https://api.github.com/repos/kfkitsune/weasyl/subscribers","subscription_url":"https://api.github.com/repos/kfkitsune/weasyl/subscription","commits_url":"https://api.github.com/repos/kfkitsune/weasyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/kfkitsune/weasyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/kfkitsune/weasyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/kfkitsune/weasyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/kfkitsune/weasyl/contents/{+path}","compare_url":"https://api.github.com/repos/kfkitsune/weasyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kfkitsune/weasyl/merges","archive_url":"https://api.github.com/repos/kfkitsune/weasyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kfkitsune/weasyl/downloads","issues_url":"https://api.github.com/repos/kfkitsune/weasyl/issues{/number}","pulls_url":"https://api.github.com/repos/kfkitsune/weasyl/pulls{/number}","milestones_url":"https://api.github.com/repos/kfkitsune/weasyl/milestones{/number}","notifications_url":"https://api.github.com/repos/kfkitsune/weasyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kfkitsune/weasyl/labels{/name}","releases_url":"https://api.github.com/repos/kfkitsune/weasyl/releases{/id}","deployments_url":"https://api.github.com/repos/kfkitsune/weasyl/deployments","created_at":"2016-06-02T22:13:26Z","updated_at":"2018-06-29T20:54:10Z","pushed_at":"2018-06-29T23:18:31Z","git_url":"git://github.com/kfkitsune/weasyl.git","ssh_url":"git@github.com:kfkitsune/weasyl.git","clone_url":"https://github.com/kfkitsune/weasyl.git","svn_url":"https://github.com/kfkitsune/weasyl","homepage":"https://www.weasyl.com/","size":4345,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Weasyl:master","ref":"master","sha":"f432db5be5d90e722365ceb45563617bb1c4f0d2","user":{"login":"Weasyl","id":2838769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Mzg3Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/2838769?v=4","gravatar_id":"","url":"https://api.github.com/users/Weasyl","html_url":"https://github.com/Weasyl","followers_url":"https://api.github.com/users/Weasyl/followers","following_url":"https://api.github.com/users/Weasyl/following{/other_user}","gists_url":"https://api.github.com/users/Weasyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Weasyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Weasyl/subscriptions","organizations_url":"https://api.github.com/users/Weasyl/orgs","repos_url":"https://api.github.com/users/Weasyl/repos","events_url":"https://api.github.com/users/Weasyl/events{/privacy}","received_events_url":"https://api.github.com/users/Weasyl/received_events","type":"Organization","site_admin":false},"repo":{"id":58244355,"node_id":"MDEwOlJlcG9zaXRvcnk1ODI0NDM1NQ==","name":"weasyl","full_name":"Weasyl/weasyl","owner":{"login":"Weasyl","id":2838769,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Mzg3Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/2838769?v=4","gravatar_id":"","url":"https://api.github.com/users/Weasyl","html_url":"https://github.com/Weasyl","followers_url":"https://api.github.com/users/Weasyl/followers","following_url":"https://api.github.com/users/Weasyl/following{/other_user}","gists_url":"https://api.github.com/users/Weasyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Weasyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Weasyl/subscriptions","organizations_url":"https://api.github.com/users/Weasyl/orgs","repos_url":"https://api.github.com/users/Weasyl/repos","events_url":"https://api.github.com/users/Weasyl/events{/privacy}","received_events_url":"https://api.github.com/users/Weasyl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Weasyl/weasyl","description":"The website.","fork":false,"url":"https://api.github.com/repos/Weasyl/weasyl","forks_url":"https://api.github.com/repos/Weasyl/weasyl/forks","keys_url":"https://api.github.com/repos/Weasyl/weasyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Weasyl/weasyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Weasyl/weasyl/teams","hooks_url":"https://api.github.com/repos/Weasyl/weasyl/hooks","issue_events_url":"https://api.github.com/repos/Weasyl/weasyl/issues/events{/number}","events_url":"https://api.github.com/repos/Weasyl/weasyl/events","assignees_url":"https://api.github.com/repos/Weasyl/weasyl/assignees{/user}","branches_url":"https://api.github.com/repos/Weasyl/weasyl/branches{/branch}","tags_url":"https://api.github.com/repos/Weasyl/weasyl/tags","blobs_url":"https://api.github.com/repos/Weasyl/weasyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Weasyl/weasyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Weasyl/weasyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/Weasyl/weasyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Weasyl/weasyl/statuses/{sha}","languages_url":"https://api.github.com/repos/Weasyl/weasyl/languages","stargazers_url":"https://api.github.com/repos/Weasyl/weasyl/stargazers","contributors_url":"https://api.github.com/repos/Weasyl/weasyl/contributors","subscribers_url":"https://api.github.com/repos/Weasyl/weasyl/subscribers","subscription_url":"https://api.github.com/repos/Weasyl/weasyl/subscription","commits_url":"https://api.github.com/repos/Weasyl/weasyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/Weasyl/weasyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/Weasyl/weasyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/Weasyl/weasyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/Weasyl/weasyl/contents/{+path}","compare_url":"https://api.github.com/repos/Weasyl/weasyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Weasyl/weasyl/merges","archive_url":"https://api.github.com/repos/Weasyl/weasyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Weasyl/weasyl/downloads","issues_url":"https://api.github.com/repos/Weasyl/weasyl/issues{/number}","pulls_url":"https://api.github.com/repos/Weasyl/weasyl/pulls{/number}","milestones_url":"https://api.github.com/repos/Weasyl/weasyl/milestones{/number}","notifications_url":"https://api.github.com/repos/Weasyl/weasyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Weasyl/weasyl/labels{/name}","releases_url":"https://api.github.com/repos/Weasyl/weasyl/releases{/id}","deployments_url":"https://api.github.com/repos/Weasyl/weasyl/deployments","created_at":"2016-05-07T01:53:26Z","updated_at":"2018-06-29T10:59:23Z","pushed_at":"2018-06-29T10:59:20Z","git_url":"git://github.com/Weasyl/weasyl.git","ssh_url":"git@github.com:Weasyl/weasyl.git","clone_url":"https://github.com/Weasyl/weasyl.git","svn_url":"https://github.com/Weasyl/weasyl","homepage":"https://www.weasyl.com/","size":4278,"stargazers_count":69,"watchers_count":69,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":74,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":74,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/390"},"html":{"href":"https://github.com/Weasyl/weasyl/pull/390"},"issue":{"href":"https://api.github.com/repos/Weasyl/weasyl/issues/390"},"comments":{"href":"https://api.github.com/repos/Weasyl/weasyl/issues/390/comments"},"review_comments":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/390/comments"},"review_comment":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/390/commits"},"statuses":{"href":"https://api.github.com/repos/Weasyl/weasyl/statuses/89212746e48fb62479c73b36715dcc6cac1100cd"}},"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":121,"deletions":97,"changed_files":10}}
{"actor":{"display_login":"kfkitsune"}}