You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2013/03/26 19:19:16 UTC
[jira] [Updated] (BIGTOP-825) make package manager be able to
handle two conflicted packages
[ https://issues.apache.org/jira/browse/BIGTOP-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-825:
------------------------------------
Fix Version/s: (was: 0.6.0)
> make package manager be able to handle two conflicted packages
> --------------------------------------------------------------
>
> Key: BIGTOP-825
> URL: https://issues.apache.org/jira/browse/BIGTOP-825
> Project: Bigtop
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.6.0
> Reporter: Johnny Zhang
> Assignee: Johnny Zhang
>
> my package tests is using package manager in iTest. I need to handle the situation that install two conflicted package in sequentially, which means
> ......
> install a
> do pkg test for a
> uninstall a
> install b
> do pkg test for b
> .....
> I think adding a tag <conflictwith> in pkg manifest and corresponding logic in YumCmdLinePackageManager.groovy, ZypperCmdLinePackageManager.groovy, AptCmdLinePackageManager.groovy should be able to resolve this question. something like
> <pkg-a>
> <conflictwith>pkg-b</conflictwith>
> <metadata>
> <summary>xxxxxxxxxxxxxxxx</summary>
> <description>xxxxxxxxxxxx</description>
> <url>xxxxxxxxxxxxxxxxxxxx</url>
> </metadata>
> ......
> </pkg-a>
> before installing pkg-a, check if <conflictwith> presented, if so, uninstall the corresponding pkg first.
> I am working on a patch, will post it soon.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira