Bug 623272
Summary: | unsupported type "Conditional" existing in packagegroup | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | z_other | Assignee: | John Matthews <jmatthew> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | pkilambi, tsanders, whayutin |
Target Milestone: | --- | Keywords: | FutureFeature, QA-Closed, Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-10-20 16:11:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Preethi Thomas
2010-08-11 18:29:04 UTC
Future Feature Aligned to Sprint 16 Conditional package groups allow a package to be conditionally installed, meaning it will only be installed if a condition is met. The condition is if the 'requires' package is present. Below is a XML snippet of a package group with a conditional type <group> <id>afrikaans-support</id> <name>Afrikaans Support</name> <description/> <default>false</default> <uservisible>false</uservisible> <langonly>af</langonly> <packagelist> <packagereq requires='aspell' type='conditional'>aspell-af</packagereq> </packagelist> </group> If someone runs: "yum groupinstall afrikaans-support" the package 'aspell-af' will only be installed if the requires package, 'aspell' is installed. Below commit contains the git commit: http://git.fedorahosted.org/git/?p=pulp.git;a=commit;h=27c0c414549be80aba0c2c0401e0384aabc7585b CLI Arguments: pulp-admin -u USER -p PASS packagegroup add_package --repoid repo1 --id afrikaans-support --type conditional --requires 'aspell' -n 'aspell-af' Fixed in the 0.73 release. This will be in 0.74 Included in build 0.74. verified [root@preethi ~]# pulp-admin packagegroup add_package --repoid=f13 --id=preethi -n zip --type=conditional --requires zsh Following packages added to group [preethi] in repository [f13] for required package [zsh]: ['zip'] [root@preethi ~]# pulp-admin packagegroup info --repoid=f13 --id=preethi +------------------------------------------+ Package Group Information +------------------------------------------+ Name preethi Id preethi Mandatory packages [] Default packages [u'zsh'] Optional packages [] Conditional packages {u'zip': u'zsh'} Closed after review. |