Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-43934

Voltron 'cleanup.rb' is incorrectly removing cbbackupmgr documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 6.6.2, 7.0.0
    • 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4, 5.5.5, 5.5.6, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.5.1, 6.6.0, 6.6.1, 6.5.2, 6.5.0
    • build
    • 6.5.2-6624 on Windows Server 2019
    • Untriaged
    • 1
    • Unknown
    • Build Team 2021 Sprint 3

    Description

      What's the issue?
      The Windows build runs a Ruby cleanup script before creating the executable installer, this script has a few wildcard expressions for "unwanted" files which should be removed to save space; it looks like one of the wildcards is unexpectedly removing the installed documentation from 'cbbackupmgr'. This means that the documentation for 'cbbackupmgr' is absent in our Windows builds (meaning users can't use the '--help' flags for any commands).

      Attached to this MB is an abandoned patch called 'WIP don't wildcard remove documentation' which comments this line. I created a toy build with this patch and can confirm that this is the reason the documentation is being removed.

      What's the fix?
      I imagine we will want a more fine grained solution to this problem than simply commenting the highlighted wildcard which is why I'm passing this MB onto the build team as I imagine they will have a solution that they'd find more preferable.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              james.lee James Lee
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty