Opened 9 years ago

Closed 9 years ago

#47198 closed request (fixed)

mongo-tools port request

Reported by: richard@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr, gknauth (Geoffrey Knauth), vkuznet (Valentin Kuznetsov)
Port: mongodb-tools

Description (last modified by mf2k (Frank Schima))

Hi,

The current mongodb 3.x ports install these files : mongo, mongobridge, mongod, mongoperf, mongos, mongosniff.

However, a full release should install : bsondump, mongod, mongoexport, mongoimport, mongoperf, mongos, mongostat, mongo, mongodump, mongofiles, mongooplog, mongorestore, mongosniff, mongotop.

The macports mongodb 2.6 series had these files, the 3.0 series does not (see below).

sh-3.2# port activate mongodb@2.6.8_0
--->  Computing dependencies for mongodb
--->  Deactivating mongodb @3.0.1_0
--->  Cleaning mongodb
--->  Activating mongodb @2.6.8_0
--->  Cleaning mongodb
sh-3.2# mongo
mongo         mongod        mongoexport   mongoimport   mongoperf     mongos        mongostat     
mongobridge   mongodump     mongofiles    mongooplog    mongorestore  mongosniff    mongotop      
sh-3.2# port activate mongodb@3.0.1
--->  Computing dependencies for mongodb
--->  Deactivating mongodb @2.6.8_0
--->  Cleaning mongodb
--->  Activating mongodb @3.0.1_0
--->  Cleaning mongodb
sh-3.2# mongo
mongo        mongobridge  mongod       mongoperf    mongos       mongosniff   

Thanks,

Cheers Richard

Change History (9)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers mongodb), if any.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

As far as I know, we install everything the developers of mongodb intend us to install. According to the release notes, as of mongodb 3, the tools are maintained as a separate project. Perhaps that means we need to add a new port to install those tools.

comment:5 Changed 9 years ago by gknauth (Geoffrey Knauth)

Because the macports version of mongo3 was missing the essential files mentioned, I went to the MongoDB standard download (.tgz) and installed that instead. I don't know what is meant by "we install everything the developers of mongodb intend us to install," because their standard .tgz download includes all these things.

comment:6 Changed 9 years ago by richard@…

Whats the process for adding a new port for the tools ? https://github.com/mongodb/mongo-tools

comment:7 in reply to:  6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: geoff@… added

Replying to geoff@…:

Because the macports version of mongo3 was missing the essential files mentioned, I went to the MongoDB standard download (.tgz) and installed that instead. I don't know what is meant by "we install everything the developers of mongodb intend us to install," because their standard .tgz download includes all these things.

It means: all we do in the MacPorts mongodb portfile is download the source, run scons all mongobridge mongosniff to build it, and then run scons install to install it, and then we manually install mongobridge because scons install doesn't do that. This has not changed between mongodb 2 and 3. What has changed is that the developers of mongodb have changed what happens when scons all mongobridge mongosniff and scons install are run. If you believe the developers of mongodb should not have changed that, then you'll need to discuss that with the developers of mongodb; it was not our decision; we were not consulted.

Replying to richard@…:

Whats the process for adding a new port for the tools ? https://github.com/mongodb/mongo-tools

I will investigate. Thanks for giving me the URL; I had not yet gotten around to discovering where they had moved the tools.

comment:8 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: vkuznet@… added

Has duplicate #47444.

comment:9 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Port: mongodb-tools added; mongodb removed
Resolution: fixed
Status: newclosed
Summary: Please add missing binaries to mongodb 3.x series.mongo-tools port request
Type: defectrequest

A mongo-tools port has been added in r135223.

Note: See TracTickets for help on using tickets.