Uploaded image for project: 'MongoDB Tools'
  1. MongoDB Tools
  2. TOOLS-102

Add --gridfsnamespace option to "mongofiles" tool

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0-rc1
    • Component/s: mongofiles
    • Labels:
    • Documentation Changes:
      Needed

      Description

      Hi,

      Need to add --gridfsamespace option to make possible to specify the concrete gridfs namespace (prefix) to work with. For now, it just uses hardcoded "db.fs" namespace and it's not possible to override it.

        Issue Links

          Activity

          Hide
          ian@10gen.com Ian Whalen added a comment -

          Mark, definitely feel free to open a pull request in github for either, and don't forget to check the contributor guidelines for the necessary steps first: https://github.com/mongodb/mongo/blob/master/CONTRIBUTING.rst

          This includes the need to sign the contributor agreement and include any necessary tests.

          Show
          ian@10gen.com Ian Whalen added a comment - Mark, definitely feel free to open a pull request in github for either, and don't forget to check the contributor guidelines for the necessary steps first: https://github.com/mongodb/mongo/blob/master/CONTRIBUTING.rst This includes the need to sign the contributor agreement and include any necessary tests.
          Hide
          miquella Mark Severson added a comment -

          I completed the contributor agreement and submitted pull request 347.

          I tried to keep with the style in the surrounding files, but I can fix the styling if needed. I believe the code is correct, it was relatively straight forward, however, I have not had enough time to get MongoDB compiling yet. (I may try to find a bit of time over the next week or two if someone who already has it compiling doesn't try it first)

          Show
          miquella Mark Severson added a comment - I completed the contributor agreement and submitted pull request 347 . I tried to keep with the style in the surrounding files, but I can fix the styling if needed. I believe the code is correct, it was relatively straight forward, however, I have not had enough time to get MongoDB compiling yet. (I may try to find a bit of time over the next week or two if someone who already has it compiling doesn't try it first)
          Hide
          jason.coombs@yougov.com Jason R. Coombs added a comment -

          Shame this was never merged. We needed this tool today but can't use it because of this bug.

          Show
          jason.coombs@yougov.com Jason R. Coombs added a comment - Shame this was never merged. We needed this tool today but can't use it because of this bug.
          Hide
          adinoyi.omuya@10gen.com Wisdom Omuya added a comment - - edited

          This option is now --prefix and is available in the latest MongoDB release – 2.8.0-rc0.

          Show
          adinoyi.omuya@10gen.com Wisdom Omuya added a comment - - edited This option is now --prefix and is available in the latest MongoDB release – 2.8.0-rc0.
          Hide
          xgen-internal-githook Githook User added a comment -

          Author:

          {u'username': u'alabid', u'name': u'alabid', u'email': u'alabidan@gmail.com'}

          Message: TOOLS-102 added option for setting gridfs prefix

          Former-commit-id: aaed31430dead5130fc156507bc0478bb53524c2
          Branch: master
          https://github.com/mongodb/mongo-tools/commit/a5f92a36984852e5f9a811c2dd5c707a27d03d21

          Show
          xgen-internal-githook Githook User added a comment - Author: {u'username': u'alabid', u'name': u'alabid', u'email': u'alabidan@gmail.com'} Message: TOOLS-102 added option for setting gridfs prefix Former-commit-id: aaed31430dead5130fc156507bc0478bb53524c2 Branch: master https://github.com/mongodb/mongo-tools/commit/a5f92a36984852e5f9a811c2dd5c707a27d03d21

            People

            • Assignee:
              adinoyi.omuya@10gen.com Wisdom Omuya
              Reporter:
              octave Yuriy Bogdanov
            • Votes:
              23 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: