Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 580796

Summary: =dev-db/mongodb-3.0.11 - needs mongo-tools 3.2+ as no mongo-tools >=3.0.11 exists
Product: Gentoo Linux Reporter: Tomáš Mózes <hydrapolic>
Component: [OLD] UnspecifiedAssignee: Ultrabug <ultrabug>
Status: RESOLVED FIXED    
Severity: normal CC: julien, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://jira.mongodb.org/browse/TOOLS-1168
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomáš Mózes 2016-04-22 06:29:02 UTC
We have a dep on mongo-tools:
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"

This works just fine. But in case of MongoDB 3.0.11, we have no tools 3.0.11 (no release on github).

What if we grab the major mongodb version:
MONGODB_MAJOR=$(get_version_component_range 1-2)

And then use this as the dep for mongo-tools?
PDEPEND="tools? ( >=app-admin/mongo-tools-${MONGODB_MAJOR} )"

I don't know if the tools are backwards compatible and can be mixed.
Comment 1 Ultrabug gentoo-dev 2016-04-29 07:11:42 UTC
Yeah I dunno how I missed that one tbh... but no I don't think we should mix them together, they're binded for a reason.

I've opened an issue on github mongo-tools as per $URL
Comment 2 Tomáš Mózes 2016-04-29 09:49:52 UTC
Thanks
Comment 3 Ultrabug gentoo-dev 2016-05-17 15:45:18 UTC
fixed upstream, fixed in tree ;)
Comment 4 Tomáš Mózes 2016-05-18 04:22:10 UTC
Thanks!