Hide Forgot
There may be a reason this is desired, but I was able to add test-group-foo, which doesn't exist, to a category: [jdob@pulp1 ~]$ pulp-admin packagegroup add_group --repoid pulp-f16 --categoryid test-category-1 --id test-group-foo Package group [test-group-foo] added to category [test-category-1] in repository [pulp-f16] In comps.xml: <comps> <group> <id>test-group-2</id> <default>true</default> <uservisible>true</uservisible> <display_order>1024</display_order> <name>Test Category 2</name> <description></description> <packagelist> </packagelist> </group> <category> <id>test-category-1</id> <display_order>99</display_order> <name>Test Category 1</name> <description></description> <grouplist> <groupid>test-group-foo</groupid> </grouplist> </category> </comps>
Categories and Groups and even references of packages in a group are not a strong linkage. It's valid to have a group reference in a Category and the group doesn't exist. The reason is that the data from comps.xml may be aggregated across repos and a group defined in a category may exist in a diff repo from where the category is. I recommend we moved this to NOT_A_BUG
pulp no longer has this feature.