{"action":"created","issue":{"url":"https://api.github.com/repos/PulpQE/pulp-fixtures/issues/45","repository_url":"https://api.github.com/repos/PulpQE/pulp-fixtures","labels_url":"https://api.github.com/repos/PulpQE/pulp-fixtures/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/PulpQE/pulp-fixtures/issues/45/comments","events_url":"https://api.github.com/repos/PulpQE/pulp-fixtures/issues/45/events","html_url":"https://github.com/PulpQE/pulp-fixtures/pull/45","id":192683263,"number":45,"title":"Add fixture for RPM repo with alternate layout","user":{"login":"Ichimonji10","id":1012989,"avatar_url":"https://avatars.githubusercontent.com/u/1012989?v=3","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-30T21:23:13Z","updated_at":"2016-11-30T21:24:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PulpQE/pulp-fixtures/pulls/45","html_url":"https://github.com/PulpQE/pulp-fixtures/pull/45","diff_url":"https://github.com/PulpQE/pulp-fixtures/pull/45.diff","patch_url":"https://github.com/PulpQE/pulp-fixtures/pull/45.patch"},"body":"Add make target `fixtures/rpm-alt-layout`. When called, this new target\r\ncreates an RPM repository with packages in a directory other than the\r\nroot of the root of the repository.\r\n\r\nSee: https://pulp.plan.io/issues/2354"},"comment":{"url":"https://api.github.com/repos/PulpQE/pulp-fixtures/issues/comments/263999877","html_url":"https://github.com/PulpQE/pulp-fixtures/pull/45#issuecomment-263999877","issue_url":"https://api.github.com/repos/PulpQE/pulp-fixtures/issues/45","id":263999877,"user":{"login":"Ichimonji10","id":1012989,"avatar_url":"https://avatars.githubusercontent.com/u/1012989?v=3","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T21:24:35Z","updated_at":"2016-11-30T21:24:35Z","body":"Tested with:\r\n\r\n```bash\r\ngit clone https://github.com/Ichimonji10/pulp-fixtures.git\r\ncd pulp-fixtures/\r\ngit checkout alt-layout\r\nmake fixtures/rpm-alt-layout\r\ntree fixtures/\r\nzcat fixtures/rpm-alt-layout/repodata/14ffaa6202f9b83f17e552fa7a86f75811147251b4cc4f411eacfde5a187375d-primary.xml.gz\r\n```\r\n\r\nOutput of `tree fixtures/`:\r\n\r\n```\r\nfixtures/\r\n└── rpm-alt-layout\r\n    ├── packages\r\n    │   └── keep-going\r\n    │       ├── bear-4.1-1.noarch.rpm\r\n    │       ├── camel-0.1-1.noarch.rpm\r\n    │       ├── cat-1.0-1.noarch.rpm\r\n    │       ├── cheetah-1.25.3-5.noarch.rpm\r\n    │       ├── chimpanzee-0.21-1.noarch.rpm\r\n    │       ├── cockateel-3.1-1.noarch.rpm\r\n    │       ├── cow-2.2-3.noarch.rpm\r\n    │       ├── crow-0.8-1.noarch.rpm\r\n    │       ├── dog-4.23-1.noarch.rpm\r\n    │       ├── dolphin-3.10.232-1.noarch.rpm\r\n    │       ├── duck-0.6-1.noarch.rpm\r\n    │       ├── elephant-8.3-1.noarch.rpm\r\n    │       ├── fox-1.1-2.noarch.rpm\r\n    │       ├── frog-0.1-1.noarch.rpm\r\n    │       ├── giraffe-0.67-2.noarch.rpm\r\n    │       ├── gorilla-0.62-1.noarch.rpm\r\n    │       ├── horse-0.22-2.noarch.rpm\r\n    │       ├── kangaroo-0.2-1.noarch.rpm\r\n    │       ├── lion-0.4-1.noarch.rpm\r\n    │       ├── mouse-0.1.12-1.noarch.rpm\r\n    │       ├── penguin-0.9.1-1.noarch.rpm\r\n    │       ├── pike-2.2-1.noarch.rpm\r\n    │       ├── shark-0.1-1.noarch.rpm\r\n    │       ├── squirrel-0.1-1.noarch.rpm\r\n    │       ├── stork-0.12-2.noarch.rpm\r\n    │       ├── tiger-1.0-4.noarch.rpm\r\n    │       ├── trout-0.12-1.noarch.rpm\r\n    │       ├── walrus-0.71-1.noarch.rpm\r\n    │       ├── walrus-5.21-1.noarch.rpm\r\n    │       ├── whale-0.2-1.noarch.rpm\r\n    │       ├── wolf-9.4-2.noarch.rpm\r\n    │       └── zebra-0.1-2.noarch.rpm\r\n    └── repodata\r\n        ├── 14ffaa6202f9b83f17e552fa7a86f75811147251b4cc4f411eacfde5a187375d-primary.xml.gz\r\n        ├── 288db366d07ba85ec9512bc0461c579aebd3fe6d89133db5255cc1e15d529a20-other.sqlite.bz2\r\n        ├── 2ec864b66d01573863d37c379807d3876c0258ad926e19bd08fdc77d79eefed8-updateinfo.xml.gz\r\n        ├── 51c74b17c8dcb5eec410799ac86c404a7dd6ee1882fe0ad9b661c5a57f998548-filelists.xml.gz\r\n        ├── 5e655c4cde94fe5f1a39ed2015d5a5bbfa051fa032b3fb911609ada337b5fee8-comps.xml\r\n        ├── 7ecd88afb722bd266656fcd2ce197ced5accbfe61f8f1bef918ecc3152fdeca3-comps.xml.gz\r\n        ├── e9110192ea8cf44a907a767317911445faf2a8fae050d0efead23923a05963bb-primary.sqlite.bz2\r\n        ├── ebbe25e65b6e6cb28092838de6ae7daa0b34f02a47a78ba99456117e072635fb-filelists.sqlite.bz2\r\n        ├── f7b06c125ffc1543a97e4d530eec1a06a1857479b2e2d8b1466b03b63a2db485-other.xml.gz\r\n        └── repomd.xml\r\n```\r\n\r\nPartial output of `zcat ...`:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<metadata xmlns=\"http://linux.duke.edu/metadata/common\" xmlns:rpm=\"http://linux.duke.edu/metadata/rpm\" packages=\"32\">\r\n<package type=\"rpm\">\r\n  <name>bear</name>\r\n  <arch>noarch</arch>\r\n  <version epoch=\"0\" ver=\"4.1\" rel=\"1\"/>\r\n  <checksum type=\"sha256\" pkgid=\"YES\">ceb0f0bb58be244393cc565e8ee5ef0ad36884d8ba8eec74542ff47d299a34c1</checksum>\r\n  <summary>A dummy package of bear</summary>\r\n  <description>A dummy package of bear</description>\r\n  <packager></packager>\r\n  <url>http://tstrachota.fedorapeople.org</url>\r\n  <time file=\"1480540910\" build=\"1331831374\"/>\r\n  <size package=\"1846\" installed=\"42\" archive=\"296\"/>\r\n  <location href=\"packages/keep-going/bear-4.1-1.noarch.rpm\"/>\r\n  <format>\r\n    <rpm:license>GPLv2</rpm:license>\r\n    <rpm:vendor/>\r\n    <rpm:group>Internet/Applications</rpm:group>\r\n    <rpm:buildhost>smqe-ws15</rpm:buildhost>\r\n    <rpm:sourcerpm>bear-4.1-1.src.rpm</rpm:sourcerpm>\r\n    <rpm:header-range start=\"280\" end=\"1697\"/>\r\n    <rpm:provides>\r\n      <rpm:entry name=\"bear\" flags=\"EQ\" epoch=\"0\" ver=\"4.1\" rel=\"1\"/>\r\n    </rpm:provides>\r\n  </format>\r\n</package>\r\n```\r\n\r\nImportantly, the `<location>` element correctly references package locations."}}
{"actor":{"display_login":"Ichimonji10"}}