summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2023-10-21[Bug #19967] Reset `LIBPATHENV` env after startedNobuyoshi Nakada
Not to affect other tools invoked as child processes.
2023-10-20Added explicitly begin-end block for Ruby 2.4.Hiroshi SHIBATA
strscan, ipaddr and some default gems still support Ruby 2.4. After this, I extract this CoreAssertions to their repositories.
2023-10-19[DOC] "is now bundled" is ambiguousTakashi Kokubun
I think it meant it's now a bundled "gem", but "is now bundled" implies it's a new gem that was neither default nor bundled gems. So I changed wording. I also want to change the subjects and reorder them so that it will read: "The following default gem" (new) -> "The following default gem" (updated) -> "The following bundled gem" (new) -> "The following bundled gem" (updated).
2023-10-19[DOC] Prism is a new default gemTakashi Kokubun
2023-10-19Avoid using a system Ruby if possibleTakashi Kokubun
in tool/update-NEWS-gemlist.rb
2023-10-18Handle `Timeout::Error` reported from workersNobuyoshi Nakada
2023-10-18Fix total count when filters givenNobuyoshi Nakada
2023-10-18Escape method names containing control charactersNobuyoshi Nakada
2023-10-17Prefer RbConfig.ruby over the 3.times fallback (#8691)Takashi Kokubun
It seems saner to use RbConfig.ruby than using ruby in a random ancestor directory.
2023-10-18Manage parallel test workers after timeoutNobuyoshi Nakada
2023-10-18Add `jobs` optional keyword argumentNobuyoshi Nakada
2023-10-14Ignore symbols even in empty shared libraryNobuyoshi Nakada
On some platforms, such as FreeBSD and Oracle Linux, symbols defined in the crt0 setup routine are exported from shared libraries. So ignore the symbols that would be exported even in an empty shared library.
2023-10-12YJIT: port call threshold logic from Rust to C for performance (#8628)Maxime Chevalier-Boisvert
* Port call threshold logic from Rust to C for performance * Prefix global/field names with yjit_ * Fix linker error * Fix preprocessor condition for rb_yjit_threshold_hit * Fix third linker issue * Exclude yjit_calls_at_interv from RJIT bindgen --------- Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-10-12Fix leaked symbols on FreeBSD [ci skip]Nobuyoshi Nakada
2023-10-04Remove a binding.irb in rjit-bindgenTakashi Kokubun
2023-10-04Special treat when the first line ends with a dot [ci skip]Nobuyoshi Nakada
2023-10-03Support regexp in log-fix [ci skip]Nobuyoshi Nakada
2023-10-02Use the hexdigit character classNobuyoshi Nakada
2023-10-01tool/enc-unicode.rb: make the condition concice with flip-flopNobuyoshi Nakada
And regexps are not necessary here.
2023-09-28Move CRuby-specific prism files to top levelKevin Newton
2023-09-27Rename YARP symbols to prismKevin Newton
2023-09-27Rename YARP filepaths to prism filepathsKevin Newton
2023-09-27Rename compiler test to iseq testKevin Newton
2023-09-23Improve VCS::GIT#format_changelog addessing [ci skip]Nobuyoshi Nakada
2023-09-21[Bug #19892] Clean intermediate files regardless `-keep_temp`Nobuyoshi Nakada
Not to include such files in the result packages.
2023-09-21Make `clean.create` to accept a blockNobuyoshi Nakada
Like `File.open`, yield an IO to write the file.
2023-09-20Fix the case of file to be ignored with to be removedNobuyoshi Nakada
The case of 7fc73ab5f6fbe46655855079954b26dcc14576b3, which modified `.gitignore` and `.github/workflows/main.yml`. Both files need to be rejected and restored, but since the latter file was not there before, `git checkout` failed and the former file could not be restored along with it. To fix this failure, restore the ignored files one by one.
2023-09-20Add a successful sync test caseNobuyoshi Nakada
2023-09-19Ignore JRuby extension syncTakashi Kokubun
Avoid alerting on failing with commits like https://github.com/ruby/psych/commit/fb97d899c5a62b743159d5a3c77b0813d2cbf9b6
2023-09-18Fix `git cat-file` conditionNobuyoshi Nakada
When multiple files changed in the same directory to be removed, the first file only was removed from changed set.
2023-09-18Refactor test_sync_default_gems.rbNobuyoshi Nakada
2023-09-17Move special patterns to the common patternNobuyoshi Nakada
2023-09-16Ignore changed files under removed pathsNobuyoshi Nakada
This fixes the issue commit 43ab2acf8242c580b1ef5d644ea94d48669d4869 "Resurrect gem-specific patterns for sync" described.
2023-09-15Resurrect gem-specific patterns for syncTakashi Kokubun
Yet another partial revert of https://github.com/ruby/ruby/pull/8329, similar to 00f263e6c4. Repro: On ruby/ruby@1be64e34d0, `tool/sync_default_gems.rb yarp 162c2088eec6ec8f0558559e082cd661c18ee02a` should exist successfully, but it doesn't without this gem-specific handling.
2023-09-13Lrama v0.5.6yui-knk
Notes: Merged: https://github.com/ruby/ruby/pull/8428
2023-09-12Suppress warning for shadowing outer local variableHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/8419
2023-09-01sync_default_gems.rb: Deal with conflicts on ignored filesTakashi Kokubun
that do not exist in the ruby/ruby side. This resurrects a line that had existed prior to #8329.
2023-08-31sync_default_gems.rb: Discard some error messagesNobuyoshi Nakada
These messages are expected: - `cat-file -e` at newly added entries. - `commit --amend` when all changes removed. Notes: Merged: https://github.com/ruby/ruby/pull/8329
2023-08-31sync_default_gems.rb: Remove the pattern for yarpNobuyoshi Nakada
Changes to `ext/yarp/extconf.rb` are detected as conflicts now, and ignored. Notes: Merged: https://github.com/ruby/ruby/pull/8329
2023-08-31sync_default_gems.rb: Remove the pattern for bundlerNobuyoshi Nakada
The "bundler" directory at the top-level will be removed by more generic rule for top-level new entries. Notes: Merged: https://github.com/ruby/ruby/pull/8329
2023-08-31sync_default_gems.rb: RefactorNobuyoshi Nakada
- Filter out files to be ignored first, then resolve conflicts. - Add "added by gem" files, instead of hard-code paths to add. - Remove gem specific patterns covered by more generic rules. Notes: Merged: https://github.com/ruby/ruby/pull/8329
2023-08-31sync_default_gems.rb: Move ignored_paths to ignore_file_pattern_forNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8329
2023-08-30Work around a hang in fork(2) on FreeBSDKJ Tsanaktsidis
See bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271490 On FreeBSDk, it's possible for fork(2) in a multithreaded process to hang because of a bug in the lock handling of the dynamic linker. This is now fixed on FreeBSD master, but it would be good if we could work around it for Ruby CI which is running 13.1. Setting LD_BIND_NOW seems to work around the problem (probably because the dynamic linker doesn't then need to resolve anything through the PLT when it's first called). Notes: Merged: https://github.com/ruby/ruby/pull/7867
2023-08-30sync_default_gems.rb: Remove Java templatesNobuyoshi Nakada
2023-08-30sync_default_gems.rb: Fix typo in replace_rdoc_ref_allNobuyoshi Nakada
2023-08-30sync_default_gems.rb: Transform by procNobuyoshi Nakada
2023-08-30Bundle RBS 3.2.1 (#8306)Soutaro Matsumoto
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2023-08-29Tests for the YARP compilerKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8323
2023-08-29Fixed broken -a option behaviorHiroshi SHIBATA
2023-08-29Expose Test.filter_backtrace for the default gems.Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/8313