Граф коммитов

3293 Коммитов

Автор SHA1 Сообщение Дата
David Rodríguez 6b3c9cebe9 Normalize bundler bindir
This makes bundler consistent with all other gems, and makes the default
installation of Bundler in the release package look like any other
bundler installation.

Before (on preview3, for example), Bundler executable is installed at:

lib/ruby/gems/3.3.0+0/gems/bundler-2.5.0.dev/libexec/bundle

Now it's installed in the standard location:

lib/ruby/gems/3.3.0+0/gems/bundler-2.5.0.dev/exe/bundle
2023-12-13 12:59:23 +09:00
David Rodríguez 1572322e17
Sync with upstream rubygems (#9206) 2023-12-12 11:49:25 -08:00
Takashi Kokubun fd7decbf04 Allow syncing tool/bundler 2023-12-12 11:19:02 -08:00
NARUSE, Yui 6b3abcf462 fix regexp pattern of diff 2023-12-12 11:22:40 +09:00
David Rodríguez 8c2480c9ed
Unlock tilt since we no longer support Ruby 2.6 2023-12-12 10:04:57 +09:00
Kazuhiro NISHIYAMA 9765ada69c Fix NoMethodError on fail
```
.../tool/lib/colorize.rb:56:in `resolve_color': undefined method `gsub' for an instance of Symbol (NoMethodError)

    color.gsub(/\b[a-z][\w ]+/) do |n|
	 ^^^^^
	from .../tool/lib/colorize.rb:47:in `decorate'
	from .../tool/lib/test/unit.rb:1012:in `block in failed'
```
2023-12-12 09:14:11 +09:00
Nobuyoshi Nakada d9dbcd848f
Add bright colors and multiple attributes [ci skip]
Not only:
```
$ ruby colorize.rb fail foo
```

Also:
```
$ ruby colorize.rb 'bright_blue;bold' foo
```
2023-12-10 20:43:47 +09:00
Nobuyoshi Nakada 0096d6a809
Extract configuration and lookup methods [ci skip] 2023-12-10 20:43:44 +09:00
Hiroshi SHIBATA f2c84c4884 Pick commit from https://github.com/rubygems/rubygems/pull/7085
Co-authored-by: Samuel Giddins <segiddins@segiddins.me>
2023-12-08 16:01:01 +09:00
Hiroshi SHIBATA dab30b4d71 Pick commit from https://github.com/rubygems/rubygems/pull/7227
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2023-12-08 16:01:01 +09:00
yui-knk 071df40495 Lrama v0.5.12 2023-12-07 21:07:38 +09:00
Hiroshi SHIBATA 440ea778f2
VERSION file of JSON is removed from upstream 2023-12-05 14:27:19 +09:00
yui-knk 9f6c6f88c3 Lrama v0.5.11 2023-12-02 08:58:32 +09:00
Peter Zhu 128837e4a2 Support RUNRUBY_USE_RR for rr debugger 2023-11-29 17:54:58 -05:00
Peter Zhu aee275165b debugger can never be nil 2023-11-29 17:54:58 -05:00
Peter Zhu 150ed44d87 Fix compaction during ary_make_partial
The ary_make_shared call may allocate, which can trigger a GC
compaction. This can cause the array to be embedded because it has a
length of 0.
2023-11-27 12:40:26 -05:00
Soutaro Matsumoto 1886ee190a
Bundle rbs-3.3.1 (#8921)
* bundle rbs-3.3.1
* Restore diff/subtract tests
2023-11-21 09:21:24 +00:00
Kevin Newton 323bec6295 RubyVM::InstructionSequence.compile_file_prism
* Provide a new API compile_file_prism which mirrors compile_file
but uses prism to parse/compile.
* Provide the ability to run test-all with RUBY_ISEQ_DUMP_DEBUG set
to "prism". If it is, we'll use the new compile_file_prism API to
load iseqs during the test run.
2023-11-20 12:45:29 -08:00
yui-knk c56dd94db0 Lrama v0.5.10 2023-11-18 19:38:55 +09:00
Yusuke Endoh 5bf75c20a2 Refactor the settings of test-all out
test/runner.rb and tool/lib/test/unit/parallel.rb must use the same
settings. However, some settings were copied and pasted, while some were
added only to test/runner.rb.
This changeset creates tool/test/init.rb for all settings of test-unit,
which is loaded not only by test/runner.rb but also
tool/lib/test/unit/parallel.rb.

Background: the GEM_HOME environment variable was removed in
test/runner.rb, which prohibit `require "rake"` (note that rake is a
bundled gem). However the parallel mode didn't refrect this setting,
i.e., `require "rake"` was allowed.
This leads to an inconsistency, which actually affected a test test
defines s test class *only when* `require "rake"` is successful.
(test/rubygems/test_gem_package_task.rb)

https://github.com/ruby/ruby/actions/runs/6807729617/job/18511055636#step:8:1714
```
  /home/runner/work/ruby/ruby/src/tool/lib/test/unit.rb:729:in `const_get': uninitialized constant TestGemPackageTask (NameError)

                suites.map! {|r| ::Object.const_get(r[:testcase])}
                                         ^^^^^^^^^^
```
2023-11-15 19:27:10 +09:00
Soutaro Matsumoto 6fb030e6f1 Skip TOPDIR test 2023-11-14 22:08:32 +09:00
Hiroshi SHIBATA e6b2cd15e3
Skip test_diff_* from rbs tests. It used bundle command 2023-11-14 20:35:56 +09:00
Peter Zhu 68869e9bd9 Revert "Revert "Remove SHAPE_CAPACITY_CHANGE shapes""
This reverts commit 5f3fb4f4e3.
2023-11-13 18:26:36 -05:00
Sorah Fukumori 952de171c0 make-snapshot: update RUBY_PATCHLEVEL_STR regexp
the regexp to replace RUBY_PATCHLEVEL_STR for prerelease snapshots doesn't
match since GH-8578.

follow-up: https://github.com/ruby/ruby/pull/8578
follow-up: 68df43788d
2023-11-13 11:28:48 +09:00
Peter Zhu 5f3fb4f4e3 Revert "Remove SHAPE_CAPACITY_CHANGE shapes"
This reverts commit f6910a6112.

We're seeing crashes in the test suite of Shopify's core monolith after
this change.
2023-11-10 11:27:49 -05:00
Peter Zhu f6910a6112 Remove SHAPE_CAPACITY_CHANGE shapes
We don't need to create a shape to transition capacity as we can
transition the capacity when the capacity of the SHAPE_IVAR changes.
2023-11-09 09:25:02 -05:00
Nobuyoshi Nakada f2d6b41c8e
Ignore warnings about currently unsupported .debug_macinfo 2023-11-07 23:19:51 +09:00
Nobuyoshi Nakada f8456b650b
Ignore duplicate libraries warnings from gcc 13 2023-11-07 23:19:50 +09:00
Nobuyoshi Nakada 304194d73e Remove files which are newly added but to be ignored 2023-11-07 10:45:02 +09:00
yui-knk a15aa259db Lrama v0.5.9 2023-11-05 12:04:52 +09:00
Nobuyoshi Nakada 6b2a3c84a5
Update newer version gems only 2023-11-04 11:29:42 +09:00
Peter Zhu 38ba040d8b Make every initial size pool shape a root shape
This commit makes every initial size pool shape a root shape and assigns
it a capacity of 0.
2023-11-02 13:42:11 -04:00
Kevin Newton a7a70bce82
rm prism type templates 2023-10-30 12:27:03 -04:00
Nobuyoshi Nakada 6589af52d2
Print the date to STDERR if STDIN is a part of input [ci skip] 2023-10-28 14:12:10 +09:00
Jun Aruga a0b7574e59 .travis.yml: Simplify Travis CI.
* Remove CI functions for make test-all.
  I want to simplify the `.travis.yml` for us to maintain it easily. When we
  need to skip a test, we can fix the test file directly.
  I removed the `tool/ci_functions.sh` too. I confirmed the file is not used in
  any other files.
* .travis.yml: Remove a notification for IRC channel.
  GitHub Actions don't use this notification. The setting is outdated.
* Fix to skip the commit including the document keyword.
  There were 2 `if` syntax lines in the file.
* Remove ccache.
2023-10-27 19:16:13 +02:00
Nobuyoshi Nakada 934beac118
Select the destination for the latest date by whether inplace mode 2023-10-27 16:57:21 +09:00
Kevin Newton 3ed317a441
Remove JavaScript templates 2023-10-26 09:50:40 -04:00
yui-knk 7d159a8787 Lrama v0.5.8 2023-10-26 17:15:38 +09:00
Hiroshi SHIBATA 634e0ac140 Fix test failure with __runner_options__ renaming 2023-10-26 12:39:13 +09:00
lukeg 7717684d16 tool test/unit/testcase: rename vars @passed, @@current
to @__passed__, @@__current__.
@passed is redefined in a few test suites, and this could lead to bugs.

Also rename @options (Runner#options) to @__runner_options__, which is
only used in make test-tool anyway.
2023-10-26 12:39:13 +09:00
Kazuhiro NISHIYAMA a6a67b0524
Do not append latest_date to gems/bundled_gems [ci skip] 2023-10-25 13:10:28 +09:00
Nobuyoshi Nakada c86c6a84f5 [Bug #19968] Revert RBS revision to test
This reverts the commits for the master branch of RBS:

- commit f717faac632dd8664d0967f8e639b84d5d032854: "Update rbs
  revision to test"

    The target revision to test is in master branch, not for 3.2.x.

- commit 9e93af5329f35092c3de3ea37d4e9e181b800bb2: "Skip RBS
  `RbConfig::TOPDIR` test that is `nil` before installation"

    RbConfig_test.rb is not updated in 3.2.x branch.
2023-10-24 22:59:09 +09:00
Nobuyoshi Nakada bf93ceb26b
Set date in message to the latest gem date [ci skip] 2023-10-23 23:13:55 +09:00
Hiroshi SHIBATA df5bf5bb59
Removed unnecessary libraries of sync_tool 2023-10-23 17:28:50 +09:00
Hiroshi SHIBATA 9844371c6f
sync_tool is unnecessary now.
We can use https://github.com/ruby/test-unit-ruby-core for testing the default gems.
2023-10-23 17:22:27 +09:00
yui-knk 2d468358a5 Lrama v0.5.7 2023-10-23 13:14:15 +09:00
Nobuyoshi Nakada 9e93af5329 Skip RBS `RbConfig::TOPDIR` test that is `nil` before installation 2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada 0ca5182ae5 RBS no longer has test/stdlib/Prime_test.rb 2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada 361bce8d2c
[Bug #19967] Ignore library before build 2023-10-21 23:47:29 +09:00
Nobuyoshi Nakada 38b79b05fd
Fallback job status to normal if no tty 2023-10-21 19:47:05 +09:00
Nobuyoshi Nakada 54b9b80b84
[Bug #19967] Delete real path 2023-10-21 16:45:03 +09:00
Nobuyoshi Nakada 5e24a4e392
Strip universal_archnames 2023-10-21 15:42:41 +09:00
Nobuyoshi Nakada 665b4c5b2a
[Bug #19967] Reset `LIBPATHENV` env after started
Not to affect other tools invoked as child processes.
2023-10-21 14:05:20 +09:00
Hiroshi SHIBATA bb849ffdb1
Added explicitly begin-end block for Ruby 2.4.
strscan, ipaddr and some default gems still support Ruby 2.4.

  After this, I extract this CoreAssertions to their repositories.
2023-10-20 14:34:08 +09:00
Takashi Kokubun bd2aee67c1 [DOC] "is now bundled" is ambiguous
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 16:37:11 -07:00
Takashi Kokubun c221af2c3d [DOC] Prism is a new default gem 2023-10-19 16:25:33 -07:00
Takashi Kokubun 6d42f4dd2d Avoid using a system Ruby if possible
in tool/update-NEWS-gemlist.rb
2023-10-19 16:10:14 -07:00
Nobuyoshi Nakada 4f4016497e
Handle `Timeout::Error` reported from workers 2023-10-18 23:41:23 +09:00
Nobuyoshi Nakada ff4c98f125
Fix total count when filters given 2023-10-18 12:19:52 +09:00
Nobuyoshi Nakada f13068afaa
Escape method names containing control characters 2023-10-18 10:36:42 +09:00
Takashi Kokubun 6c46ccf226
Prefer RbConfig.ruby over the 3.times fallback (#8691)
It seems saner to use RbConfig.ruby than using ruby in a random ancestor
directory.
2023-10-17 17:57:39 -07:00
Nobuyoshi Nakada 776d4dec69 Manage parallel test workers after timeout 2023-10-18 02:55:42 +09:00
Nobuyoshi Nakada 8b520bd3fb Add `jobs` optional keyword argument 2023-10-18 02:55:42 +09:00
Nobuyoshi Nakada 96cd73d78f
Ignore symbols even in empty shared library
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-14 18:38:24 +09:00
Maxime Chevalier-Boisvert b2e1ddffa5
YJIT: port call threshold logic from Rust to C for performance (#8628)
* 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-12 10:05:34 -04:00
Nobuyoshi Nakada 9859dbc7fd
Fix leaked symbols on FreeBSD [ci skip] 2023-10-12 15:07:42 +09:00
Takashi Kokubun 8705e734ed Remove a binding.irb in rjit-bindgen 2023-10-04 11:43:29 -07:00
Nobuyoshi Nakada 94bcae1b2a
Special treat when the first line ends with a dot [ci skip] 2023-10-04 19:27:34 +09:00
Nobuyoshi Nakada 10379ebf90
Support regexp in log-fix [ci skip] 2023-10-03 22:02:02 +09:00
Nobuyoshi Nakada 4909747e5a
Use the hexdigit character class 2023-10-02 00:49:05 +09:00
Nobuyoshi Nakada be09c8370b
tool/enc-unicode.rb: make the condition concice with flip-flop
And regexps are not necessary here.
2023-10-01 22:33:31 +09:00
Kevin Newton a213d21448 Move CRuby-specific prism files to top level 2023-09-28 09:44:16 -04:00
Kevin Newton 3d0a46796b Rename YARP symbols to prism 2023-09-27 13:57:38 -04:00
Kevin Newton 8ab56869a6 Rename YARP filepaths to prism filepaths 2023-09-27 13:57:38 -04:00
Kevin Newton 3cec94624b Rename compiler test to iseq test 2023-09-27 12:10:23 -04:00
Nobuyoshi Nakada d80002c902
Improve VCS::GIT#format_changelog addessing [ci skip] 2023-09-23 16:34:20 +09:00
Nobuyoshi Nakada 7c98d520f4 [Bug #19892] Clean intermediate files regardless `-keep_temp`
Not to include such files in the result packages.
2023-09-21 12:19:00 +09:00
Nobuyoshi Nakada 7ba88e13e0 Make `clean.create` to accept a block
Like `File.open`, yield an IO to write the file.
2023-09-21 12:19:00 +09:00
Nobuyoshi Nakada 3c11cdbcfe Fix the case of file to be ignored with to be removed
The case of 7fc73ab5f6, 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-20 13:00:18 +09:00
Nobuyoshi Nakada afaa164a05 Add a successful sync test case 2023-09-20 13:00:18 +09:00
Takashi Kokubun 5b00314868 Ignore JRuby extension sync
Avoid alerting on failing with commits like
fb97d899c5
2023-09-19 14:10:38 -07:00
Nobuyoshi Nakada 88262875fd
Fix `git cat-file` condition
When multiple files changed in the same directory to be removed, the
first file only was removed from changed set.
2023-09-18 02:23:59 +09:00
Nobuyoshi Nakada 8d219a9bd7
Refactor test_sync_default_gems.rb 2023-09-18 02:11:48 +09:00
Nobuyoshi Nakada 2dffd36504
Move special patterns to the common pattern 2023-09-17 21:11:54 +09:00
Nobuyoshi Nakada 67dedf8cf6
Ignore changed files under removed paths
This fixes the issue commit 43ab2acf82
"Resurrect gem-specific patterns for sync" described.
2023-09-16 12:00:06 +09:00
Takashi Kokubun 43ab2acf82 Resurrect gem-specific patterns for sync
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-15 16:54:20 -07:00
yui-knk 4655d2108e Lrama v0.5.6 2023-09-13 18:03:49 +09:00
Hiroshi SHIBATA f1c78b2331 Suppress warning for shadowing outer local variable 2023-09-12 15:10:16 +09:00
Takashi Kokubun 00f263e6c4 sync_default_gems.rb: Deal with conflicts on ignored files
that do not exist in the ruby/ruby side.

This resurrects a line that had existed prior to #8329.
2023-09-01 16:17:59 -07:00
Nobuyoshi Nakada 2ce1b77ce0
sync_default_gems.rb: Discard some error messages
These messages are expected:
- `cat-file -e` at newly added entries.
- `commit --amend` when all changes removed.
2023-08-31 11:32:29 +09:00
Nobuyoshi Nakada cbe36ef6cc
sync_default_gems.rb: Remove the pattern for yarp
Changes to `ext/yarp/extconf.rb` are detected as conflicts now, and
ignored.
2023-08-31 11:32:21 +09:00
Nobuyoshi Nakada 3d2a83b909
sync_default_gems.rb: Remove the pattern for bundler
The "bundler" directory at the top-level will be removed by more
generic rule for top-level new entries.
2023-08-31 10:54:26 +09:00
Nobuyoshi Nakada 97df09f276
sync_default_gems.rb: Refactor
- 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.
2023-08-31 10:30:36 +09:00
Nobuyoshi Nakada dc911a47ce
sync_default_gems.rb: Move ignored_paths to ignore_file_pattern_for 2023-08-31 10:30:35 +09:00
KJ Tsanaktsidis 082962e857 Work around a hang in fork(2) on FreeBSD
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).
2023-08-30 20:47:39 +01:00
Nobuyoshi Nakada 74f4d2683e
sync_default_gems.rb: Remove Java templates 2023-08-30 22:18:10 +09:00
Nobuyoshi Nakada acedbcb1b4
sync_default_gems.rb: Fix typo in replace_rdoc_ref_all 2023-08-30 15:00:00 +09:00
Nobuyoshi Nakada c05737e09f
sync_default_gems.rb: Transform by proc 2023-08-30 14:59:17 +09:00
Soutaro Matsumoto ad2a464e8f
Bundle RBS 3.2.1 (#8306) 2023-08-30 11:10:41 +09:00
Kevin Newton 455153705c Tests for the YARP compiler 2023-08-29 15:53:25 -04:00
Hiroshi SHIBATA 5e81127c1b
Fixed broken -a option behavior 2023-08-29 17:41:26 +09:00
Hiroshi SHIBATA 141102b0b0 Expose Test.filter_backtrace for the default gems. 2023-08-29 15:05:30 +09:00
Nobuyoshi Nakada c4fc9477aa
sync_default_gems.rb: Continue if files added to the toplevel removed 2023-08-29 10:20:52 +09:00
Nobuyoshi Nakada a6db6b150f
sync_default_gems.rb: Split `sync_default_gems_with_commits` 2023-08-29 09:22:28 +09:00
yui-knk c02f978fd5 Lrama v0.5.5 2023-08-29 08:26:18 +09:00
Jemma Issroff 3b815ed7da
Add yarp/yarp_compiler.c (#8042)
* 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.
2023-08-28 13:55:58 -07:00
Nobuyoshi Nakada 00439dbdb4
sync_default_gems.rb: convert keys of REPOSITORIES to strings
Referencing always after conversion to a symbol, and yielded gem name
is always converted to a string.
2023-08-28 17:52:50 +09:00
Takashi Kokubun 4963dd6b64 Revert racc auto-sync support
It's no longer a default gem actually.
Fixed the webhook side instead
3c27d860b4.
2023-08-28 01:14:58 -07:00
Takashi Kokubun f5da7c379b Ignore test/regress/ for racc 2023-08-28 01:10:24 -07:00
Takashi Kokubun 94275d96a8 Add missing racc support to sync_default_gems 2023-08-28 00:50:49 -07:00
Takashi Kokubun 4221d9695d Sort repository names in sync_default_gems 2023-08-28 00:50:19 -07:00
Kevin Newton aea7e91828 Fix sync script for YARP 2023-08-25 18:20:51 -04:00
Kevin Newton a7c7cd11bc
Update sync script to handle yarp/version.h 2023-08-25 15:47:25 -04:00
Kevin Newton 9aba46c666
Sync YARP to c175f712522cc315f45cd2da308768b90f324dd0 2023-08-24 11:56:09 -04:00
Nobuyoshi Nakada 5ec1fc52c1
Escape non-ascii characters in prelude C comments
Non-ASCII code are often warned by localized compilers.
2023-08-24 21:12:51 +09:00
Samuel Williams d4c720a91b
Fix support for dynamic keys. (#8273)
* Skip RBS test.
2023-08-24 15:19:33 +12:00
Takashi Kokubun 544488f114 Improve comments in sync_default_gems 2023-08-23 14:22:47 -07:00
Takashi Kokubun 455297d652 Use https for remotes by default
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-23 13:56:49 -07:00
Takashi Kokubun c6a07cc33f Ignore more files for other gems as well
e.g. bin/ for reline that was included in its last commit.
2023-08-23 13:43:47 -07:00
Takashi Kokubun eb795b0325 Avoid sync rule duplication between YARP and others 2023-08-23 13:35:41 -07:00
Nobuyoshi Nakada 129663c4a8
tool/lib/output.rb: Make `--color` option like GNU coreutils 2023-08-23 19:40:56 +09:00
Nobuyoshi Nakada de4a1ca792
tool/lib/output.rb: Add `--create-only` and `--overwrite` options 2023-08-23 19:40:56 +09:00
Nobuyoshi Nakada f1c6da65f4
tool/lib/output.rb: Add `--no-color` option 2023-08-23 19:40:55 +09:00
Takashi Kokubun e89150b1d4
Render YARP templates into the build directory (#8266) 2023-08-22 21:56:51 -07:00
Takashi Kokubun ceafdb5a23 Place -a in the correct location [ci skip]
It doesn't use optparse, so the location is not flexible.
2023-08-21 21:46:53 -07:00
Takashi Kokubun be889b6d6c Add a forgotten default value for ignored_paths 2023-08-21 21:45:33 -07:00
Takashi Kokubun 925ce3f4fb Skip commits that are empty after conflict resolution 2023-08-21 13:30:41 -07:00
Takashi Kokubun 2502821abb Exclude docs/ from YARP sync 2023-08-21 13:17:59 -07:00
Kevin Newton 0c61406319
Fix YARP sync 2023-08-21 12:20:07 -04:00
Takashi Kokubun 57dfd5c245 Revert "Fix tool/update-deps for YARP files"
This reverts commit 6fff5c5ba2.

Revert "Use $(top_srcdir) entries for mswin (#8244)"

This reverts commit e327bf32bd.

Revert "Update dependencies"

This reverts commit aba26a8804.

Revert "Use {$(VPATH)} for OpenBSD"

This reverts commit 2046e054bc.

---

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-18 01:12:41 -07:00
Takashi Kokubun 6fff5c5ba2 Fix tool/update-deps for YARP files 2023-08-18 01:07:05 -07:00
Takashi Kokubun 6a6dacb0d1 Attempt to recover from YARP sync failures 2023-08-17 22:12:38 -07:00
Takashi Kokubun 7a2aeadb78 Attempt to explain what sync_default_gems_with_commits does [ci skip] 2023-08-17 21:47:55 -07:00
Takashi Kokubun ad2bad4ab4 Fix the scope of rubygems conflict resolution
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-17 17:58:36 -07:00
Takashi Kokubun 434cbc05f3 Document the existence of sync_default_gems.rb -a [ci skip] 2023-08-17 17:55:11 -07:00
Takashi Kokubun e504c36894 Remove obsoleted yp_-renaming logic
This has not been relevant since https://github.com/ruby/yarp/pull/1199.
2023-08-17 15:06:57 -07:00
Takashi Kokubun 67b5f63e97
Render YARP templates in the build process (#8228) 2023-08-17 14:39:04 -07:00
Takashi Kokubun 57ec167306 YARP: Ignore Rust sync failures 2023-08-17 13:57:11 -07:00
Takashi Kokubun 818998b41b Refactor YARP_IGNORE_FILE_PATTERN
`.git.*` covers those two cases.

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-08-17 10:27:33 -07:00
yui-knk 8c447cffe4 Lrama v0.5.4 2023-08-17 19:29:36 +09:00
Takashi Kokubun e210b899dc
Move the PC regardless of the leaf flag (#8232)
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
2023-08-16 20:28:33 -07:00
Takashi Kokubun 1c53e64c51 Fix a regexp error 2023-08-16 17:55:56 -07:00
Takashi Kokubun cdb757f817 Avoid synchronizing GitHub Actions from YARP 2023-08-16 17:55:32 -07:00
Takashi Kokubun 7183cf53f8 Revert an unintended revert 2023-08-16 17:51:52 -07:00
Takashi Kokubun 3873b1eb39 Resync YARP 2023-08-16 17:47:32 -07:00
Jemma Issroff c5dad5f1d7 Sync script updates 2023-08-16 17:47:32 -07:00
yui-knk 0982c5fa00 Resync Lrama v0.5.3
Previous sync included unrelated files and missed template file update.
2023-08-16 19:02:44 +09:00
Nobuyoshi Nakada b76c2ec005
Use `::` form workflow commands 2023-08-15 23:30:40 +09:00
Nobuyoshi Nakada eb221a3734
Prohibit copying to `fixtures` and dot-direcotry just under `test`
Do not add directories which would let chkbuild fires accidentally, to
just under `test`.  The "fixtures" directory is often used to place
test stuffs.
2023-08-13 15:30:58 +09:00
Nobuyoshi Nakada 83718b6bb2
Move test files of ruby/set under `test/set`
Chkbuild fires accidentally on `test/fixtures` directory.
2023-08-13 15:24:58 +09:00