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

Patch our vendored Ruby to allow long paths on Windows

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2021-06-16
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      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
    • QA Risk Assessment:
      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

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support