summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
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
2023-08-29sync_default_gems.rb: Continue if files added to the toplevel removedNobuyoshi Nakada
2023-08-29sync_default_gems.rb: Split `sync_default_gems_with_commits`Nobuyoshi Nakada
2023-08-29Lrama v0.5.5yui-knk
Notes: Merged: https://github.com/ruby/ruby/pull/8308
2023-08-28Add yarp/yarp_compiler.c (#8042)Jemma Issroff
* Add yarp/yarp_compiler.c as stencil for compiling YARP This commit adds yarp/yarp_compiler.c, and changes the sync script to ensure that yarp/yarp_compiler.c will not get overwritten * [Misc #119772] Create and expose RubyVM::InstructionSequence.compile_yarp This commit creates the stencil for a compile_yarp function, which we will continue to fill out. It allows us to check the output of compiled YARP code against compiled code without using YARP. Notes: Merged-By: jemmaissroff
2023-08-28sync_default_gems.rb: convert keys of REPOSITORIES to stringsNobuyoshi Nakada
Referencing always after conversion to a symbol, and yielded gem name is always converted to a string.
2023-08-28Revert racc auto-sync supportTakashi Kokubun
It's no longer a default gem actually. Fixed the webhook side instead https://github.com/ruby/git.ruby-lang.org/commit/3c27d860b4e39d10d63280b59d4db2cec518ae13.
2023-08-28Ignore test/regress/ for raccTakashi Kokubun
2023-08-28Add missing racc support to sync_default_gemsTakashi Kokubun
2023-08-28Sort repository names in sync_default_gemsTakashi Kokubun
2023-08-25Fix sync script for YARPKevin Newton
Notes: Merged: https://github.com/ruby/ruby/pull/8298
2023-08-25Update sync script to handle yarp/version.hKevin Newton
2023-08-24Sync YARP to c175f712522cc315f45cd2da308768b90f324dd0Kevin Newton
2023-08-24Escape non-ascii characters in prelude C commentsNobuyoshi Nakada
Non-ASCII code are often warned by localized compilers. Notes: Merged: https://github.com/ruby/ruby/pull/8276
2023-08-24Fix support for dynamic keys. (#8273)Samuel Williams
* Skip RBS test. Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2023-08-23Improve comments in sync_default_gemsTakashi Kokubun
2023-08-23Use https for remotes by defaultTakashi Kokubun
I was testing this script on git.ruby-lang.org to use its git version, but it did not work because the server's default user doesn't have SSH keys. https works for everyone, so it's a safer default. You shouldn't need to push to that remote from ruby/ruby anyway.
2023-08-23Ignore more files for other gems as wellTakashi Kokubun
e.g. bin/ for reline that was included in its last commit.
2023-08-23Avoid sync rule duplication between YARP and othersTakashi Kokubun
2023-08-23tool/lib/output.rb: Make `--color` option like GNU coreutilsNobuyoshi Nakada
2023-08-23tool/lib/output.rb: Add `--create-only` and `--overwrite` optionsNobuyoshi Nakada
2023-08-23tool/lib/output.rb: Add `--no-color` optionNobuyoshi Nakada
2023-08-22Render YARP templates into the build directory (#8266)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-08-21Place -a in the correct location [ci skip]Takashi Kokubun
It doesn't use optparse, so the location is not flexible.
2023-08-21Add a forgotten default value for ignored_pathsTakashi Kokubun
2023-08-21Skip commits that are empty after conflict resolutionTakashi Kokubun
2023-08-21Exclude docs/ from YARP syncTakashi Kokubun
2023-08-21Fix YARP syncKevin Newton
2023-08-18Revert "Fix tool/update-deps for YARP files"Takashi Kokubun
This reverts commit 6fff5c5ba23a2790c9d189de82e157c9fa986f96. Revert "Use $(top_srcdir) entries for mswin (#8244)" This reverts commit e327bf32bdfa610a0f1834048bb1422de992c073. Revert "Update dependencies" This reverts commit aba26a88040c322a188292447fd18a2b9c76c713. Revert "Use {$(VPATH)} for OpenBSD" This reverts commit 2046e054bc811fd6a8e30c926aa6c9c4a5884262. --- None of those revisions actually worked for both mswin and OpenBSD at the same time. I need more time to build something that works for both.
2023-08-18Fix tool/update-deps for YARP filesTakashi Kokubun
2023-08-17Attempt to recover from YARP sync failuresTakashi Kokubun
2023-08-17Attempt to explain what sync_default_gems_with_commits does [ci skip]Takashi Kokubun
2023-08-17Fix the scope of rubygems conflict resolutionTakashi Kokubun
The `git reset` and `rm_rf` are not necessary because `bundler/` is considered as a `toplevels` and removed from the commit when there's no conflict. For conflict cases, it's useful to remove them from the conflict targets before moving on to fix other paths.
2023-08-17Document the existence of sync_default_gems.rb -a [ci skip]Takashi Kokubun
2023-08-17Remove obsoleted yp_-renaming logicTakashi Kokubun
This has not been relevant since https://github.com/ruby/yarp/pull/1199.