Jira (PUP-11053) Evaluate/fix usages of Dir.glob for ruby 3

10 views
Skip to first unread message

Josh Cooper (Jira)

unread,
May 3, 2021, 3:59:04 PM5/3/21
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Task PUP-11053
Evaluate/fix usages of Dir.glob for ruby 3
Issue Type: Task Task
Assignee: Unassigned
Created: 2021/05/03 12:58 PM
Priority: Normal Normal
Reporter: Josh Cooper

Ruby 3 changes Dir.glob to sort the results by default. We need to evaluate what the impact will be in Puppet. Most likely it's the correct behavior that we should have been doing all along.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
May 6, 2021, 7:36:01 PM5/6/21
to puppe...@googlegroups.com
Josh Cooper commented on Task PUP-11053
 
Re: Evaluate/fix usages of Dir.glob for ruby 3

I submitted a topic branch to confirm sorting Dir.glob doesn't produce undesired behavior. That said I don't think there's anything that needs fixing, as we generally want the result to be sorted. For posterity, the branch is https://github.com/joshcooper/puppet/tree/dir_sort

Josh Cooper (Jira)

unread,
May 6, 2021, 7:36:01 PM5/6/21
to puppe...@googlegroups.com
Josh Cooper assigned an issue to Josh Cooper
 
Change By: Josh Cooper
Assignee: Josh Cooper

Josh Cooper (Jira)

unread,
Sep 30, 2021, 12:44:01 PM9/30/21
to puppe...@googlegroups.com
Josh Cooper commented on Task PUP-11053
 
Re: Evaluate/fix usages of Dir.glob for ruby 3

The Dir.glob issue is described in more detail here PUP-10115

Reply all
Reply to author
Forward
0 new messages