Per the --skip option on "pulp-admin rpm repo create", the sync process should be able to skip specific types. It currently does not.
https://github.com/pulp/pulp_rpm/pull/226
build: 2.2.0-0.3.beta
[root@hp-dl360g6-01 ~]# rpm -q pulp-server pulp-server-2.2.0-0.3.beta.fc18.noarch [root@hp-dl360g6-01 ~]# [root@hp-dl360g6-01 ~]# pulp-admin rpm repo create --repo-id zoo.repo --feed http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/ --skip rpm,erratum Successfully created repository [zoo.repo] [root@hp-dl360g6-01 ~]# time pulp-admin rpm repo sync run --repo-id zoo.repo +----------------------------------------------------------------------+ Synchronizing Repository [zoo.repo] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 0/0 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing package groups/categories... [-] ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [-] ... completed Publishing repository over HTTPS [-] ... completed real 0m2.824s user 0m0.388s sys 0m0.034s [root@hp-dl360g6-01 ~]# [root@hp-dl360g6-01 ~]# pulp-admin rpm repo create --repo-id rhel6-2 --feed https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6.2/x86_64/os/ --feed-ca-cert CDN/cdn.redhat.com-chain.crt --feed-cert CDN/1359391926_4512.crt --feed-key CDN/1359391926_4512.key --skip erratum,distribution Successfully created repository [rhel6-2] [root@hp-dl360g6-01 ~]# [root@hp-dl360g6-01 ~]# [root@hp-dl360g6-01 ~]# time pulp-admin rpm repo sync run --repo-id rhel6-2 +----------------------------------------------------------------------+ Synchronizing Repository [rhel6-2] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [|] ... completed Downloading repository content... [==================================================] 100% RPMs: 7281/7281 items Delta RPMs: 0/0 items ... completed Importing package groups/categories... [|] ... completed Publishing packages... [==================================================] 100% Packages: 7281/7281 items ... completed Generating metadata [-] ... completed Publishing repository over HTTPS [-] ... completed real 68m33.958s user 1m5.455s sys 0m4.450s [root@hp-dl360g6-01 ~]# pulp-admin rpm repo create --repo-id f18 --feed http://download.devel.redhat.com/released/F-18/GOLD/Fedora/x86_64/os/ --skip distribution,drpm Successfully created repository [f18] [root@hp-dl360g6-01 ~]# time pulp-admin rpm repo sync run --repo-id f18 +----------------------------------------------------------------------+ Synchronizing Repository [f18] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [-] ... completed Downloading repository content... [==================================================] 100% RPMs: 4165/4165 items Delta RPMs: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [\] ... completed Publishing packages... [==================================================] 100% Packages: 4165/4165 items ... completed Generating metadata [|] ... completed Publishing repository over HTTPS [-] ... completed real 7m55.867s user 0m7.642s sys 0m0.520s
2.2 released http://repos.fedorapeople.org/repos/pulp/pulp/stable/2.2/