{"action":"created","comment":{"url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/comments/117512894","pull_request_review_id":39231112,"id":117512894,"diff_hunk":"@@ -16,32 +16,186 @@\n # along with Archivematica.  If not, see <http://www.gnu.org/licenses/>.\n \n import ConfigParser\n+import StringIO\n+\n+from django.core.exceptions import ImproperlyConfigured\n+\n+from env_configparser import EnvConfigParser\n+\n+\n+class Config(object):\n+    ENV_PREFIX = 'ARCHIVEMATICA_MCPCLIENT'\n+\n+    DBSETTINGS_FILE = '/etc/archivematica/archivematicaCommon/dbsettings'\n+    DBSETTINGS_CONFIG = \"\"\"[client]\n+user = archivematica\n+password = demo\n+host = localhost\n+database = MCP\n+max_overflow = 40\n+port = 3306\n+engine = django_mysqlpool.backends.mysqlpool\n+    \"\"\"\n+\n+    CLIENTCONF_FILE = '/etc/archivematica/serverConfig.conf'\n+    CLIENTCONF_CONFIG = \"\"\"[MCPClient]\n+MCPArchivematicaServer = localhost:4730\n+sharedDirectoryMounted = /var/archivematica/sharedDirectory/\n+watchDirectoryPath = /var/archivematica/sharedDirectory/watchedDirectories/\n+processingDirectory = /var/archivematica/sharedDirectory/currentlyProcessing/\n+rejectedDirectory = %%sharedPath%%rejected/\n+archivematicaClientModules = /usr/lib/archivematica/MCPClient/archivematicaClientModules\n+clientScriptsDirectory = /usr/lib/archivematica/MCPClient/clientScripts/\n+LoadSupportedCommandsSpecial = True\n+numberOfTasks = 0\n+elasticsearchServer = localhost:9200\n+disableElasticsearchIndexing = False\n+temp_dir = /var/archivematica/sharedDirectory/tmp\n+removableFiles = Thumbs.db, Icon, Icon\\r, .DS_Store\n+    \"\"\"\n+\n+    \"\"\"\n+    Mapping configuration attributes with INI section, options and types.\n+    \"\"\"\n+    MAPPING = {\n+        # [MCPClient]\n+        'shared_directory': {'section': 'MCPClient', 'option': 'sharedDirectoryMounted', 'type': 'string'},\n+        'processing_directory': {'section': 'MCPClient', 'option': 'processingDirectory', 'type': 'string'},\n+        'rejected_directory': {'section': 'MCPClient', 'option': 'rejectedDirectory', 'type': 'string'},\n+        'watch_directory': {'section': 'MCPClient', 'option': 'watchDirectoryPath', 'type': 'string'},\n+        'client_scripts_directory': {'section': 'MCPClient', 'option': 'clientScriptsDirectory', 'type': 'string'},\n+        'load_supported_commands_special': {'section': 'MCPClient', 'option': 'LoadSupportedCommandsSpecial', 'type': 'boolean'},\n+        'gearman_server': {'section': 'MCPClient', 'option': 'MCPArchivematicaServer', 'type': 'string'},\n+        'number_of_tasks': {'section': 'MCPClient', 'option': 'numberOfTasks', 'type': 'int'},\n+        'client_modules_file': {'section': 'MCPClient', 'option': 'archivematicaClientModules', 'type': 'string'},\n+        'elasticsearch_server': {'section': 'MCPClient', 'option': 'elasticsearchServer', 'type': 'string'},\n+        'disable_search_indexing': {'section': 'MCPClient', 'option': 'disableElasticsearchIndexing', 'type': 'boolean'},\n+        'removable_files': {'section': 'MCPClient', 'option': 'removableFiles', 'type': 'string'},\n+        'temp_directory': {'section': 'MCPClient', 'option': 'temp_dir', 'type': 'string'},\n+        'secret_key': {'section': 'MCPClient', 'option': 'django_secret_key', 'type': 'string'},\n+\n+        # [client]\n+        'db_engine': {'section': 'client', 'option': 'engine', 'type': 'string'},\n+        'db_name': {'section': 'client', 'option': 'database', 'type': 'string'},\n+        'db_user': {'section': 'client', 'option': 'user', 'type': 'string'},\n+        'db_password': {'section': 'client', 'option': 'password', 'type': 'string'},\n+        'db_host': {'section': 'client', 'option': 'host', 'type': 'string'},\n+        'db_port': {'section': 'client', 'option': 'port', 'type': 'string'},\n+        'db_pool_max_overflow': {'section': 'client', 'option': 'max_overflow', 'type': 'string'},\n+    }\n+\n+    def __init__(self):\n+        self.config = EnvConfigParser(prefix=self.ENV_PREFIX)\n+\n+        self.read_defaults()\n+        self.read_files()\n+\n+    def read_defaults(self):\n+        self.config.readfp(StringIO.StringIO(self.DBSETTINGS_CONFIG))\n+        self.config.readfp(StringIO.StringIO(self.CLIENTCONF_CONFIG))\n+\n+    def read_files(self):\n+        self.config.read([self.DBSETTINGS_FILE, self.CLIENTCONF_FILE])\n+\n+    def get(self, attr, default=None):\n+        if attr not in self.MAPPING:\n+            raise ImproperlyConfigured('Unknown attribute: %s. Make sure the attribute is included in the MAPPING property in `common.py`.' % attr)\n+\n+        attr_opts = self.MAPPING[attr]\n+        if not all(k in attr_opts for k in ('section', 'option', 'type')):\n+            raise ImproperlyConfigured('Invalid attribute: %s. Make sure the entry in MAPPING in common.py has all the fields needed (section, option, type).' % attr)\n+\n+        getter = 'get{}'.format('' if attr_opts['type'] == 'string' else attr_opts['type'])\n+        kwargs = {'section': attr_opts['section'], 'option': attr_opts['option']}\n+        if default is not None:\n+            kwargs['fallback'] = default\n+        elif 'default' in attr_opts:\n+            kwargs['fallback'] = attr['default']\n+\n+        try:\n+            return getattr(self.config, getter)(**kwargs)\n+        except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):\n+            raise ImproperlyConfigured('The following configuration attribute must be defined: %s.' % attr)\n+","path":"src/MCPClient/lib/settings/common.py","position":104,"original_position":104,"commit_id":"14706d16ff8a7ba5349f30b324fdcdb901d5ad6d","original_commit_id":"14706d16ff8a7ba5349f30b324fdcdb901d5ad6d","user":{"login":"sevein","id":606459,"avatar_url":"https://avatars1.githubusercontent.com/u/606459?v=3","gravatar_id":"","url":"https://api.github.com/users/sevein","html_url":"https://github.com/sevein","followers_url":"https://api.github.com/users/sevein/followers","following_url":"https://api.github.com/users/sevein/following{/other_user}","gists_url":"https://api.github.com/users/sevein/gists{/gist_id}","starred_url":"https://api.github.com/users/sevein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevein/subscriptions","organizations_url":"https://api.github.com/users/sevein/orgs","repos_url":"https://api.github.com/users/sevein/repos","events_url":"https://api.github.com/users/sevein/events{/privacy}","received_events_url":"https://api.github.com/users/sevein/received_events","type":"User","site_admin":false},"body":"I'll try to do that!","created_at":"2017-05-19T15:47:04Z","updated_at":"2017-05-19T15:47:05Z","html_url":"https://github.com/JiscRDSS/archivematica/pull/3#discussion_r117512894","pull_request_url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/comments/117512894"},"html":{"href":"https://github.com/JiscRDSS/archivematica/pull/3#discussion_r117512894"},"pull_request":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3","id":120674825,"html_url":"https://github.com/JiscRDSS/archivematica/pull/3","diff_url":"https://github.com/JiscRDSS/archivematica/pull/3.diff","patch_url":"https://github.com/JiscRDSS/archivematica/pull/3.patch","issue_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues/3","number":3,"state":"open","locked":false,"title":"Clean up configuration","user":{"login":"sevein","id":606459,"avatar_url":"https://avatars1.githubusercontent.com/u/606459?v=3","gravatar_id":"","url":"https://api.github.com/users/sevein","html_url":"https://github.com/sevein","followers_url":"https://api.github.com/users/sevein/followers","following_url":"https://api.github.com/users/sevein/following{/other_user}","gists_url":"https://api.github.com/users/sevein/gists{/gist_id}","starred_url":"https://api.github.com/users/sevein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevein/subscriptions","organizations_url":"https://api.github.com/users/sevein/orgs","repos_url":"https://api.github.com/users/sevein/repos","events_url":"https://api.github.com/users/sevein/events{/privacy}","received_events_url":"https://api.github.com/users/sevein/received_events","type":"User","site_admin":false},"body":"MCPServer, MCPClient and Dashboard have been changed in this commit with the\r\nfollowing goals:\r\n\r\n- Stop sharing configuration between components.\r\n- Use `django.conf` to manage config.\r\n- Manage config defaults within code.\r\n- Look up environment variables:\r\n  - `ARCHIVEMATICA_DASHBOARD_*`\r\n  - `ARCHIVEMATICA_MCPSERVER_*`\r\n  - `ARCHIVEMATICA_MCPCLIENT_*`\r\n\r\ndbsettings, clientConfig.conf or serverConfig.conf are still considered if they\r\nexist - they will be merged with the default INI in code. Environment strings\r\nare applied last.\r\n\r\nClient scripts are now executed using MCPClient's `settings.common`. So now\r\nwhen they look up `django.conf` they're not looking at the Dashboard config.\r\nIt wasn't correct to assume that its config was available.\r\n\r\n---\r\n\r\nThe environment string is formed by a prefix (application name), config section and config option, e.g. ARCHIVEMATICA_DASHBOARD_CLIENT_HOST overrides host under section client in /etc/archivematica/archivematicaCommon/dbsettings. The resulting environment strings are not idea but I think we can work on extra aliases on the next iteration.","created_at":"2017-05-15T19:22:50Z","updated_at":"2017-05-19T15:47:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"63f505bd4783aaa386155dc4cb43234adfa6cbc6","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3/commits","review_comments_url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3/comments","review_comment_url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues/3/comments","statuses_url":"https://api.github.com/repos/JiscRDSS/archivematica/statuses/14706d16ff8a7ba5349f30b324fdcdb901d5ad6d","head":{"label":"JiscRDSS:dev/config-cleanup","ref":"dev/config-cleanup","sha":"14706d16ff8a7ba5349f30b324fdcdb901d5ad6d","user":{"login":"JiscRDSS","id":22818449,"avatar_url":"https://avatars3.githubusercontent.com/u/22818449?v=3","gravatar_id":"","url":"https://api.github.com/users/JiscRDSS","html_url":"https://github.com/JiscRDSS","followers_url":"https://api.github.com/users/JiscRDSS/followers","following_url":"https://api.github.com/users/JiscRDSS/following{/other_user}","gists_url":"https://api.github.com/users/JiscRDSS/gists{/gist_id}","starred_url":"https://api.github.com/users/JiscRDSS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiscRDSS/subscriptions","organizations_url":"https://api.github.com/users/JiscRDSS/orgs","repos_url":"https://api.github.com/users/JiscRDSS/repos","events_url":"https://api.github.com/users/JiscRDSS/events{/privacy}","received_events_url":"https://api.github.com/users/JiscRDSS/received_events","type":"Organization","site_admin":false},"repo":{"id":86759422,"name":"archivematica","full_name":"JiscRDSS/archivematica","owner":{"login":"JiscRDSS","id":22818449,"avatar_url":"https://avatars3.githubusercontent.com/u/22818449?v=3","gravatar_id":"","url":"https://api.github.com/users/JiscRDSS","html_url":"https://github.com/JiscRDSS","followers_url":"https://api.github.com/users/JiscRDSS/followers","following_url":"https://api.github.com/users/JiscRDSS/following{/other_user}","gists_url":"https://api.github.com/users/JiscRDSS/gists{/gist_id}","starred_url":"https://api.github.com/users/JiscRDSS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiscRDSS/subscriptions","organizations_url":"https://api.github.com/users/JiscRDSS/orgs","repos_url":"https://api.github.com/users/JiscRDSS/repos","events_url":"https://api.github.com/users/JiscRDSS/events{/privacy}","received_events_url":"https://api.github.com/users/JiscRDSS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JiscRDSS/archivematica","description":"Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.","fork":true,"url":"https://api.github.com/repos/JiscRDSS/archivematica","forks_url":"https://api.github.com/repos/JiscRDSS/archivematica/forks","keys_url":"https://api.github.com/repos/JiscRDSS/archivematica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JiscRDSS/archivematica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JiscRDSS/archivematica/teams","hooks_url":"https://api.github.com/repos/JiscRDSS/archivematica/hooks","issue_events_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues/events{/number}","events_url":"https://api.github.com/repos/JiscRDSS/archivematica/events","assignees_url":"https://api.github.com/repos/JiscRDSS/archivematica/assignees{/user}","branches_url":"https://api.github.com/repos/JiscRDSS/archivematica/branches{/branch}","tags_url":"https://api.github.com/repos/JiscRDSS/archivematica/tags","blobs_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/refs{/sha}","trees_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JiscRDSS/archivematica/statuses/{sha}","languages_url":"https://api.github.com/repos/JiscRDSS/archivematica/languages","stargazers_url":"https://api.github.com/repos/JiscRDSS/archivematica/stargazers","contributors_url":"https://api.github.com/repos/JiscRDSS/archivematica/contributors","subscribers_url":"https://api.github.com/repos/JiscRDSS/archivematica/subscribers","subscription_url":"https://api.github.com/repos/JiscRDSS/archivematica/subscription","commits_url":"https://api.github.com/repos/JiscRDSS/archivematica/commits{/sha}","git_commits_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/commits{/sha}","comments_url":"https://api.github.com/repos/JiscRDSS/archivematica/comments{/number}","issue_comment_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues/comments{/number}","contents_url":"https://api.github.com/repos/JiscRDSS/archivematica/contents/{+path}","compare_url":"https://api.github.com/repos/JiscRDSS/archivematica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JiscRDSS/archivematica/merges","archive_url":"https://api.github.com/repos/JiscRDSS/archivematica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JiscRDSS/archivematica/downloads","issues_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues{/number}","pulls_url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls{/number}","milestones_url":"https://api.github.com/repos/JiscRDSS/archivematica/milestones{/number}","notifications_url":"https://api.github.com/repos/JiscRDSS/archivematica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JiscRDSS/archivematica/labels{/name}","releases_url":"https://api.github.com/repos/JiscRDSS/archivematica/releases{/id}","deployments_url":"https://api.github.com/repos/JiscRDSS/archivematica/deployments","created_at":"2017-03-30T23:51:05Z","updated_at":"2017-03-30T23:51:08Z","pushed_at":"2017-05-19T11:48:52Z","git_url":"git://github.com/JiscRDSS/archivematica.git","ssh_url":"git@github.com:JiscRDSS/archivematica.git","clone_url":"https://github.com/JiscRDSS/archivematica.git","svn_url":"https://github.com/JiscRDSS/archivematica","homepage":"http://www.archivematica.org","size":29758,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"qa/jisc"}},"base":{"label":"JiscRDSS:qa/jisc","ref":"qa/jisc","sha":"77a47104d6feac6b4e101acae75f47c7ee048c2f","user":{"login":"JiscRDSS","id":22818449,"avatar_url":"https://avatars3.githubusercontent.com/u/22818449?v=3","gravatar_id":"","url":"https://api.github.com/users/JiscRDSS","html_url":"https://github.com/JiscRDSS","followers_url":"https://api.github.com/users/JiscRDSS/followers","following_url":"https://api.github.com/users/JiscRDSS/following{/other_user}","gists_url":"https://api.github.com/users/JiscRDSS/gists{/gist_id}","starred_url":"https://api.github.com/users/JiscRDSS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiscRDSS/subscriptions","organizations_url":"https://api.github.com/users/JiscRDSS/orgs","repos_url":"https://api.github.com/users/JiscRDSS/repos","events_url":"https://api.github.com/users/JiscRDSS/events{/privacy}","received_events_url":"https://api.github.com/users/JiscRDSS/received_events","type":"Organization","site_admin":false},"repo":{"id":86759422,"name":"archivematica","full_name":"JiscRDSS/archivematica","owner":{"login":"JiscRDSS","id":22818449,"avatar_url":"https://avatars3.githubusercontent.com/u/22818449?v=3","gravatar_id":"","url":"https://api.github.com/users/JiscRDSS","html_url":"https://github.com/JiscRDSS","followers_url":"https://api.github.com/users/JiscRDSS/followers","following_url":"https://api.github.com/users/JiscRDSS/following{/other_user}","gists_url":"https://api.github.com/users/JiscRDSS/gists{/gist_id}","starred_url":"https://api.github.com/users/JiscRDSS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiscRDSS/subscriptions","organizations_url":"https://api.github.com/users/JiscRDSS/orgs","repos_url":"https://api.github.com/users/JiscRDSS/repos","events_url":"https://api.github.com/users/JiscRDSS/events{/privacy}","received_events_url":"https://api.github.com/users/JiscRDSS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JiscRDSS/archivematica","description":"Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.","fork":true,"url":"https://api.github.com/repos/JiscRDSS/archivematica","forks_url":"https://api.github.com/repos/JiscRDSS/archivematica/forks","keys_url":"https://api.github.com/repos/JiscRDSS/archivematica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JiscRDSS/archivematica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JiscRDSS/archivematica/teams","hooks_url":"https://api.github.com/repos/JiscRDSS/archivematica/hooks","issue_events_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues/events{/number}","events_url":"https://api.github.com/repos/JiscRDSS/archivematica/events","assignees_url":"https://api.github.com/repos/JiscRDSS/archivematica/assignees{/user}","branches_url":"https://api.github.com/repos/JiscRDSS/archivematica/branches{/branch}","tags_url":"https://api.github.com/repos/JiscRDSS/archivematica/tags","blobs_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/refs{/sha}","trees_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JiscRDSS/archivematica/statuses/{sha}","languages_url":"https://api.github.com/repos/JiscRDSS/archivematica/languages","stargazers_url":"https://api.github.com/repos/JiscRDSS/archivematica/stargazers","contributors_url":"https://api.github.com/repos/JiscRDSS/archivematica/contributors","subscribers_url":"https://api.github.com/repos/JiscRDSS/archivematica/subscribers","subscription_url":"https://api.github.com/repos/JiscRDSS/archivematica/subscription","commits_url":"https://api.github.com/repos/JiscRDSS/archivematica/commits{/sha}","git_commits_url":"https://api.github.com/repos/JiscRDSS/archivematica/git/commits{/sha}","comments_url":"https://api.github.com/repos/JiscRDSS/archivematica/comments{/number}","issue_comment_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues/comments{/number}","contents_url":"https://api.github.com/repos/JiscRDSS/archivematica/contents/{+path}","compare_url":"https://api.github.com/repos/JiscRDSS/archivematica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JiscRDSS/archivematica/merges","archive_url":"https://api.github.com/repos/JiscRDSS/archivematica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JiscRDSS/archivematica/downloads","issues_url":"https://api.github.com/repos/JiscRDSS/archivematica/issues{/number}","pulls_url":"https://api.github.com/repos/JiscRDSS/archivematica/pulls{/number}","milestones_url":"https://api.github.com/repos/JiscRDSS/archivematica/milestones{/number}","notifications_url":"https://api.github.com/repos/JiscRDSS/archivematica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JiscRDSS/archivematica/labels{/name}","releases_url":"https://api.github.com/repos/JiscRDSS/archivematica/releases{/id}","deployments_url":"https://api.github.com/repos/JiscRDSS/archivematica/deployments","created_at":"2017-03-30T23:51:05Z","updated_at":"2017-03-30T23:51:08Z","pushed_at":"2017-05-19T11:48:52Z","git_url":"git://github.com/JiscRDSS/archivematica.git","ssh_url":"git@github.com:JiscRDSS/archivematica.git","clone_url":"https://github.com/JiscRDSS/archivematica.git","svn_url":"https://github.com/JiscRDSS/archivematica","homepage":"http://www.archivematica.org","size":29758,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"qa/jisc"}},"_links":{"self":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3"},"html":{"href":"https://github.com/JiscRDSS/archivematica/pull/3"},"issue":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/issues/3"},"comments":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/JiscRDSS/archivematica/statuses/14706d16ff8a7ba5349f30b324fdcdb901d5ad6d"}}}}
{"actor":{"display_login":"sevein"}}