Project

General

Profile

Activity

From 08/08/2024 to 08/14/2024

08/14/2024

08:23 PM Revision fd974f5d (git): Increase timeout of test_finalizer
The test is timing out on lpi4a so a longer timeout should fix it. peterzhu2118 (Peter Zhu)
08:16 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
byroot (Jean Boussier) wrote in #note-36:
> As for the API, my two cents is that it would make the most sense in `Pr...
Dan0042 (Daniel DeLorme)
07:39 PM Revision 09bf3c9d (git): [PRISM] Trigger moreswitches off shebang
kddnewton (Kevin Newton)
07:27 PM Bug #20675: Parse error with required kwargs and omitted parens
I agree that `f k:` at end of line should be parsed as `f(k:)`. Even though it is backward incompatible, it can be de... Dan0042 (Daniel DeLorme)
06:06 PM Revision 002e785e (git): [ruby/irb] Fix kill pager pid throwing Errno::ESRCH when pager
process already terminated
(https://github.com/ruby/irb/pull/989)
https://github.com/ruby/irb/commit/949f032e9b
tompng (tomoya ishida)
05:49 PM Revision 0610f1b0 (git): Fix crash when GC runs during finalizers at shutdown
We need to remove from the finalizer_table after running all the
finalizers because GC could trigger during the final...
peterzhu2118 (Peter Zhu)
05:47 PM Revision 85f99b38 (git): [DOC] Tweaks to Array#all? (#11365)
burdettelamar (Burdette Lamar)
05:40 PM Revision a952ea24 (git): [ruby/prism] Callback on shebang switches
Add the ability to receive a callback when the parser encounters a
shebang that contains additional switches after th...
kddnewton (Kevin Newton)
05:19 PM Revision 66312ad9 (git): Re-initialize vm->ractor.sched.lock after fork (#11372)
[Bug #20633] Re-initialize vm->ractor.sched.lock after fork
Previously under certain conditions it was possible to e...
jhawthorn (John Hawthorn)
04:35 PM Feature #20676: Pathnames aren't Comparable
It looks like I got it wrong. `<=>` does case-sensitive matching and doesn't behave the way I thought it did. General... gmcgibbon (Gannon McGibbon)
01:48 PM Feature #20676: Pathnames aren't Comparable
> I think we should add Pathname#start_with?(path) for convenience, or maybe Pathname#inside?(path).
Yes, having m...
byroot (Jean Boussier)
01:20 PM Feature #20676: Pathnames aren't Comparable
I think we should add `Pathname#start_with?(path)` for convenience, or maybe `Pathname#inside?(path)`.
FWIW it alrea...
Eregon (Benoit Daloze)
12:59 PM Feature #20676: Pathnames aren't Comparable
Hanmac (Hans Mackowiak) wrote in #note-4:
> nobu (Nobuyoshi Nakada) wrote in #note-2:
> > Probably you may want to ...
ufuk (Ufuk Kayserilioglu)
12:50 PM Feature #20676: Pathnames aren't Comparable
nobu (Nobuyoshi Nakada) wrote in #note-2:
> Probably you may want to do:
>
> ```ruby
> (Pathname("/a/b/c").to_s+...
Hanmac (Hans Mackowiak)
12:01 PM Feature #20676 (Feedback): Pathnames aren't Comparable
nobu (Nobuyoshi Nakada)
11:56 AM Feature #20676: Pathnames aren't Comparable
Probably you may want to do:
```ruby
(Pathname("/a/b/c").to_s+"/").start_with?(Pathname("/a/b").to_s+"/")
```
nobu (Nobuyoshi Nakada)
08:00 AM Feature #20676: Pathnames aren't Comparable
> to check if pathnames are subdirectories of each other
I don't understand.
```ruby
>> Pathname("/a/b").to_s...
byroot (Jean Boussier)
04:28 PM Revision 88954a0e (git): [ruby/prism] Tweak inspect representation of `Prism::Location`
This PR tweaks inspect representation of `Prism::Location`.
## Before
During debugging, the meaning of `@location=h...
koic (Koichi ITO)
02:51 PM Revision 264175db (git): [DOC] Update comment about how object ID is calculated
The object ID no longer treats symbols in a special way so we can simplify
the comment about how it is calculated.
peterzhu2118 (Peter Zhu)
08:41 AM Misc #20661: Stop retrying tests in `make test-all` command by default
I add some background.
As a result of the introduction of Launchable (#20254), it was discovered that many test fa...
mame (Yusuke Endoh)
07:01 AM Revision d0954741 (git): Update bundled gems list as of 2024-08-14
git[bot]
05:48 AM Bug #20677: error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
@kjtsanaktsidis Could you take a look? mame (Yusuke Endoh)
04:32 AM Bug #20677 (Closed): error: mach-o section specifier requires a segment whose length is between 1 and 16 characters
ruby (the development version as of 2024-08-11) does not build on macOS 11 or earlier with Apple Clang 1300 or earlie... ryandesign (Ryan Carsten Schmidt)
04:06 AM Revision f2f177ed (git): [ruby/irb] Improve easter_egg logo resolution
(https://github.com/ruby/irb/pull/987)
https://github.com/ruby/irb/commit/ab394db93f
tompng (tomoya ishida)
03:24 AM Revision e7046f1f (git): Increase the default timeout in assert_darwin_vm_dump_works
ono-max (Naoto Ono)
03:14 AM Revision 983d91cf (git): Bump github/codeql-action from 3.26.0 to 3.26.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.0 to 3.26.1.
- [Release notes](https:...
dependabot[bot]

08/13/2024

11:13 PM Revision b20957bd (git): [ruby/resolv] test_dns: Fix failure on Windows
(https://github.com/ruby/resolv/pull/58)
test_dns: Fix failure on Windows
1. Switch to #with_udp_and_tcp helper met...
sorah (Sorah Fukumori)
09:43 PM Feature #20676 (Feedback): Pathnames aren't Comparable
👋
I was working with Pathnames recently and noticed that I could do:
```rb
Pathname("/a/b").to_s <= Pathname("...
gmcgibbon (Gannon McGibbon)
09:09 PM Revision 094e5336 (git): [ruby/resolv] Reuse open TCP connection
[RFC7766] Section 5 recommends stub resolvers to reuse open TCP
connections to a nameserver.
[RFC7766]: https://data...
hanazuki (Kasumi Hanazuki)
09:09 PM Revision 4be9b72f (git): [ruby/resolv] Fix TCP fallback with multiple nameservers
Under the following conditions the exception
`Resolv::DNS::Requester::RequestError: host/port don't match` is raised:...
igrpst (Igor Pstyga)
08:56 PM Revision 525008cd (git): Delete newarraykwsplat
The pushtoarraykwsplat instruction was designed to replace newarraykwsplat,
and we now meet the condition for deletio...
alanwu (Alan Wu)
08:51 PM Bug #20670 (Closed): fork deadlocks in child process due to timer thread
Fixed by https://github.com/ruby/ruby/commit/87a85550edd786665e081b355c6af62c4854b1d7 jhawthorn (John Hawthorn)
07:53 PM Revision b80b8399 (git): Don't set stack end in rb_gc_mark_roots
We don't need to set the stack end in rb_gc_mark_roots because it is
already set in mark_current_machine_context.
peterzhu2118 (Peter Zhu)
07:37 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
Needs a bit of polish (e.g. doc and spec), but that's essentially what I think we should do: https://github.com/ruby/... byroot (Jean Boussier)
05:58 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
It might make sense to split this ticket into two requests: one for `Process.argv` or similar and one for re-executin... kddnewton (Kevin Newton)
05:25 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
As for the API, my two cents is that it would make the most sense in `Process`. e.g. `Process.argv`, such as:
```b...
byroot (Jean Boussier)
05:19 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
This need came up again in https://github.com/rubygems/rubygems/pull/7933.
AFAICT there is currently no good way f...
byroot (Jean Boussier)
06:52 PM Revision 87a85550 (git): Re-initialize vm->ractor.sched.lock after fork
Previously under certain conditions it was possible to encounter a
deadlock in the forked child process if ractor.sch...
jhawthorn (John Hawthorn)
01:19 PM Bug #20675: Parse error with required kwargs and omitted parens
I think this would be *great* and would *love* to use keyword parameters without parenthesis...but I don't know how c... bkuhlmann (Brooke Kuhlmann)
02:12 AM Bug #20675 (Closed): Parse error with required kwargs and omitted parens
As pointed out in https://github.com/mruby/mruby/issues/6268, keyword arguments without surrounding parens are a bit ... matz (Yukihiro Matsumoto)
01:10 PM Revision 908305a2 (git): Sync rdoc
Stan Lo
12:41 PM Revision a6581114 (git): [ruby/prism] Fix up spacing in generated node.rb
https://github.com/ruby/prism/commit/50d79b734b kddnewton (Kevin Newton)
06:44 AM Bug #20674 (Rejected): Time zone conversion issue Time.at
nobu (Nobuyoshi Nakada)
06:42 AM Bug #20674 (Third Party's Issue): Time zone conversion issue Time.at
```ruby
require 'active_support'
require 'active_support/core_ext'
Time.zone = "Central Time (US & Canada)"
p T...
nobu (Nobuyoshi Nakada)
03:56 AM Bug #20674 (Rejected): Time zone conversion issue Time.at
`Time.zone=` method is not defined in Ruby itself, ~~probably defined by ActiveSupport~~, I don't know from where it ... nobu (Nobuyoshi Nakada)
05:47 AM Revision 436d23f8 (git): Make sure to wait for the thread to exit in TestProcess#test_wait_and_sigchild
ono-max (Naoto Ono)