{"action":"created","comment":{"url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/comments/229298817","pull_request_review_id":169763298,"id":229298817,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTI5ODgxNw==","diff_hunk":"@@ -0,0 +1,119 @@\n+from jumpscale import j\n+import json\n+from .encoding import (encode_record,unregister_record,load)\n+from enum import Enum\n+JSConfigBase = j.tools.configmanager.base_class_config\n+\n+TEMPLATE = \"\"\"\n+etcd_instance = \"main\"\n+\"\"\"\n+\n+class RecordType(Enum):\n+    A = \"A\"\n+    AAAA = \"AAAA\"\n+    SRV = \"SRV\"\n+    TXT = \"TXT\"\n+\n+class ResourceRecord:\n+\n+    def __init__(self, domain, rrdata, record_type=RecordType.A, ttl=300,\n+                             priority=None, port=None # SRV\n+                ):\n+        \"\"\" DNS Resource Record.\n+\n+            name    : Record Name.  Corresponds to first field in\n+                      DNS Bind Zone file entries.  REQUIRED.\n+            record_type    : Record Type.  CNAME, A, AAAA, TXT, SRV.  REQUIRED\n+            ttl     : time to live. default value 300 (optional)\n+            port    : SRV record port (optional)\n+            priority: SRV record priority (optional)\n+            rrdata  : Resource Record Data (REQUIRED)\n+\n+            TXT record example  : rrdata = 'this is a TXT record'\n+            A record example    : rrdata = '1.1.1.1'\n+            AAAA record example : rrdata = '2003:8:1'\n+            SRV record example  : rrdata = 'skydns-local.server'\n+            CNAME record example: rrdata = 'cn1.skydns.local skydns.local.'\n+        \"\"\"\n+\n+        if rrdata is None:\n+            rrdata = ''\n+\n+        self.type = record_type\n+        if self.type == 'CNAME':\n+            self.cname, rrdata = rrdata.split(' ')\n+        self.domain = domain\n+        self.port = port\n+        self.priority = priority\n+        self.ttl = ttl\n+        self.weight = 100\n+        self._rrdata = rrdata\n+\n+\n+    @property\n+    def rrdata(self):\n+        \"\"\" reconstructs CoreDNS/etcd-style JSON data format\n+        \"\"\"\n+        res = {'ttl': self.ttl}\n+        rdatafield = 'host' # covers SRV, A, AAAA and CNAME\n+        if self.type == RecordType.TXT:\n+            rdatafield = 'text'\n+        elif self.type == RecordType.SRV:\n+            res['priority'] = self.priority\n+            res['port'] = self.port\n+        elif self.type == 'CNAME':\n+            res['cname'] = self._rrdata \n+            res['host'] = self.cname  \n+        res[rdatafield] = self._rrdata\n+        return res\n+\n+    def __str__(self):\n+        if self.type == 'TXT':\n+            rrdata = '\"%s\"' % self._rrdata\n+        else:\n+            rrdata = self._rrdata\n+        extra = 'IN\\t%s' % self.type\n+        if self.type == 'SRV':\n+            extra += '\\t%d %d %d' % (self.priority, self.weight, self.port)\n+        return \"%s\\t%d\\t%s\\t%s\" % \\\n+            (self.domain, self.ttl, extra, rrdata)\n+\n+    def __repr__(self):\n+            return \"'%s'\" % str(self)\n+\n+class CoreDnsClient(JSConfigBase):\n+\n+    def __init__(self, instance, data={}, parent=None, interactive=False):\n+        JSConfigBase.__init__(self, instance=instance,\n+                              data=data, parent=parent, template=TEMPLATE, interactive=interactive)\n+        self._etcd_client = None\n+        self._etcd_instance = self.config.data['etcd_instance']\n+        print (\"CoreDNS\", instance)\n+        self.zones = []\n+\n+\n+    @property\n+    def etcd_client(self):\n+        if not self._etcd_client:\n+            self._etcd_client = j.clients.etcd.get(self._etcd_instance)\n+        return self._etcd_client\n+\n+    def zone_create(self, domain, rrdata, record_type=RecordType.A,  ttl=300,\n+                             priority=None, port=None ):\n+         \n+        zone =ResourceRecord(domain, rrdata, record_type, ttl, priority, port)\n+        self.zones.append(zone)\n+\n+    def deploy(self):\n+        for zone in self.zones:\n+            key, value = encode_record(zone)\n+            self.etcd_client.put(key, value)\n+    \n+    def remove(self):\n+        for zone in self.zones:\n+            key = unregister_record(zone)\n+            self.etcd_client.api.delete_prefix(key)\n+    \n+    def zones_get(self):","path":"JumpscaleLib/clients/coredns/CoreDnsClient.py","position":117,"original_position":117,"commit_id":"adfb5a0ce24f2d6560273bfa94823aa5964281da","original_commit_id":"adfb5a0ce24f2d6560273bfa94823aa5964281da","user":{"login":"zaibon","id":303164,"node_id":"MDQ6VXNlcjMwMzE2NA==","avatar_url":"https://avatars2.githubusercontent.com/u/303164?v=4","gravatar_id":"","url":"https://api.github.com/users/zaibon","html_url":"https://github.com/zaibon","followers_url":"https://api.github.com/users/zaibon/followers","following_url":"https://api.github.com/users/zaibon/following{/other_user}","gists_url":"https://api.github.com/users/zaibon/gists{/gist_id}","starred_url":"https://api.github.com/users/zaibon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaibon/subscriptions","organizations_url":"https://api.github.com/users/zaibon/orgs","repos_url":"https://api.github.com/users/zaibon/repos","events_url":"https://api.github.com/users/zaibon/events{/privacy}","received_events_url":"https://api.github.com/users/zaibon/received_events","type":"User","site_admin":false},"body":"this should return the `ResourceRecord` object not printing the value from etcd. ","created_at":"2018-10-30T13:13:42Z","updated_at":"2018-10-30T13:16:30Z","html_url":"https://github.com/threefoldtech/jumpscale_lib/pull/215#discussion_r229298817","pull_request_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/comments/229298817"},"html":{"href":"https://github.com/threefoldtech/jumpscale_lib/pull/215#discussion_r229298817"},"pull_request":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215"}}},"pull_request":{"url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215","id":226912486,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2OTEyNDg2","html_url":"https://github.com/threefoldtech/jumpscale_lib/pull/215","diff_url":"https://github.com/threefoldtech/jumpscale_lib/pull/215.diff","patch_url":"https://github.com/threefoldtech/jumpscale_lib/pull/215.patch","issue_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/215","number":215,"state":"open","locked":false,"title":"coredns client","user":{"login":"BolaNasr","id":10259267,"node_id":"MDQ6VXNlcjEwMjU5MjY3","avatar_url":"https://avatars2.githubusercontent.com/u/10259267?v=4","gravatar_id":"","url":"https://api.github.com/users/BolaNasr","html_url":"https://github.com/BolaNasr","followers_url":"https://api.github.com/users/BolaNasr/followers","following_url":"https://api.github.com/users/BolaNasr/following{/other_user}","gists_url":"https://api.github.com/users/BolaNasr/gists{/gist_id}","starred_url":"https://api.github.com/users/BolaNasr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BolaNasr/subscriptions","organizations_url":"https://api.github.com/users/BolaNasr/orgs","repos_url":"https://api.github.com/users/BolaNasr/repos","events_url":"https://api.github.com/users/BolaNasr/events{/privacy}","received_events_url":"https://api.github.com/users/BolaNasr/received_events","type":"User","site_admin":false},"body":"can use coredns client :\r\n```python\r\n        #create etcd client\r\n        cl = j.clients.coredns.configure(instance_name=\"main\",host=\"10.144.72.95\",password=\"njufdmrq3k\")\r\n        #create zones\r\n        cl.zone_create('test.example.com','10.144.13.199',types='A')\r\n        cl.zone_create('example.com','2003::8:1',types='AAAA')\r\n        #add records in etcd\r\n        cl.add_records() \r\n        #get records from etcd\r\n        cl.deploy()\r\n        #remove records from etcd\r\n        cl.remove()\r\n```","created_at":"2018-10-30T13:03:11Z","updated_at":"2018-10-30T13:16:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b0e7b6e896e5334d341fa005eaf00a2e38321c68","assignee":{"login":"BolaNasr","id":10259267,"node_id":"MDQ6VXNlcjEwMjU5MjY3","avatar_url":"https://avatars2.githubusercontent.com/u/10259267?v=4","gravatar_id":"","url":"https://api.github.com/users/BolaNasr","html_url":"https://github.com/BolaNasr","followers_url":"https://api.github.com/users/BolaNasr/followers","following_url":"https://api.github.com/users/BolaNasr/following{/other_user}","gists_url":"https://api.github.com/users/BolaNasr/gists{/gist_id}","starred_url":"https://api.github.com/users/BolaNasr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BolaNasr/subscriptions","organizations_url":"https://api.github.com/users/BolaNasr/orgs","repos_url":"https://api.github.com/users/BolaNasr/repos","events_url":"https://api.github.com/users/BolaNasr/events{/privacy}","received_events_url":"https://api.github.com/users/BolaNasr/received_events","type":"User","site_admin":false},"assignees":[{"login":"BolaNasr","id":10259267,"node_id":"MDQ6VXNlcjEwMjU5MjY3","avatar_url":"https://avatars2.githubusercontent.com/u/10259267?v=4","gravatar_id":"","url":"https://api.github.com/users/BolaNasr","html_url":"https://github.com/BolaNasr","followers_url":"https://api.github.com/users/BolaNasr/followers","following_url":"https://api.github.com/users/BolaNasr/following{/other_user}","gists_url":"https://api.github.com/users/BolaNasr/gists{/gist_id}","starred_url":"https://api.github.com/users/BolaNasr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BolaNasr/subscriptions","organizations_url":"https://api.github.com/users/BolaNasr/orgs","repos_url":"https://api.github.com/users/BolaNasr/repos","events_url":"https://api.github.com/users/BolaNasr/events{/privacy}","received_events_url":"https://api.github.com/users/BolaNasr/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1008960297,"node_id":"MDU6TGFiZWwxMDA4OTYwMjk3","url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/labels/state_inprogress","name":"state_inprogress","color":"bfe5bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215/commits","review_comments_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215/comments","review_comment_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/215/comments","statuses_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/statuses/adfb5a0ce24f2d6560273bfa94823aa5964281da","head":{"label":"threefoldtech:development_coredns","ref":"development_coredns","sha":"adfb5a0ce24f2d6560273bfa94823aa5964281da","user":{"login":"threefoldtech","id":41825953,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxODI1OTUz","avatar_url":"https://avatars1.githubusercontent.com/u/41825953?v=4","gravatar_id":"","url":"https://api.github.com/users/threefoldtech","html_url":"https://github.com/threefoldtech","followers_url":"https://api.github.com/users/threefoldtech/followers","following_url":"https://api.github.com/users/threefoldtech/following{/other_user}","gists_url":"https://api.github.com/users/threefoldtech/gists{/gist_id}","starred_url":"https://api.github.com/users/threefoldtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threefoldtech/subscriptions","organizations_url":"https://api.github.com/users/threefoldtech/orgs","repos_url":"https://api.github.com/users/threefoldtech/repos","events_url":"https://api.github.com/users/threefoldtech/events{/privacy}","received_events_url":"https://api.github.com/users/threefoldtech/received_events","type":"Organization","site_admin":false},"repo":{"id":142671490,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2NzE0OTA=","name":"jumpscale_lib","full_name":"threefoldtech/jumpscale_lib","private":false,"owner":{"login":"threefoldtech","id":41825953,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxODI1OTUz","avatar_url":"https://avatars1.githubusercontent.com/u/41825953?v=4","gravatar_id":"","url":"https://api.github.com/users/threefoldtech","html_url":"https://github.com/threefoldtech","followers_url":"https://api.github.com/users/threefoldtech/followers","following_url":"https://api.github.com/users/threefoldtech/following{/other_user}","gists_url":"https://api.github.com/users/threefoldtech/gists{/gist_id}","starred_url":"https://api.github.com/users/threefoldtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threefoldtech/subscriptions","organizations_url":"https://api.github.com/users/threefoldtech/orgs","repos_url":"https://api.github.com/users/threefoldtech/repos","events_url":"https://api.github.com/users/threefoldtech/events{/privacy}","received_events_url":"https://api.github.com/users/threefoldtech/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/threefoldtech/jumpscale_lib","description":null,"fork":true,"url":"https://api.github.com/repos/threefoldtech/jumpscale_lib","forks_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/forks","keys_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/teams","hooks_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/hooks","issue_events_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/events{/number}","events_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/events","assignees_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/assignees{/user}","branches_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/branches{/branch}","tags_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/tags","blobs_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/statuses/{sha}","languages_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/languages","stargazers_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/stargazers","contributors_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/contributors","subscribers_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/subscribers","subscription_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/subscription","commits_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/contents/{+path}","compare_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/merges","archive_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/downloads","issues_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues{/number}","pulls_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls{/number}","milestones_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/milestones{/number}","notifications_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/labels{/name}","releases_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/releases{/id}","deployments_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/deployments","created_at":"2018-07-28T11:19:06Z","updated_at":"2018-10-30T11:47:51Z","pushed_at":"2018-10-30T13:03:11Z","git_url":"git://github.com/threefoldtech/jumpscale_lib.git","ssh_url":"git@github.com:threefoldtech/jumpscale_lib.git","clone_url":"https://github.com/threefoldtech/jumpscale_lib.git","svn_url":"https://github.com/threefoldtech/jumpscale_lib","homepage":null,"size":9582,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":64,"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":1,"open_issues":64,"watchers":0,"default_branch":"development"}},"base":{"label":"threefoldtech:development","ref":"development","sha":"2b5751839e0e220900d13b9845a16716a57f1bd7","user":{"login":"threefoldtech","id":41825953,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxODI1OTUz","avatar_url":"https://avatars1.githubusercontent.com/u/41825953?v=4","gravatar_id":"","url":"https://api.github.com/users/threefoldtech","html_url":"https://github.com/threefoldtech","followers_url":"https://api.github.com/users/threefoldtech/followers","following_url":"https://api.github.com/users/threefoldtech/following{/other_user}","gists_url":"https://api.github.com/users/threefoldtech/gists{/gist_id}","starred_url":"https://api.github.com/users/threefoldtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threefoldtech/subscriptions","organizations_url":"https://api.github.com/users/threefoldtech/orgs","repos_url":"https://api.github.com/users/threefoldtech/repos","events_url":"https://api.github.com/users/threefoldtech/events{/privacy}","received_events_url":"https://api.github.com/users/threefoldtech/received_events","type":"Organization","site_admin":false},"repo":{"id":142671490,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2NzE0OTA=","name":"jumpscale_lib","full_name":"threefoldtech/jumpscale_lib","private":false,"owner":{"login":"threefoldtech","id":41825953,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxODI1OTUz","avatar_url":"https://avatars1.githubusercontent.com/u/41825953?v=4","gravatar_id":"","url":"https://api.github.com/users/threefoldtech","html_url":"https://github.com/threefoldtech","followers_url":"https://api.github.com/users/threefoldtech/followers","following_url":"https://api.github.com/users/threefoldtech/following{/other_user}","gists_url":"https://api.github.com/users/threefoldtech/gists{/gist_id}","starred_url":"https://api.github.com/users/threefoldtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threefoldtech/subscriptions","organizations_url":"https://api.github.com/users/threefoldtech/orgs","repos_url":"https://api.github.com/users/threefoldtech/repos","events_url":"https://api.github.com/users/threefoldtech/events{/privacy}","received_events_url":"https://api.github.com/users/threefoldtech/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/threefoldtech/jumpscale_lib","description":null,"fork":true,"url":"https://api.github.com/repos/threefoldtech/jumpscale_lib","forks_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/forks","keys_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/teams","hooks_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/hooks","issue_events_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/events{/number}","events_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/events","assignees_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/assignees{/user}","branches_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/branches{/branch}","tags_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/tags","blobs_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/statuses/{sha}","languages_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/languages","stargazers_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/stargazers","contributors_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/contributors","subscribers_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/subscribers","subscription_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/subscription","commits_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/contents/{+path}","compare_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/merges","archive_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/downloads","issues_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues{/number}","pulls_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls{/number}","milestones_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/milestones{/number}","notifications_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/labels{/name}","releases_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/releases{/id}","deployments_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/deployments","created_at":"2018-07-28T11:19:06Z","updated_at":"2018-10-30T11:47:51Z","pushed_at":"2018-10-30T13:03:11Z","git_url":"git://github.com/threefoldtech/jumpscale_lib.git","ssh_url":"git@github.com:threefoldtech/jumpscale_lib.git","clone_url":"https://github.com/threefoldtech/jumpscale_lib.git","svn_url":"https://github.com/threefoldtech/jumpscale_lib","homepage":null,"size":9582,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":64,"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":1,"open_issues":64,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215"},"html":{"href":"https://github.com/threefoldtech/jumpscale_lib/pull/215"},"issue":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/215"},"comments":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/215/comments"},"review_comments":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215/comments"},"review_comment":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/pulls/215/commits"},"statuses":{"href":"https://api.github.com/repos/threefoldtech/jumpscale_lib/statuses/adfb5a0ce24f2d6560273bfa94823aa5964281da"}},"author_association":"NONE"}}
{"actor":{"display_login":"zaibon"}}