Gem package does not include dependent submodules

XMLWordPrintableJSON

    • Fully Compatible
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      I see the not referred symbolic link is included in the mongo-2.14.0.gem.
       

      $ gem unpack mongo-2.14.0.gem 
      Unpacked gem: '/home/jaruga/git/pkg/fed/rubygem-mongo/work/mongo-2.14.0'
      
      $ cd mongo-2.14.0/
      
      $ ls -l spec/support/ocsp 
      lrwxrwxrwx. 1 jaruga jaruga 63 Dec 7 16:35 spec/support/ocsp -> spec/support/../../.mod/drivers-evergreen-tools/.evergreen/ocsp
      

      I found it by a lint program on Fedora project. How to improve this situation? I think including the symbolic link in the gem file might not be suitable.

      rubygem-mongo-doc.noarch: W: dangling-relative-symlink /usr/share/gems/gems/mongo-2.14.0/spec/support/ocsp spec/support/spec/support/../../.mod/drivers-evergreen-tools/.evergreen/ocsp
      The target of the symbolic link does not exist within this package or its file
      based dependencies.  Verify spelling of the link target and that the target is
      included in a package in this package's dependency chain
      

       

              Assignee:
              Jamis Buck
              Reporter:
              Jun Aruga
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified