Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-3759

Patch our vendored Ruby to allow long paths on Windows

    XMLWordPrintable

Details

    • Night's Watch
    • 1
    • NW - 2021-06-16
    • Enhancement
    • Hide
      This release allows usage of long paths on Windows by integrating the following patch into the Puppet Agent vendored Ruby: https://github.com/ruby/ruby/commit/229cb0fcdb7957b19d7042b000d803ae58cc6593
      Show
      This release allows usage of long paths on Windows by integrating the following patch into the Puppet Agent vendored Ruby: https://github.com/ruby/ruby/commit/229cb0fcdb7957b19d7042b000d803ae58cc6593
    • Needs Assessment

    Description

      We need to patch our internal Ruby to include the fix from https://github.com/ruby/ruby/pull/4505

      We should patch both ruby 2.5/2.7, build puppet-runtime packages for WIndows and confirm long paths work by running Dir.mkdir with a long path (over 260 chars) on a machine with MAX_PATH registry keys updated with increased value. (see https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd#enable-long-paths-in-windows-10-version-1607-and-later for guide)

      Attachments

        Issue Links

          Activity

            People

              gabriel.nagy Gabriel Nagy
              gabriel.nagy Gabriel Nagy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support