Repository navigation
Prepare to sync for ruby/ruby - #5
Conversation
39cf817 to
369129c
Compare
|
This change is testing now at ruby/ruby#11791 |
Both is OK, of course. Thank you!
Using a random subkey versus a fixed one is probably necessary to run the tests in parallel. This is no problem in this repository, but in ruby/ruby. I can change this. On the other hand I don't like having to clean up every test case per ensure path. This is tedious and should be done in a setup/teardown method IMHO.
Both ruby/ruby#7366 and oneclick/rubyinstaller2#348 are fixed by just using UTF-8 as LOCALE. #7366 is outdated insofar, that I patched RubyInstaller to use UTF-8 always, since a year ago or so. So reverting it doesn't make sense to me. There have been even more bug reports regarding non-UTF-8 registry keys, so that I decided to change it to consistent UTF-8 output. I only forgot to send the patch to ruby/ruby. But I created the win32-registry repo because of this inconsistent use of locale/UTF-8 string encoding and to have a way to properly run tests on the code. In contrast I didn't receive a single bug report due to changing the output to consistent UTF-8. If f5ea80d is reverted, then the "test_utf8_encoding" test fails on non UTF-8 code pages. But not on GHA, since it is switched to 65001. |
7c6e9a8 to
f66254e
Compare
|
I removed the reverted commit and merged this PR, so that I can check the parallel test and random registry path. Please raise your hand if the UTF-8 patch is still a concern for you! |
This changes are for syncing
ruby/rubyrepo.ruby/rubyrepo needstest-unitinstead ofminitest.ruby/rubyimplementation may worked at least.ruby/rubyrepo. I embedded it to test file.@larskanis Can you look the above changes? After merging this, I enabled auto-sync feature this repository and
ruby/rubyrepository. You can develop this repository independently fromruby/rubyrepo and we integrate these changes automatically for new Ruby release.Unfortunately, we don't have sync feature for
ruby/rubytoruby/win32-registry. If we have those cases, I will create PRs manually.