Project

General

Profile

« Previous | Next » 

Revision 239e0ae8

Added by Eric D. Helms over 11 years ago

Updates to how the content type is declared for extensions.
Test updates.

View differences:

test/fixtures/vcr_cassettes/extensions/repository_dissassociate.yml
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/
body:
encoding: US-ASCII
string: "{\"id\":\"integration_test_id_clone\",\"importer_type_id\":\"yum_importer\",\"importer_config\":{}}"
string: "{\"importer_type_id\":\"yum_importer\",\"importer_config\":{},\"id\":\"integration_test_id_clone\"}"
headers:
Content-Length:
- "89"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "89"
User-Agent:
- Ruby
response:
status:
code: 201
message: Created
headers:
Date:
- Sun, 06 Jan 2013 11:51:51 GMT
Server:
- Apache/2.2.22 (Fedora)
Location:
- integration_test_id_clone
Content-Length:
- "283"
Connection:
- close
Content-Length:
- "283"
Location:
- integration_test_id_clone
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:17 GMT
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id_clone\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"50e96557dc79213ace000b17\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
string: "{\"scratchpad\": {}, \"display_name\": \"integration_test_id_clone\", \"description\": null, \"_ns\": \"repos\", \"notes\": {}, \"content_unit_count\": 0, \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e67\"}, \"id\": \"integration_test_id_clone\", \"_href\": \"/pulp/api/v2/repositories/integration_test_id_clone/\"}"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:51 GMT
recorded_at: Wed, 09 Jan 2013 15:38:17 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/associate/
body:
encoding: US-ASCII
string: "{\"source_repo_id\":\"integration_test_id\"}"
headers:
Content-Length:
- "40"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "40"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Sun, 06 Jan 2013 11:51:51 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Encoding:
- utf-8
Content-Length:
- "730"
Connection:
- close
Content-Length:
- "730"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:17 GMT
Content-Type:
- application/json
Content-Encoding:
- utf-8
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/1ceaae66-ab1d-4382-bf98-007f12078b0d/\", \"task_id\": \"1ceaae66-ab1d-4382-bf98-007f12078b0d\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"1ceaae66-ab1d-4382-bf98-007f12078b0d\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/2884c0b9-8161-479f-9b43-ff743c68ca0e/\", \"task_id\": \"2884c0b9-8161-479f-9b43-ff743c68ca0e\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:repository:integration_test_id\", \"pulp:action:associate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"2884c0b9-8161-479f-9b43-ff743c68ca0e\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:51 GMT
recorded_at: Wed, 09 Jan 2013 15:38:17 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
string: "{\"criteria\":{\"type_ids\":[\"erratum\"]}}"
headers:
Content-Length:
- "37"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 06 Jan 2013 11:51:53 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2314"
Connection:
- close
Content-Length:
- "1939"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:19 GMT
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-01-06T16:51:49Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-06T16:51:49Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0532b5a5-adf2-4f09-a2a5-d1aed7f5fded\", \"unit_type_id\": \"distribution\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50e96555dc79213ace000b01\"}, \"id\": \"50e96555dc79213ace000b01\", \"owner_id\": \"yum_importer\", \"metadata\": {\"files\": [{\"checksumtype\": \"sha256\", \"relativepath\": \"images/test2.img\", \"fileName\": \"test2.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test2.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test2.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"empty.iso\", \"fileName\": \"empty.iso\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/empty.iso\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"empty.iso\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"images/test1.img\", \"fileName\": \"test1.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test1.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test1.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}], \"_storage_path\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"_ns\": \"units_distribution\", \"variant\": \"TestVariant\", \"version\": \"16\", \"_content_type_id\": \"distribution\", \"_id\": \"0532b5a5-adf2-4f09-a2a5-d1aed7f5fded\", \"arch\": \"x86_64\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\"}}]"
string: "[{\"updated\": \"2013-01-09T20:38:15Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-09T20:38:15Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"1cffd4f3-dfba-4e06-92ff-fbc9873dd7e5\", \"unit_type_id\": \"erratum\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50ed8ee7dc79217246005e54\"}, \"id\": \"50ed8ee7dc79217246005e54\", \"owner_id\": \"yum_importer\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0001\", \"severity\": \"\", \"title\": \"Empty errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [], \"status\": \"stable\", \"updated\": \"\", \"description\": \"Empty errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"1cffd4f3-dfba-4e06-92ff-fbc9873dd7e5\"}}, {\"updated\": \"2013-01-09T20:38:15Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-09T20:38:15Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\", \"unit_type_id\": \"erratum\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50ed8ee7dc79217246005e56\"}, \"id\": \"50ed8ee7dc79217246005e56\", \"owner_id\": \"yum_importer\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0002\", \"severity\": \"\", \"title\": \"One package errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [{\"packages\": [{\"src\": \"http://www.fedoraproject.org\", \"name\": \"elephant\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": null, \"version\": \"0.3\", \"release\": \"0.8\", \"arch\": \"noarch\"}], \"name\": \"1\", \"short\": \"\"}], \"status\": \"stable\", \"updated\": \"\", \"description\": \"One package errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\"}}]"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:53 GMT
recorded_at: Wed, 09 Jan 2013 15:38:19 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"distribution\"],\"filters\":{\"unit\":{\"id\":{\"$in\":[\"ks-Test Family-TestVariant-16-x86_64\"]}}}}}"
string: "{\"criteria\":{\"type_ids\":[\"erratum\"],\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"1cffd4f3-dfba-4e06-92ff-fbc9873dd7e5\"]}}}}}"
headers:
Content-Length:
- "124"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "117"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Sun, 06 Jan 2013 11:51:53 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Encoding:
- utf-8
Content-Length:
- "656"
Connection:
- close
Content-Length:
- "656"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:19 GMT
Content-Type:
- application/json
Content-Encoding:
- utf-8
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/d6aacb84-5d97-47d1-8c5d-7e383d87d88d/\", \"task_id\": \"d6aacb84-5d97-47d1-8c5d-7e383d87d88d\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"d6aacb84-5d97-47d1-8c5d-7e383d87d88d\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/d155c98e-d9c0-43fa-be78-ad3b7d2aab94/\", \"task_id\": \"d155c98e-d9c0-43fa-be78-ad3b7d2aab94\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"d155c98e-d9c0-43fa-be78-ad3b7d2aab94\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:53 GMT
recorded_at: Wed, 09 Jan 2013 15:38:19 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
string: "{\"criteria\":{\"type_ids\":[\"erratum\"]}}"
headers:
Content-Length:
- "37"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "42"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 06 Jan 2013 11:51:55 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "2"
Connection:
- close
Content-Length:
- "1077"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:21 GMT
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[]"
string: "[{\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\", \"unit_type_id\": \"erratum\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e78\"}, \"id\": \"50ed8ee9dc79217246005e78\", \"owner_id\": \"admin\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0002\", \"severity\": \"\", \"title\": \"One package errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [{\"packages\": [{\"src\": \"http://www.fedoraproject.org\", \"name\": \"elephant\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": null, \"version\": \"0.3\", \"release\": \"0.8\", \"arch\": \"noarch\"}], \"name\": \"1\", \"short\": \"\"}], \"status\": \"stable\", \"updated\": \"\", \"description\": \"One package errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\"}}]"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:55 GMT
recorded_at: Wed, 09 Jan 2013 15:38:21 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"],\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"10029406-f6a5-4ffc-897b-3489a0b1ad5b\"]}}}}}"
headers:
Content-Length:
- "120"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "120"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Sun, 06 Jan 2013 11:51:55 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Encoding:
- utf-8
Content-Length:
- "656"
Connection:
- close
Content-Length:
- "656"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:21 GMT
Content-Type:
- application/json
Content-Encoding:
- utf-8
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/5681c1da-7e15-4cbc-9e1b-6c6eb2a3e401/\", \"task_id\": \"5681c1da-7e15-4cbc-9e1b-6c6eb2a3e401\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"5681c1da-7e15-4cbc-9e1b-6c6eb2a3e401\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/c48d6d7a-27c7-44c8-b3b4-70e229f2d67e/\", \"task_id\": \"c48d6d7a-27c7-44c8-b3b4-70e229f2d67e\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"c48d6d7a-27c7-44c8-b3b4-70e229f2d67e\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:55 GMT
recorded_at: Wed, 09 Jan 2013 15:38:21 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"rpm\"]}}"
headers:
Content-Length:
- "33"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "33"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 06 Jan 2013 11:51:56 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "18866"
Connection:
- close
Content-Length:
- "18866"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:23 GMT
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"51044984-19c0-40f8-9d5e-1e465c5b602a\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b3d\"}, \"id\": \"50e96557dc79213ace000b3d\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//elephant.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>elephant</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\\n <summary>A dummy package of elephant</summary>\\n <description>A dummy package of elephant</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257466\\\"/>\\n <size package=\\\"2244\\\" installed=\\\"2244\\\" archive=\\\"296\\\"/>\\n<location href=\\\"elephant-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>elephant-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"elephant\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"elephant-0.3-0.8.noarch.rpm\", \"provides\": [[\"elephant\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"51044984-19c0-40f8-9d5e-1e465c5b602a\", \"arch\": \"noarch\", \"name\": \"elephant\", \"description\": \"A dummy package of elephant\"}}, {\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"73f2147a-9fab-4413-b01a-181710c4e567\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b39\"}, \"id\": \"50e96557dc79213ace000b39\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//giraffe.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>giraffe</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\\n <summary>A dummy package of giraffe</summary>\\n <description>A dummy package of giraffe</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257414\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"2236\\\" archive=\\\"292\\\"/>\\n<location href=\\\"giraffe-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>giraffe-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"giraffe\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\", \"filename\": \"giraffe-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"giraffe-0.3-0.8.noarch.rpm\", \"provides\": [[\"giraffe\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"73f2147a-9fab-4413-b01a-181710c4e567\", \"arch\": \"noarch\", \"name\": \"giraffe\", \"description\": \"A dummy package of giraffe\"}}, {\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"6e16e024-798c-4719-b54f-0bd3a36915d6\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b3a\"}, \"id\": \"50e96557dc79213ace000b3a\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//lion.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>lion</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4</checksum>\\n <summary>A dummy package of lion</summary>\\n <description>A dummy package of lion</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257455\\\"/>\\n <size package=\\\"2212\\\" installed=\\\"2212\\\" archive=\\\"292\\\"/>\\n<location href=\\\"lion-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>lion-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2000\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"lion\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\", \"filename\": \"lion-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"lion-0.3-0.8.noarch.rpm\", \"provides\": [[\"lion\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"6e16e024-798c-4719-b54f-0bd3a36915d6\", \"arch\": \"noarch\", \"name\": \"lion\", \"description\": \"A dummy package of lion\"}}, {\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"63807174-414e-46d4-ada3-f66b4b150d76\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b3b\"}, \"id\": \"50e96557dc79213ace000b3b\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//monkey.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>monkey</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1</checksum>\\n <summary>A dummy package of monkey</summary>\\n <description>A dummy package of monkey</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257260\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"2232\\\" archive=\\\"292\\\"/>\\n<location href=\\\"monkey-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>monkey-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"monkey\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\", \"filename\": \"monkey-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"monkey-0.3-0.8.noarch.rpm\", \"provides\": [[\"monkey\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"63807174-414e-46d4-ada3-f66b4b150d76\", \"arch\": \"noarch\", \"name\": \"monkey\", \"description\": \"A dummy package of monkey\"}}, {\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"255411cf-2420-45ff-be30-d514e92c649f\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b2e\"}, \"id\": \"50e96557dc79213ace000b2e\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//penguin.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>penguin</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\\n <summary>A dummy package of penguin</summary>\\n <description>A dummy package of penguin</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257460\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"2232\\\" archive=\\\"292\\\"/>\\n<location href=\\\"penguin-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>penguin-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"penguin\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\", \"filename\": \"penguin-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"penguin-0.3-0.8.noarch.rpm\", \"provides\": [[\"penguin\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"255411cf-2420-45ff-be30-d514e92c649f\", \"arch\": \"noarch\", \"name\": \"penguin\", \"description\": \"A dummy package of penguin\"}}, {\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"55c5d908-d289-46a8-8881-0332fcb5b68b\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b3c\"}, \"id\": \"50e96557dc79213ace000b3c\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//squirrel.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>squirrel</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\\n <summary>A dummy package of squirrel</summary>\\n <description>A dummy package of squirrel</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257502\\\"/>\\n <size package=\\\"2248\\\" installed=\\\"2248\\\" archive=\\\"296\\\"/>\\n<location href=\\\"squirrel-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>squirrel-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"squirrel\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\", \"filename\": \"squirrel-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"squirrel-0.3-0.8.noarch.rpm\", \"provides\": [[\"squirrel\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"55c5d908-d289-46a8-8881-0332fcb5b68b\", \"arch\": \"noarch\", \"name\": \"squirrel\", \"description\": \"A dummy package of squirrel\"}}, {\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"83809ba6-9ac5-4183-99b4-5c40e090731f\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b38\"}, \"id\": \"50e96557dc79213ace000b38\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//walrus.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>walrus</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\\n <summary>A dummy package of walrus</summary>\\n <description>A dummy package of walrus</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891030\\\" build=\\\"1308257449\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"2236\\\" archive=\\\"292\\\"/>\\n<location href=\\\"walrus-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>walrus-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"walrus\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\", \"filename\": \"walrus-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"walrus-0.3-0.8.noarch.rpm\", \"provides\": [[\"walrus\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"83809ba6-9ac5-4183-99b4-5c40e090731f\", \"arch\": \"noarch\", \"name\": \"walrus\", \"description\": \"A dummy package of walrus\"}}]"
string: "[{\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"51044984-19c0-40f8-9d5e-1e465c5b602a\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e8d\"}, \"id\": \"50ed8ee9dc79217246005e8d\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//elephant/0.3/0.8/noarch/3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3/elephant-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//elephant.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\\\" name=\\\"elephant\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>elephant</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3</checksum>\\n <summary>A dummy package of elephant</summary>\\n <description>A dummy package of elephant</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257466\\\"/>\\n <size package=\\\"2244\\\" installed=\\\"2244\\\" archive=\\\"296\\\"/>\\n<location href=\\\"elephant-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>elephant-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"elephant\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"3e1c70cd1b421328acaf6397cb3d16145306bb95f65d1b095fc31372a0a701f3\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"elephant-0.3-0.8.noarch.rpm\", \"provides\": [[\"elephant\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"51044984-19c0-40f8-9d5e-1e465c5b602a\", \"arch\": \"noarch\", \"name\": \"elephant\", \"description\": \"A dummy package of elephant\"}}, {\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"73f2147a-9fab-4413-b01a-181710c4e567\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e89\"}, \"id\": \"50ed8ee9dc79217246005e89\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//giraffe/0.3/0.8/noarch/f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14/giraffe-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//giraffe.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\\\" name=\\\"giraffe\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>giraffe</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14</checksum>\\n <summary>A dummy package of giraffe</summary>\\n <description>A dummy package of giraffe</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891027\\\" build=\\\"1308257414\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"2236\\\" archive=\\\"292\\\"/>\\n<location href=\\\"giraffe-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>giraffe-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"giraffe\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"f25d67d1d9da04f12e57ca323247b43891ac46533e355b82de6d1922009f9f14\", \"filename\": \"giraffe-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"giraffe-0.3-0.8.noarch.rpm\", \"provides\": [[\"giraffe\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"73f2147a-9fab-4413-b01a-181710c4e567\", \"arch\": \"noarch\", \"name\": \"giraffe\", \"description\": \"A dummy package of giraffe\"}}, {\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"6e16e024-798c-4719-b54f-0bd3a36915d6\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e8a\"}, \"id\": \"50ed8ee9dc79217246005e8a\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//lion/0.3/0.8/noarch/12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4/lion-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//lion.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\\\" name=\\\"lion\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>lion</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4</checksum>\\n <summary>A dummy package of lion</summary>\\n <description>A dummy package of lion</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891028\\\" build=\\\"1308257455\\\"/>\\n <size package=\\\"2212\\\" installed=\\\"2212\\\" archive=\\\"292\\\"/>\\n<location href=\\\"lion-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>lion-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2000\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"lion\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"12400dc95c23a4c160725a908716cd3fcdd7a8981585437ab64cd62efa3e4ae4\", \"filename\": \"lion-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"lion-0.3-0.8.noarch.rpm\", \"provides\": [[\"lion\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"6e16e024-798c-4719-b54f-0bd3a36915d6\", \"arch\": \"noarch\", \"name\": \"lion\", \"description\": \"A dummy package of lion\"}}, {\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"63807174-414e-46d4-ada3-f66b4b150d76\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e8b\"}, \"id\": \"50ed8ee9dc79217246005e8b\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//monkey/0.3/0.8/noarch/0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1/monkey-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//monkey.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\\\" name=\\\"monkey\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>monkey</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1</checksum>\\n <summary>A dummy package of monkey</summary>\\n <description>A dummy package of monkey</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257260\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"2232\\\" archive=\\\"292\\\"/>\\n<location href=\\\"monkey-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>monkey-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"monkey\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"0e8fa50d0128fbabc7ccc5632e3fa25d39b0280169f6166cb8e2c84de8501db1\", \"filename\": \"monkey-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"monkey-0.3-0.8.noarch.rpm\", \"provides\": [[\"monkey\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"63807174-414e-46d4-ada3-f66b4b150d76\", \"arch\": \"noarch\", \"name\": \"monkey\", \"description\": \"A dummy package of monkey\"}}, {\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"255411cf-2420-45ff-be30-d514e92c649f\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e7f\"}, \"id\": \"50ed8ee9dc79217246005e7f\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//penguin/0.3/0.8/noarch/3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694/penguin-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//penguin.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\\\" name=\\\"penguin\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>penguin</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694</checksum>\\n <summary>A dummy package of penguin</summary>\\n <description>A dummy package of penguin</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257460\\\"/>\\n <size package=\\\"2232\\\" installed=\\\"2232\\\" archive=\\\"292\\\"/>\\n<location href=\\\"penguin-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>penguin-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"penguin\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"3fcb2c927de9e13bf68469032a28b139d3e5ad2e58564fc210fd6e48635be694\", \"filename\": \"penguin-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"penguin-0.3-0.8.noarch.rpm\", \"provides\": [[\"penguin\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"255411cf-2420-45ff-be30-d514e92c649f\", \"arch\": \"noarch\", \"name\": \"penguin\", \"description\": \"A dummy package of penguin\"}}, {\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"55c5d908-d289-46a8-8881-0332fcb5b68b\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e8c\"}, \"id\": \"50ed8ee9dc79217246005e8c\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//squirrel/0.3/0.8/noarch/251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2/squirrel-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//squirrel.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\\\" name=\\\"squirrel\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>squirrel</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2</checksum>\\n <summary>A dummy package of squirrel</summary>\\n <description>A dummy package of squirrel</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891029\\\" build=\\\"1308257502\\\"/>\\n <size package=\\\"2248\\\" installed=\\\"2248\\\" archive=\\\"296\\\"/>\\n<location href=\\\"squirrel-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>squirrel-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2028\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"squirrel\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"251768bdd15f13d78487c27638aa6aecd01551e253756093cde1c0ae878a17d2\", \"filename\": \"squirrel-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"squirrel-0.3-0.8.noarch.rpm\", \"provides\": [[\"squirrel\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"55c5d908-d289-46a8-8881-0332fcb5b68b\", \"arch\": \"noarch\", \"name\": \"squirrel\", \"description\": \"A dummy package of squirrel\"}}, {\"updated\": \"2013-01-09T20:38:17Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-09T20:38:17Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"83809ba6-9ac5-4183-99b4-5c40e090731f\", \"unit_type_id\": \"rpm\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50ed8ee9dc79217246005e88\"}, \"id\": \"50ed8ee9dc79217246005e88\", \"owner_id\": \"admin\", \"metadata\": {\"requires\": [[\"/bin/sh\", null, [null, null, null]]], \"_storage_path\": \"/var/lib/pulp/content/rpm/.//walrus/0.3/0.8/noarch/6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd/walrus-0.3-0.8.noarch.rpm\", \"repodata\": {\"filelists\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n <file>//walrus.txt</file>\\n</package>\\n\", \"other\": \"\\n<package pkgid=\\\"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\\\" name=\\\"walrus\\\" arch=\\\"noarch\\\">\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n\\n</package>\\n\", \"primary\": \"\\n<package type=\\\"rpm\\\">\\n <name>walrus</name>\\n <arch>noarch</arch>\\n <version epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n <checksum type=\\\"sha256\\\" pkgid=\\\"YES\\\">6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd</checksum>\\n <summary>A dummy package of walrus</summary>\\n <description>A dummy package of walrus</description>\\n <packager></packager>\\n <url>http://tstrachota.fedorapeople.org</url>\\n <time file=\\\"1321891030\\\" build=\\\"1308257449\\\"/>\\n <size package=\\\"2236\\\" installed=\\\"2236\\\" archive=\\\"292\\\"/>\\n<location href=\\\"walrus-0.3-0.8.noarch.rpm\\\"/>\\n <format>\\n <rpm:license>GPLv2</rpm:license>\\n <rpm:vendor/>\\n <rpm:group>Internet/Applications</rpm:group>\\n <rpm:buildhost>dhcp-26-118.brq.redhat.com</rpm:buildhost>\\n <rpm:sourcerpm>walrus-0.3-0.8.src.rpm</rpm:sourcerpm>\\n <rpm:header-range start=\\\"280\\\" end=\\\"2016\\\"/>\\n <rpm:provides>\\n <rpm:entry name=\\\"walrus\\\" flags=\\\"EQ\\\" epoch=\\\"0\\\" ver=\\\"0.3\\\" rel=\\\"0.8\\\"/>\\n </rpm:provides>\\n <rpm:requires>\\n <rpm:entry name=\\\"/bin/sh\\\" pre=\\\"1\\\"/>\\n </rpm:requires>\\n </format>\\n</package>\"}, \"checksumtype\": \"sha256\", \"license\": \"GPLv2\", \"_ns\": \"units_rpm\", \"checksum\": \"6e8d6dc057e3e2c9819f0dc7e6c7b7f86bf2e8571bba414adec7fb621a461dfd\", \"filename\": \"walrus-0.3-0.8.noarch.rpm\", \"buildhost\": \"dhcp-26-118.brq.redhat.com\", \"epoch\": \"0\", \"version\": \"0.3\", \"relativepath\": \"walrus-0.3-0.8.noarch.rpm\", \"provides\": [[\"walrus\", \"EQ\", [\"0\", \"0.3\", \"0.8\"]]], \"_content_type_id\": \"rpm\", \"release\": \"0.8\", \"vendor\": \"\", \"_id\": \"83809ba6-9ac5-4183-99b4-5c40e090731f\", \"arch\": \"noarch\", \"name\": \"walrus\", \"description\": \"A dummy package of walrus\"}}]"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:57 GMT
recorded_at: Wed, 09 Jan 2013 15:38:23 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"erratum\"]}}"
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
headers:
Content-Length:
- "42"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "37"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 06 Jan 2013 11:51:57 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "1939"
Connection:
- close
Content-Length:
- "2314"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:23 GMT
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-01-06T16:51:49Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-06T16:51:49Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"1cffd4f3-dfba-4e06-92ff-fbc9873dd7e5\", \"unit_type_id\": \"erratum\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50e96555dc79213ace000b04\"}, \"id\": \"50e96555dc79213ace000b04\", \"owner_id\": \"yum_importer\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0001\", \"severity\": \"\", \"title\": \"Empty errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [], \"status\": \"stable\", \"updated\": \"\", \"description\": \"Empty errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"1cffd4f3-dfba-4e06-92ff-fbc9873dd7e5\"}}, {\"updated\": \"2013-01-06T16:51:49Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-06T16:51:49Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\", \"unit_type_id\": \"erratum\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50e96555dc79213ace000b06\"}, \"id\": \"50e96555dc79213ace000b06\", \"owner_id\": \"yum_importer\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0002\", \"severity\": \"\", \"title\": \"One package errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [{\"packages\": [{\"src\": \"http://www.fedoraproject.org\", \"name\": \"elephant\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": null, \"version\": \"0.3\", \"release\": \"0.8\", \"arch\": \"noarch\"}], \"name\": \"1\", \"short\": \"\"}], \"status\": \"stable\", \"updated\": \"\", \"description\": \"One package errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\"}}]"
string: "[{\"updated\": \"2013-01-09T20:38:15Z\", \"repo_id\": \"integration_test_id\", \"created\": \"2013-01-09T20:38:15Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"0532b5a5-adf2-4f09-a2a5-d1aed7f5fded\", \"unit_type_id\": \"distribution\", \"owner_type\": \"importer\", \"_id\": {\"$oid\": \"50ed8ee7dc79217246005e51\"}, \"id\": \"50ed8ee7dc79217246005e51\", \"owner_id\": \"yum_importer\", \"metadata\": {\"files\": [{\"checksumtype\": \"sha256\", \"relativepath\": \"images/test2.img\", \"fileName\": \"test2.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test2.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test2.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"empty.iso\", \"fileName\": \"empty.iso\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/empty.iso\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"empty.iso\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"size\": 0}, {\"checksumtype\": \"sha256\", \"relativepath\": \"images/test1.img\", \"fileName\": \"test1.img\", \"downloadurl\": \"file:///home/ehelms/workspace/runcible/test/fixtures/repositories/zoo5/images/test1.img\", \"item_type\": \"tree_file\", \"savepath\": \"/var/lib/pulp/working/repos/integration_test_id/importers/yum_importer/integration_test_id/images\", \"checksum\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\", \"filename\": \"test1.img\", \"pkgpath\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64/images\", \"size\": 0}], \"_storage_path\": \"/var/lib/pulp/content/distribution/ks-Test Family-TestVariant-16-x86_64\", \"family\": \"Test Family\", \"_ns\": \"units_distribution\", \"variant\": \"TestVariant\", \"version\": \"16\", \"_content_type_id\": \"distribution\", \"_id\": \"0532b5a5-adf2-4f09-a2a5-d1aed7f5fded\", \"arch\": \"x86_64\", \"id\": \"ks-Test Family-TestVariant-16-x86_64\"}}]"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:57 GMT
recorded_at: Wed, 09 Jan 2013 15:38:23 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/actions/unassociate/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"erratum\"],\"filters\":{\"association\":{\"unit_id\":{\"$in\":[\"1cffd4f3-dfba-4e06-92ff-fbc9873dd7e5\"]}}}}}"
string: "{\"criteria\":{\"type_ids\":[\"distribution\"],\"filters\":{\"unit\":{\"id\":{\"$in\":[\"ks-Test Family-TestVariant-16-x86_64\"]}}}}}"
headers:
Content-Length:
- "117"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "124"
User-Agent:
- Ruby
response:
status:
code: 202
message: Accepted
headers:
Date:
- Sun, 06 Jan 2013 11:51:57 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Encoding:
- utf-8
Content-Length:
- "656"
Connection:
- close
Content-Length:
- "656"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:23 GMT
Content-Type:
- application/json
Content-Encoding:
- utf-8
body:
encoding: US-ASCII
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/d56ce3aa-f041-4f1a-b340-a0c607205e91/\", \"task_id\": \"d56ce3aa-f041-4f1a-b340-a0c607205e91\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"d56ce3aa-f041-4f1a-b340-a0c607205e91\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
string: "{\"task_group_id\": null, \"exception\": null, \"traceback\": null, \"_href\": \"/pulp/api/v2/tasks/a9c6cb88-13d9-4493-8571-3afd892a4179/\", \"task_id\": \"a9c6cb88-13d9-4493-8571-3afd892a4179\", \"call_request_tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"reasons\": [], \"start_time\": null, \"tags\": [\"pulp:repository:integration_test_id_clone\", \"pulp:action:unassociate\"], \"state\": \"waiting\", \"finish_time\": null, \"dependency_failures\": {}, \"schedule_id\": null, \"progress\": {}, \"call_request_group_id\": null, \"call_request_id\": \"a9c6cb88-13d9-4493-8571-3afd892a4179\", \"principal_login\": \"admin\", \"response\": \"accepted\", \"result\": null}"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:57 GMT
recorded_at: Wed, 09 Jan 2013 15:38:23 GMT
- request:
method: post
uri: https://admin:admin@localhost/pulp/api/v2/repositories/integration_test_id_clone/search/units/
body:
encoding: US-ASCII
string: "{\"criteria\":{\"type_ids\":[\"erratum\"]}}"
string: "{\"criteria\":{\"type_ids\":[\"distribution\"]}}"
headers:
Content-Length:
- "42"
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Content-Type:
- application/json
Content-Length:
- "37"
User-Agent:
- Ruby
response:
status:
code: 200
message: OK
headers:
Date:
- Sun, 06 Jan 2013 11:51:58 GMT
Server:
- Apache/2.2.22 (Fedora)
Content-Length:
- "1077"
Connection:
- close
Content-Length:
- "2"
Server:
- Apache/2.2.22 (Fedora)
Date:
- Wed, 09 Jan 2013 15:38:25 GMT
Content-Type:
- application/json
body:
encoding: US-ASCII
string: "[{\"updated\": \"2013-01-06T16:51:51Z\", \"repo_id\": \"integration_test_id_clone\", \"created\": \"2013-01-06T16:51:51Z\", \"_ns\": \"repo_content_units\", \"unit_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\", \"unit_type_id\": \"erratum\", \"owner_type\": \"user\", \"_id\": {\"$oid\": \"50e96557dc79213ace000b27\"}, \"id\": \"50e96557dc79213ace000b27\", \"owner_id\": \"admin\", \"metadata\": {\"issued\": \"2010-01-01 01:01:01\", \"references\": [], \"_content_type_id\": \"erratum\", \"id\": \"RHEA-2010:0002\", \"severity\": \"\", \"title\": \"One package errata\", \"_ns\": \"units_erratum\", \"version\": \"1\", \"reboot_suggested\": false, \"type\": \"security\", \"pkglist\": [{\"packages\": [{\"src\": \"http://www.fedoraproject.org\", \"name\": \"elephant\", \"filename\": \"elephant-0.3-0.8.noarch.rpm\", \"epoch\": null, \"version\": \"0.3\", \"release\": \"0.8\", \"arch\": \"noarch\"}], \"name\": \"1\", \"short\": \"\"}], \"status\": \"stable\", \"updated\": \"\", \"description\": \"One package errata\", \"pushcount\": 1, \"from_str\": \"lzap+pub@redhat.com\", \"_storage_path\": null, \"rights\": \"\", \"solution\": \"\", \"summary\": \"\", \"release\": \"1\", \"_id\": \"c68ae302-e2fb-4e94-8b12-262ecefc7950\"}}]"
string: "[]"
http_version:
recorded_at: Sun, 06 Jan 2013 11:51:58 GMT
recorded_with: VCR 2.2.5
recorded_at: Wed, 09 Jan 2013 15:38:25 GMT
recorded_with: VCR 2.3.0

Also available in: Unified diff