Yes, behaviour is as you describe. All rpms are collected in Packages directory *including*  debuginfo. But separate repodatas are created. Without --spli-debuginfo only one repo (same Packages layout) is created.

pá 31. 1. 2020 v 16:40 odesílatel Pat Riehecky <riehecky@fnal.gov> napsal:
I'm running a fairly simple koji dist-repo and trying to get
--split-debuginfo to actually split the debuginfo packages out.

As near as I can tell, the debuginfo bits are getting correctly
identified by koji.is_debuginfo, but the repo split bits are not
actually using that value to route the packages.

Am I running it wrongly to try and get the debuginfo into a separate repo?

Pat

Commands and Output:

$ rpm -qa |grep koji
koji-hub-plugins-1.20.0-1.el7.noarch
koji-utils-1.20.0-1.el7.noarch
python2-koji-web-1.20.0-1.el7.noarch
koji-builder-plugins-1.20.0-1.el7.noarch
koji-builder-1.20.0-1.el7.noarch
python2-koji-cli-plugins-1.20.0-1.el7.noarch
koji-1.20.0-1.el7.noarch
koji-web-1.20.0-1.el7.noarch
python2-koji-1.20.0-1.el7.noarch
python2-koji-hub-1.20.0-1.el7.noarch
python2-koji-hub-plugins-1.20.0-1.el7.noarch
koji-hub-1.20.0-1.el7.noarch


$ koji dist-repo --split-debuginfo --with-src
--comps=/mnt/koji/group.xml TESTTAG abcd1372

tree .
.
├── groups
│   └── comps.xml
├── repo.json
├── src
│   ├── kojipkgs
│   ├── Packages
│   │   └── b
│   │       └── bzip2-1.0.6-26.el8.src.rpm
│   ├── pkglist
│   └── repodata
│       ├──
69d3f220ec4bf74427c8a3e32670e12df7cba1b5b1e83820068c0bc62886cef9-comps.xml
│       ├──
7da792eb29362d8fff6f97964596af0ce15f778db1e5fc7bebe8819b5816a768-other.sqlite.bz2
│       ├──
84046ce528b4dc422db3a08fbd3f862d0f43cb9846ac2259ac18fea2bc77ac44-primary.xml.gz
│       ├──
9056a74894ec7df26cdf8f35d001e9f7abbd7c71dced9d574ad6d5f1e19df0fc-comps.xml.gz
│       ├──
b468f6f2bd29a1c61766b1b0b6fd99ac3db6321032e7b43cc9c88d533320d591-primary.sqlite.bz2
│       ├──
b5d47d64298d8be1ff451bc17a4a6ddbbb4e8c1acbbe10544195d8216cfe24d0-other.xml.gz
│       ├──
b8470f8d1e5a356a439113c777dd84e39636ebfbabe140493f90e0058babb1c3-filelists.xml.gz
│       ├──
c8306769295fbd06c043ea78218f5f78dec5df072246f594128086c614650718-filelists.sqlite.bz2
│       └── repomd.xml
└── x86_64
     ├── debug
     │   ├── pkglist
     │   └── repodata
     │       ├──
3c61f948284e705ff9dcc68809f2a7d77272639a8f979b4b8127180523c40e3c-other.xml.gz
     │       ├──
69d3f220ec4bf74427c8a3e32670e12df7cba1b5b1e83820068c0bc62886cef9-comps.xml
     │       ├──
79cab7b59d4c9c9dc110cfc9a4cc2b63d702499d14f08a8d03f663ca125b240a-primary.sqlite.bz2
     │       ├──
9056a74894ec7df26cdf8f35d001e9f7abbd7c71dced9d574ad6d5f1e19df0fc-comps.xml.gz
     │       ├──
c2f18df7a8c4ec934fc857cc7a768f362734a02a8bb29056c317d38127c04d7d-other.sqlite.bz2
     │       ├──
d03057f39e93561a4a0f73e4424bb7fa4c6a5408fbe69ea51866cc4e95d57e2d-filelists.sqlite.bz2
     │       ├──
e4bd8be07a6c0a594021b9f749b80a2ea386a3fc9f1b7ba3ef6fd361da7f57bc-primary.xml.gz
     │       ├──
e90cb6ef58252cf788c1e0681e111079975d457d18cc4aa44acb29de64d55a51-filelists.xml.gz
     │       └── repomd.xml
     ├── kojipkgs
     ├── Packages
     │   └── b
     │       ├── bzip2-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-debuginfo-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-debugsource-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-devel-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-libs-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-libs-debuginfo-1.0.6-26.el8.x86_64.rpm
     │       └── bzip2-static-1.0.6-26.el8.x86_64.rpm
     ├── pkglist
     └── repodata
         ├──
1612d2c3e6d4a19ec0c09956eb863067f684016747d135f98d5914ac45e19fdd-filelists.sqlite.bz2
         ├──
1d15b7f4fba94d5e689b3e501a14c9b52d1b319f0ad9b3bc98ec0bc962d39bac-primary.sqlite.bz2
         ├──
269dbc6d9eb6d9d636e113bf8729cc553414c0cd547ae4d629eebac099d4f6f7-other.sqlite.bz2
         ├──
349a9f8497f319ae7b82fe17c8823fdb37c33abe1128f764d3f413385efd294f-primary.xml.gz
         ├──
69d3f220ec4bf74427c8a3e32670e12df7cba1b5b1e83820068c0bc62886cef9-comps.xml
         ├──
9056a74894ec7df26cdf8f35d001e9f7abbd7c71dced9d574ad6d5f1e19df0fc-comps.xml.gz
         ├──
be8e4d00683213a20af62d002dfb9571b3aea039593840e376525be41fafb720-other.xml.gz
         ├──
e4587a590847dd722b0a464e0dee955891dca47cfbe3da516ad41b9d9cf97caf-filelists.xml.gz
         └── repomd.xml

11 directories, 42 files

VS

$ koji dist-repo --with-src --comps=/mnt/koji/group.xml TESTTAG abcd1372

.
├── groups
│   └── comps.xml
├── repo.json
├── src
│   ├── kojipkgs
│   ├── Packages
│   │   └── b
│   │       └── bzip2-1.0.6-26.el8.src.rpm
│   ├── pkglist
│   └── repodata
│       ├──
69d3f220ec4bf74427c8a3e32670e12df7cba1b5b1e83820068c0bc62886cef9-comps.xml
│       ├──
7da792eb29362d8fff6f97964596af0ce15f778db1e5fc7bebe8819b5816a768-other.sqlite.bz2
│       ├──
84046ce528b4dc422db3a08fbd3f862d0f43cb9846ac2259ac18fea2bc77ac44-primary.xml.gz
│       ├──
9056a74894ec7df26cdf8f35d001e9f7abbd7c71dced9d574ad6d5f1e19df0fc-comps.xml.gz
│       ├──
b468f6f2bd29a1c61766b1b0b6fd99ac3db6321032e7b43cc9c88d533320d591-primary.sqlite.bz2
│       ├──
b5d47d64298d8be1ff451bc17a4a6ddbbb4e8c1acbbe10544195d8216cfe24d0-other.xml.gz
│       ├──
b8470f8d1e5a356a439113c777dd84e39636ebfbabe140493f90e0058babb1c3-filelists.xml.gz
│       ├──
c8306769295fbd06c043ea78218f5f78dec5df072246f594128086c614650718-filelists.sqlite.bz2
│       └── repomd.xml
└── x86_64
     ├── kojipkgs
     ├── Packages
     │   └── b
     │       ├── bzip2-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-debuginfo-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-debugsource-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-devel-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-libs-1.0.6-26.el8.x86_64.rpm
     │       ├── bzip2-libs-debuginfo-1.0.6-26.el8.x86_64.rpm
     │       └── bzip2-static-1.0.6-26.el8.x86_64.rpm
     ├── pkglist
     └── repodata
         ├──
26953b8ee14f7d64b67dd949270d6b422e13f28d829bf86304a649569876edaf-primary.xml.gz
         ├──
4c002ec51430fb431a749819c94dfad396668ce73d33a234e7f42a5c2b8eeaaa-filelists.sqlite.bz2
         ├──
4edcf979fb001b2e3afdd9bf434386f951641be20a7c65a157f65a89f8f175ee-other.sqlite.bz2
         ├──
58a923a54e63474f849f615d2d00ecd62bfa431c422afd43254dc44c85899d9d-filelists.xml.gz
         ├──
69d3f220ec4bf74427c8a3e32670e12df7cba1b5b1e83820068c0bc62886cef9-comps.xml
         ├──
9056a74894ec7df26cdf8f35d001e9f7abbd7c71dced9d574ad6d5f1e19df0fc-comps.xml.gz
         ├──
c2fc12efda1dfe044ad26b2f8aa0b40a85895b79902536517a2dedd105a8fd1e-primary.sqlite.bz2
         ├──
ca85c8e259e26a20c167784c30d6c03b7111c334e3d083e039619c504feec557-other.xml.gz
         └── repomd.xml

9 directories, 32 files



--
Pat Riehecky

Fermi National Accelerator Laboratory
www.fnal.gov
www.scientificlinux.org
_______________________________________________
koji-devel mailing list -- koji-devel@lists.fedorahosted.org
To unsubscribe send an email to koji-devel-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/koji-devel@lists.fedorahosted.org


--

            Tomas Kopecek <tkopecek@redhat.com>
            Release Engineering Development, RedHat