Project

Profile

Help

Issue #1576 » pulp-2.7.1-rpm-unit.txt

this is how pulp 2.7.1 stored an rpm in mongo - mhrivnak, 01/24/2016 01:45 AM

 
{
"_id" : "b0c91080-ad57-4603-9b64-e275bd0b70fa",
"build_time" : 1331831373,
"buildhost" : "smqe-ws15",
"pulp_user_metadata" : {
},
"_content_type_id" : "rpm",
"vendor" : null,
"relativepath" : "penguin-0.9.1-1.noarch.rpm",
"size" : 2464,
"group" : "Internet/Applications",
"_ns" : "units_rpm",
"base_url" : null,
"filename" : "penguin-0.9.1-1.noarch.rpm",
"relative_url_path" : null,
"epoch" : "0",
"version" : "0.9.1",
"version_sort_index" : "01-0.01-9.01-1",
"provides" : [
{
"release" : "1",
"epoch" : "0",
"version" : "0.9.1",
"flags" : "EQ",
"name" : "penguin"
}
],
"files" : {
"dir" : [ ],
"file" : [
"/tmp/penguin.txt"
]
},
"repodata" : {
"filelists" : "<package arch=\"noarch\" name=\"penguin\" pkgid=\"57d314cc6f5322484cdcd33f4173374de95c53034de5b1168b9291ca0ad06dec\">\n <version epoch=\"0\" rel=\"1\" ver=\"0.9.1\" />\n\n <file>/tmp/penguin.txt</file>\n</package>\n\n",
"other" : "<package arch=\"noarch\" name=\"penguin\" pkgid=\"57d314cc6f5322484cdcd33f4173374de95c53034de5b1168b9291ca0ad06dec\">\n <version epoch=\"0\" rel=\"1\" ver=\"0.9.1\" />\n\n</package>\n\n",
"primary" : "<package type=\"rpm\">\n <name>penguin</name>\n <arch>noarch</arch>\n <version epoch=\"0\" rel=\"1\" ver=\"0.9.1\" />\n <checksum pkgid=\"YES\" type=\"sha256\">57d314cc6f5322484cdcd33f4173374de95c53034de5b1168b9291ca0ad06dec</checksum>\n <summary>A dummy package of penguin</summary>\n <description>A dummy package of penguin</description>\n <packager />\n <url>http://tstrachota.fedorapeople.org</url>\n <time build=\"1331831373\" file=\"1331832459\" />\n <size archive=\"296\" installed=\"42\" package=\"2464\" />\n<location href=\"penguin-0.9.1-1.noarch.rpm\"/>\n <format>\n <rpm:license>GPLv2</rpm:license>\n <rpm:vendor />\n <rpm:group>Internet/Applications</rpm:group>\n <rpm:buildhost>smqe-ws15</rpm:buildhost>\n <rpm:sourcerpm>penguin-0.9.1-1.src.rpm</rpm:sourcerpm>\n <rpm:header-range end=\"2313\" start=\"872\" />\n <rpm:provides>\n <rpm:entry epoch=\"0\" flags=\"EQ\" name=\"penguin\" rel=\"1\" ver=\"0.9.1\" />\n </rpm:provides>\n <rpm:requires>\n <rpm:entry name=\"dolphin\" />\n </rpm:requires>\n </format>\n</package>\n"
},
"description" : "A dummy package of penguin",
"_last_updated" : 1453350405,
"header_range" : {
"start" : 872,
"end" : 2313
},
"release_sort_index" : "01-1",
"arch" : "noarch",
"name" : "penguin",
"_storage_path" : "/var/lib/pulp/content/rpm/penguin/0.9.1/1/noarch/57d314cc6f5322484cdcd33f4173374de95c53034de5b1168b9291ca0ad06dec/penguin-0.9.1-1.noarch.rpm",
"sourcerpm" : "penguin-0.9.1-1.src.rpm",
"checksumtype" : "sha256",
"license" : "GPLv2",
"changelog" : [ ],
"url" : "http://tstrachota.fedorapeople.org",
"checksum" : "57d314cc6f5322484cdcd33f4173374de95c53034de5b1168b9291ca0ad06dec",
"summary" : "A dummy package of penguin",
"time" : 1331832459,
"release" : "1",
"requires" : [
{
"release" : null,
"epoch" : null,
"version" : null,
"flags" : null,
"name" : "dolphin"
}
]
}

    (1-1/1)