{"action":"created","comment":{"url":"https://api.github.com/repos/pulp/pulp/pulls/comments/27211451","id":27211451,"diff_hunk":"@@ -0,0 +1,1047 @@\n+from django.core.urlresolvers import reverse\n+from django.http import HttpResponseBadRequest, HttpResponseNotFound\n+from django.views.generic import View\n+\n+\n+from pulp.common import tags\n+from pulp.server.async.tasks import TaskResult\n+from pulp.server.auth import authorization\n+from pulp.server.db.model.criteria import Criteria\n+from pulp.server.exceptions import (InvalidValue, MissingResource, MissingValue,\n+                                    OperationPostponed, UnsupportedValue)\n+from pulp.server.managers import factory\n+from pulp.server.managers.consumer.applicability import (regenerate_applicability_for_consumers,\n+                                                         retrieve_consumer_applicability)\n+from pulp.server.managers.schedule.consumer import (UNIT_INSTALL_ACTION, UNIT_UNINSTALL_ACTION,\n+                                                    UNIT_UPDATE_ACTION)\n+from pulp.server.tasks import consumer as consumer_task\n+from pulp.server.webservices.controllers.decorators import auth_required\n+from pulp.server.webservices import serialization\n+from pulp.server.webservices.views.util import (_ensure_input_encoding,\n+                                                generate_json_response,\n+                                                generate_json_response_with_pulp_encoder,\n+                                                generate_redirect_response,\n+                                                json_body_required,\n+                                                json_body_allow_empty)\n+\n+\n+def expand_consumers(options, consumers):\n+    \"\"\"\n+    Expand a list of users based on the flag specified in the query parameters.\n+    The _href is always added by the serialization function used.\n+    Supported options:\n+      details = include details\n+      bindings - include bindings\n+\n+    :param options: The (expanding) options.\n+    :type options: dict\n+    :param consumers: A list of consumers\n+    :type consumers: list\n+\n+    :return: A list of expanded consumers.\n+    :rtype: list\n+    \"\"\"\n+    details = (options.get('details', 'false')).lower()\n+    bindings = (options.get('bindings', 'false')).lower()\n+    if details != 'false':\n+        bindings = 'true'\n+    # add bindings\n+    if bindings != 'false':\n+        ids = [c['id'] for c in consumers]\n+        manager = factory.consumer_bind_manager()\n+        criteria = Criteria({'consumer_id': {'$in': ids}})\n+        bindings = manager.find_by_criteria(criteria)\n+        collated = {}\n+        for b in bindings:\n+            lst = collated.setdefault(b['consumer_id'], [])\n+            lst.append(b)","path":"server/pulp/server/webservices/views/consumers.py","position":57,"original_position":57,"commit_id":"0d88b5fddf23b3259a6ebd529e6babc97cd32a7a","original_commit_id":"3de5da5aa6f6c45515b85b773274105ac9a4a235","user":{"login":"ipanova","id":4253816,"avatar_url":"https://avatars.githubusercontent.com/u/4253816?v=3","gravatar_id":"","url":"https://api.github.com/users/ipanova","html_url":"https://github.com/ipanova","followers_url":"https://api.github.com/users/ipanova/followers","following_url":"https://api.github.com/users/ipanova/following{/other_user}","gists_url":"https://api.github.com/users/ipanova/gists{/gist_id}","starred_url":"https://api.github.com/users/ipanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipanova/subscriptions","organizations_url":"https://api.github.com/users/ipanova/orgs","repos_url":"https://api.github.com/users/ipanova/repos","events_url":"https://api.github.com/users/ipanova/events{/privacy}","received_events_url":"https://api.github.com/users/ipanova/received_events","type":"User","site_admin":false},"body":"check this http://fpaste.org/203188/76166142/, especially line 7 , before lst.append(b) and line 18 after the append","created_at":"2015-03-26T13:25:22Z","updated_at":"2015-03-26T13:25:22Z","html_url":"https://github.com/pulp/pulp/pull/1726#discussion_r27211451","pull_request_url":"https://api.github.com/repos/pulp/pulp/pulls/1726","_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments/27211451"},"html":{"href":"https://github.com/pulp/pulp/pull/1726#discussion_r27211451"},"pull_request":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1726"}}},"pull_request":{"url":"https://api.github.com/repos/pulp/pulp/pulls/1726","id":31421337,"html_url":"https://github.com/pulp/pulp/pull/1726","diff_url":"https://github.com/pulp/pulp/pull/1726.diff","patch_url":"https://github.com/pulp/pulp/pull/1726.patch","issue_url":"https://api.github.com/repos/pulp/pulp/issues/1726","number":1726,"state":"open","locked":false,"title":"Introducing Consumers view","user":{"login":"ipanova","id":4253816,"avatar_url":"https://avatars.githubusercontent.com/u/4253816?v=3","gravatar_id":"","url":"https://api.github.com/users/ipanova","html_url":"https://github.com/ipanova","followers_url":"https://api.github.com/users/ipanova/followers","following_url":"https://api.github.com/users/ipanova/following{/other_user}","gists_url":"https://api.github.com/users/ipanova/gists{/gist_id}","starred_url":"https://api.github.com/users/ipanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipanova/subscriptions","organizations_url":"https://api.github.com/users/ipanova/orgs","repos_url":"https://api.github.com/users/ipanova/repos","events_url":"https://api.github.com/users/ipanova/events{/privacy}","received_events_url":"https://api.github.com/users/ipanova/received_events","type":"User","site_admin":false},"body":"Done:\r\n1) add manual testing \r\n2) reference all fixed bz in this pr https://pulp.plan.io/issues?query_id=29 (16 bugs)\r\n3) check remaining pep8, flake8\r\n\r\n\r\n`POST /pulp/api/v2/consumers/ 201`  http://fpaste.org/199431/14266799/ content-length is different because in webpy the _href is nested in a dict. fixes [790] (https://pulp.plan.io/issues/790)\r\n`POST /pulp/api/v2/consumers/ 400` http://fpaste.org/199433/66803761/ fixes issue [316](https://pulp.plan.io/issues/316)\r\n`POST /pulp/api/v2/consumers/ 409` http://fpaste.org/199436/26680972/\r\n\r\n`PUT /pulp/api/v2/consumers/consumer-id/ 200` http://fpaste.org/199442/66814921/\r\n`PUT /pulp/api/v2/consumers/consumer-id/ 400` http://fpaste.org/199441/26681452/\r\n`PUT /pulp/api/v2/consumers/consumer-id/ 404` http://fpaste.org/199444/14266815/\r\n\r\n`DELETE /pulp/api/v2/consumers/consumer-id/ 200` http://fpaste.org/199451/42668205/\r\n`DELETE /pulp/api/v2/consumers/consumer-id/ 404` http://fpaste.org/199452/68211814/\r\n\r\n`POST /pulp/api/v2/consumers/consumer_id/bindings/ 404` http://fpaste.org/199453/82482142/\r\n`POST /pulp/api/v2/consumers/consumer_id/bindings/ 400` http://fpaste.org/199455/14266825/\r\n`POST /pulp/api/v2/consumers/consumer_id/bindings/  200` http://fpaste.org/199460/82779142/\r\n`POST /pulp/api/v2/consumers/consumer_id/bindings/  202` http://fpaste.org/199463/66828841/\r\n\r\n`DELETE /pulp/api/v2/consumers/consumer_id/bindings/repo-id/dist-id/  202`http://fpaste.org/199467/66837621/\r\n`DELETE /pulp/api/v2/consumers/consumer_id/bindings/repo-id/dist-id/  200` http://fpaste.org/199470/42668390/\r\n`DELETE /pulp/api/v2/consumers/consumer_id/bindings/repo-id/dist-id/  400` http://fpaste.org/199472/26684141/ fixes [317] (https://pulp.plan.io/issues/317)\r\n`DELETE /pulp/api/v2/consumers/consumer_id/bindings/repo-id/dist-id/  404` http://fpaste.org/199473/68444714/\r\n\r\n`GET /pulp/api/v2/consumers/consumer_id/bindings/repo-id/dist-id/  200` http://fpaste.org/199475/26684577/ fixes [318] (https://pulp.plan.io/issues/318)\r\n`GET /pulp/api/v2/consumers/consumer_id/bindings/repo-id/dist-id/ 404` http://fpaste.org/199477/66846781/\r\n\r\n`GET /pulp/api/v2/consumers/consumer_id/bindings/ 200` http://fpaste.org/199478/42668474/\r\n`GET /pulp/api/v2/consumers/consumer_id/bindings/ 404` http://fpaste.org/199481/14266848/\r\n\r\n`GET /pulp/api/v2/consumers/consumer_id/bindings/repo-id/ 200` http://fpaste.org/199485/85476142/\r\n`GET /pulp/api/v2/consumers/consumer_id/bindings/repo-id/  404` http://fpaste.org/199486/66855581/\r\n\r\n`GET /pulp/api/v2/consumers/consumer_id/ 404`  http://fpaste.org/199487/85710142/\r\n`GET /pulp/api/v2/consumers/consumer_id/  200 ` http://fpaste.org/199490/68593014/ fixes [707] (https://pulp.plan.io/issues/707)\r\n\r\n`GET /pulp/api/v2/consumers/ 200` http://fpaste.org/199492/66862821/\r\n\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/install/ 404` http://fpaste.org/199519/88943142/ fixes [319] (https://pulp.plan.io/issues/319)\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/install/ 400` http://fpaste.org/199521/26689082/\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/install/  202` http://fpaste.org/199523/68932914/ fixes [320] (https://pulp.plan.io/issues/320)\r\n\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/update/ 404` http://fpaste.org/199526/89517142/  fixes [319] (https://pulp.plan.io/issues/319)\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/update/ 400` http://fpaste.org/199529/42668957/\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/update  202` http://fpaste.org/199531/68973314/  fixes [320] (https://pulp.plan.io/issues/320)\r\n\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/uninstall/ 404`  http://fpaste.org/199545/66906041/ fixes [319] (https://pulp.plan.io/issues/319)\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/uninstall/ 400` http://fpaste.org/199546/14266906/\r\n`POST /pulp/api/v2/consumers/consumer-id/actions/content/uninstall/  202` http://fpaste.org/199530/89712142/ fixes [320] (https://pulp.plan.io/issues/320)\r\n\r\n`GET pulp/api/v2/consumers/consumer id/schedules/content/install/  200` http://fpaste.org/199552/26691209/ fixes [425] (https://pulp.plan.io/issues/425)\r\n`GET pulp/api/v2/consumers/consumer id/schedules/content/install/  404` http://fpaste.org/199560/42669161/ fixes [325] (https://pulp.plan.io/issues/325)\r\n\r\n`POST pulp/api/v2/consumers/consumer id/schedules/content/install/ 400` http://fpaste.org/199582/66933331/ fixes [795] (https://pulp.plan.io/issues/795)\r\n`POST pulp/api/v2/consumers/consumer id/schedules/content/install/ 404` http://fpaste.org/199565/42669206/\r\n`POST pulp/api/v2/consumers/consumer id/schedules/content/install/ 201` http://fpaste.org/199571/26692499/\r\n\r\nI've done the hand testing only for schedule  'install' since the update/uninstall is totally the same if you will check the code\r\n`GET /pulp/api/v2/consumers/consumer id/schedules/content/install/schedule id/ 200` http://fpaste.org/199589/66935781/\r\n`GET /pulp/api/v2/consumers/consumer id/schedules/content/install/schedule id/ 404` http://fpaste.org/199590/93655142/\r\n\r\n`PUT /pulp/api/v2/consumers/consumer id/schedules/content/install/schedule id/ 200` http://fpaste.org/199592/42669377/\r\n`PUT /pulp/api/v2/consumers/consumer id/schedules/content/install/schedule id/ 404` http://fpaste.org/199593/66938641/\r\n`PUT /pulp/api/v2/consumers/consumer id/schedules/content/install/schedule id/ 400` http://fpaste.org/199614/66950341/\r\n\r\n`DELETE pulp/api/v2/consumers/consumer id/schedules/content/install/schedule id/  200` http://fpaste.org/199606/26694434/\r\n`DELETE pulp/api/v2/consumers/consumer id/schedules/content/install/schedule id/  404` http://fpaste.org/199607/69448014/\r\n\r\n`GET /pulp/api/v2/consumers/consumer_id/history/ 404` http://fpaste.org/199623/14266957/ fixes [796] (https://pulp.plan.io/issues/796)\r\n`GET /pulp/api/v2/consumers/consumer_id/history/  200` http://fpaste.org/199627/42669587/\r\n\r\n`POST /pulp/api/v2/consumers/consumer_id/profiles/ 404` http://fpaste.org/199628/14266960/\r\n`POST /pulp/api/v2/consumers/consumer_id/profiles/ 400` http://fpaste.org/199636/69731314/ fixes [321] (https://pulp.plan.io/issues/321)\r\n`POST /pulp/api/v2/consumers/consumer_id/profiles/ 201` http://fpaste.org/190804/95222314/ fixes [466] (https://pulp.plan.io/issues/466)\r\n\r\n`PUT /pulp/api/v2/consumers/consumer_id/profiles/content-type/ 404` http://fpaste.org/190810/42495330/\r\n`PUT /pulp/api/v2/consumers/consumer_id/profiles/content-type/ 400` http://fpaste.org/190809/95322014/ fixes [321] (https://pulp.plan.io/issues/321)\r\n`PUT /pulp/api/v2/consumers/consumer_id/profiles/content-type/ 201` http://fpaste.org/190812/49533801/ fixes [466] (https://pulp.plan.io/issues/466)\r\n\r\n`DELETE /pulp/api/v2/consumers/consumer_id/profiles/content-type/ 404` http://fpaste.org/199638/69778014/\r\n`DELETE /pulp/api/v2/consumers/consumer_id/profiles/content-type/ 200` http://fpaste.org/199637/14266977/ fixes [323] (https://pulp.plan.io/issues/323)\r\n\r\n`GET /pulp/api/v2/consumers/consumer_id/profiles/ 404` http://fpaste.org/199651/69845514/\r\n`GET /pulp/api/v2/consumers/consumer_id/profiles/ 200` http://fpaste.org/199648/69841314/\r\n\r\n`GET /pulp/api/v2/consumers/consumer_id/profiles/content_type/ 404` http://fpaste.org/199652/26698513/\r\n`GET /pulp/api/v2/consumers/consumer_id/profiles/content_type/ 200` http://fpaste.org/199655/98697142/ fixes [324] (https://pulp.plan.io/issues/324)\r\n\r\n`POST /pulp/api/v2/consumers/actions/content/regenerate_applicability/ 400` http://fpaste.org/190866/49590141/\r\n`POST /pulp/api/v2/consumers/actions/content/regenerate_applicability/ 202` http://fpaste.org/190867/42495906/\r\n\r\n`POST /pulp/api/v2/consumers/<consumer_id>/actions/content/regenerate_applicability/ 202` http://fpaste.org/190869/49591801/\r\n`POST pulp/api/v2/consumers/<consumer_id>/actions/content/regenerate_applicability/ 404` http://fpaste.org/190868/42495913/\r\n\r\n`POST /pulp/api/v2/consumers/content/applicability/  200` http://fpaste.org/190872/42495934/\r\n`POST /pulp/api/v2/consumers/content/applicability/ 400` http://fpaste.org/190877/95956514/ fixes [797] (https://pulp.plan.io/issues/797)","created_at":"2015-03-18T11:47:03Z","updated_at":"2015-03-26T13:25:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1199d3d2532ddaf1f6fdea8577d5fab809b230f3","assignee":{"login":"asmacdo","id":1028657,"avatar_url":"https://avatars.githubusercontent.com/u/1028657?v=3","gravatar_id":"","url":"https://api.github.com/users/asmacdo","html_url":"https://github.com/asmacdo","followers_url":"https://api.github.com/users/asmacdo/followers","following_url":"https://api.github.com/users/asmacdo/following{/other_user}","gists_url":"https://api.github.com/users/asmacdo/gists{/gist_id}","starred_url":"https://api.github.com/users/asmacdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmacdo/subscriptions","organizations_url":"https://api.github.com/users/asmacdo/orgs","repos_url":"https://api.github.com/users/asmacdo/repos","events_url":"https://api.github.com/users/asmacdo/events{/privacy}","received_events_url":"https://api.github.com/users/asmacdo/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/pulp/pulp/pulls/1726/commits","review_comments_url":"https://api.github.com/repos/pulp/pulp/pulls/1726/comments","review_comment_url":"https://api.github.com/repos/pulp/pulp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pulp/pulp/issues/1726/comments","statuses_url":"https://api.github.com/repos/pulp/pulp/statuses/0d88b5fddf23b3259a6ebd529e6babc97cd32a7a","head":{"label":"ipanova:consumers-view","ref":"consumers-view","sha":"0d88b5fddf23b3259a6ebd529e6babc97cd32a7a","user":{"login":"ipanova","id":4253816,"avatar_url":"https://avatars.githubusercontent.com/u/4253816?v=3","gravatar_id":"","url":"https://api.github.com/users/ipanova","html_url":"https://github.com/ipanova","followers_url":"https://api.github.com/users/ipanova/followers","following_url":"https://api.github.com/users/ipanova/following{/other_user}","gists_url":"https://api.github.com/users/ipanova/gists{/gist_id}","starred_url":"https://api.github.com/users/ipanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipanova/subscriptions","organizations_url":"https://api.github.com/users/ipanova/orgs","repos_url":"https://api.github.com/users/ipanova/repos","events_url":"https://api.github.com/users/ipanova/events{/privacy}","received_events_url":"https://api.github.com/users/ipanova/received_events","type":"User","site_admin":false},"repo":{"id":17410078,"name":"pulp","full_name":"ipanova/pulp","owner":{"login":"ipanova","id":4253816,"avatar_url":"https://avatars.githubusercontent.com/u/4253816?v=3","gravatar_id":"","url":"https://api.github.com/users/ipanova","html_url":"https://github.com/ipanova","followers_url":"https://api.github.com/users/ipanova/followers","following_url":"https://api.github.com/users/ipanova/following{/other_user}","gists_url":"https://api.github.com/users/ipanova/gists{/gist_id}","starred_url":"https://api.github.com/users/ipanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipanova/subscriptions","organizations_url":"https://api.github.com/users/ipanova/orgs","repos_url":"https://api.github.com/users/ipanova/repos","events_url":"https://api.github.com/users/ipanova/events{/privacy}","received_events_url":"https://api.github.com/users/ipanova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ipanova/pulp","description":"Repository for Pulp platform code, including the server and base admin and consumer clients","fork":true,"url":"https://api.github.com/repos/ipanova/pulp","forks_url":"https://api.github.com/repos/ipanova/pulp/forks","keys_url":"https://api.github.com/repos/ipanova/pulp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipanova/pulp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipanova/pulp/teams","hooks_url":"https://api.github.com/repos/ipanova/pulp/hooks","issue_events_url":"https://api.github.com/repos/ipanova/pulp/issues/events{/number}","events_url":"https://api.github.com/repos/ipanova/pulp/events","assignees_url":"https://api.github.com/repos/ipanova/pulp/assignees{/user}","branches_url":"https://api.github.com/repos/ipanova/pulp/branches{/branch}","tags_url":"https://api.github.com/repos/ipanova/pulp/tags","blobs_url":"https://api.github.com/repos/ipanova/pulp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipanova/pulp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipanova/pulp/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipanova/pulp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipanova/pulp/statuses/{sha}","languages_url":"https://api.github.com/repos/ipanova/pulp/languages","stargazers_url":"https://api.github.com/repos/ipanova/pulp/stargazers","contributors_url":"https://api.github.com/repos/ipanova/pulp/contributors","subscribers_url":"https://api.github.com/repos/ipanova/pulp/subscribers","subscription_url":"https://api.github.com/repos/ipanova/pulp/subscription","commits_url":"https://api.github.com/repos/ipanova/pulp/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipanova/pulp/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipanova/pulp/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipanova/pulp/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipanova/pulp/contents/{+path}","compare_url":"https://api.github.com/repos/ipanova/pulp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipanova/pulp/merges","archive_url":"https://api.github.com/repos/ipanova/pulp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipanova/pulp/downloads","issues_url":"https://api.github.com/repos/ipanova/pulp/issues{/number}","pulls_url":"https://api.github.com/repos/ipanova/pulp/pulls{/number}","milestones_url":"https://api.github.com/repos/ipanova/pulp/milestones{/number}","notifications_url":"https://api.github.com/repos/ipanova/pulp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipanova/pulp/labels{/name}","releases_url":"https://api.github.com/repos/ipanova/pulp/releases{/id}","created_at":"2014-03-04T17:13:28Z","updated_at":"2015-01-06T12:05:33Z","pushed_at":"2015-03-26T12:49:04Z","git_url":"git://github.com/ipanova/pulp.git","ssh_url":"git@github.com:ipanova/pulp.git","clone_url":"https://github.com/ipanova/pulp.git","svn_url":"https://github.com/ipanova/pulp","homepage":"","size":82856,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"pulp:master","ref":"master","sha":"7b4ee18beeca1e91625b261c0987d5a33f99729b","user":{"login":"pulp","id":2103606,"avatar_url":"https://avatars.githubusercontent.com/u/2103606?v=3","gravatar_id":"","url":"https://api.github.com/users/pulp","html_url":"https://github.com/pulp","followers_url":"https://api.github.com/users/pulp/followers","following_url":"https://api.github.com/users/pulp/following{/other_user}","gists_url":"https://api.github.com/users/pulp/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp/subscriptions","organizations_url":"https://api.github.com/users/pulp/orgs","repos_url":"https://api.github.com/users/pulp/repos","events_url":"https://api.github.com/users/pulp/events{/privacy}","received_events_url":"https://api.github.com/users/pulp/received_events","type":"Organization","site_admin":false},"repo":{"id":5314652,"name":"pulp","full_name":"pulp/pulp","owner":{"login":"pulp","id":2103606,"avatar_url":"https://avatars.githubusercontent.com/u/2103606?v=3","gravatar_id":"","url":"https://api.github.com/users/pulp","html_url":"https://github.com/pulp","followers_url":"https://api.github.com/users/pulp/followers","following_url":"https://api.github.com/users/pulp/following{/other_user}","gists_url":"https://api.github.com/users/pulp/gists{/gist_id}","starred_url":"https://api.github.com/users/pulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulp/subscriptions","organizations_url":"https://api.github.com/users/pulp/orgs","repos_url":"https://api.github.com/users/pulp/repos","events_url":"https://api.github.com/users/pulp/events{/privacy}","received_events_url":"https://api.github.com/users/pulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pulp/pulp","description":"Repository for Pulp platform code, including the server and base admin and consumer clients","fork":false,"url":"https://api.github.com/repos/pulp/pulp","forks_url":"https://api.github.com/repos/pulp/pulp/forks","keys_url":"https://api.github.com/repos/pulp/pulp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pulp/pulp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pulp/pulp/teams","hooks_url":"https://api.github.com/repos/pulp/pulp/hooks","issue_events_url":"https://api.github.com/repos/pulp/pulp/issues/events{/number}","events_url":"https://api.github.com/repos/pulp/pulp/events","assignees_url":"https://api.github.com/repos/pulp/pulp/assignees{/user}","branches_url":"https://api.github.com/repos/pulp/pulp/branches{/branch}","tags_url":"https://api.github.com/repos/pulp/pulp/tags","blobs_url":"https://api.github.com/repos/pulp/pulp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pulp/pulp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pulp/pulp/git/refs{/sha}","trees_url":"https://api.github.com/repos/pulp/pulp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pulp/pulp/statuses/{sha}","languages_url":"https://api.github.com/repos/pulp/pulp/languages","stargazers_url":"https://api.github.com/repos/pulp/pulp/stargazers","contributors_url":"https://api.github.com/repos/pulp/pulp/contributors","subscribers_url":"https://api.github.com/repos/pulp/pulp/subscribers","subscription_url":"https://api.github.com/repos/pulp/pulp/subscription","commits_url":"https://api.github.com/repos/pulp/pulp/commits{/sha}","git_commits_url":"https://api.github.com/repos/pulp/pulp/git/commits{/sha}","comments_url":"https://api.github.com/repos/pulp/pulp/comments{/number}","issue_comment_url":"https://api.github.com/repos/pulp/pulp/issues/comments{/number}","contents_url":"https://api.github.com/repos/pulp/pulp/contents/{+path}","compare_url":"https://api.github.com/repos/pulp/pulp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pulp/pulp/merges","archive_url":"https://api.github.com/repos/pulp/pulp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pulp/pulp/downloads","issues_url":"https://api.github.com/repos/pulp/pulp/issues{/number}","pulls_url":"https://api.github.com/repos/pulp/pulp/pulls{/number}","milestones_url":"https://api.github.com/repos/pulp/pulp/milestones{/number}","notifications_url":"https://api.github.com/repos/pulp/pulp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pulp/pulp/labels{/name}","releases_url":"https://api.github.com/repos/pulp/pulp/releases{/id}","created_at":"2012-08-06T13:49:20Z","updated_at":"2015-03-26T00:04:06Z","pushed_at":"2015-03-26T12:49:06Z","git_url":"git://github.com/pulp/pulp.git","ssh_url":"git@github.com:pulp/pulp.git","clone_url":"https://github.com/pulp/pulp.git","svn_url":"https://github.com/pulp/pulp","homepage":"","size":205340,"stargazers_count":190,"watchers_count":190,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":17,"forks":75,"open_issues":17,"watchers":190,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1726"},"html":{"href":"https://github.com/pulp/pulp/pull/1726"},"issue":{"href":"https://api.github.com/repos/pulp/pulp/issues/1726"},"comments":{"href":"https://api.github.com/repos/pulp/pulp/issues/1726/comments"},"review_comments":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1726/comments"},"review_comment":{"href":"https://api.github.com/repos/pulp/pulp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pulp/pulp/pulls/1726/commits"},"statuses":{"href":"https://api.github.com/repos/pulp/pulp/statuses/0d88b5fddf23b3259a6ebd529e6babc97cd32a7a"}}}}