Commit graph

3064 commits

Author SHA1 Message Date
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
Takashi Kokubun
cd8d20cd1f
YJIT: Compile exception handlers (#8171)
Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
2023-08-08 16:06:22 -07:00
Nobuyoshi Nakada
69292676a2
Add message for --ruby option [ci skip] 2023-08-08 09:21:45 +09:00
Nobuyoshi Nakada
0e5da05a32
Do not double "yp_" prefix [ci skip] 2023-08-08 08:09:02 +09:00
Nobuyoshi Nakada
3651f985f0
Exclude files added to the toplevel 2023-08-06 09:26:20 +09:00
yui-knk
f07ef1d54c Lrama v0.5.3 2023-08-05 10:32:41 +09:00
Nobuyoshi Nakada
a502cd80a5
Fix wrong assignment 2023-08-02 23:55:07 +09:00
Nobuyoshi Nakada
85ee4a65a2
Allow to override environment variables for debug 2023-08-02 19:55:31 +09:00
Nobuyoshi Nakada
628cc7e12d
Change HOME too when testing sync_default_gems.rb
As well as `GIT_CONFIG_GLOBAL`, which is supported since git 2.32.
2023-07-29 20:02:47 +09:00
Nobuyoshi Nakada
4b91d6abb9
Revert "Test sync_default_gems.rb only when git 2.32 is available"
This reverts commit b0f44cfa5d.
2023-07-29 20:02:13 +09:00
Nobuyoshi Nakada
b0f44cfa5d
Test sync_default_gems.rb only when git 2.32 is available
With older git, as `GIT_CONFIG_GLOBAL` environment variable is not
supported, these tests clobber user's configurations.
2023-07-29 11:49:53 +09:00
Hiroshi SHIBATA
b9c2f4a424
Fixed gemfile path for upstream of bundler 2023-07-28 14:49:03 +09:00
Hiroshi SHIBATA
ce6c6c7cfa
Exclude lockfile from sync target 2023-07-28 13:15:12 +09:00
Hiroshi SHIBATA
426434556f
Removed lockfile for test-bundler 2023-07-28 12:47:31 +09:00
Takashi Kokubun
38be9a9b72
Clean up OPT_STACK_CACHING (#8132) 2023-07-27 17:27:05 -07:00
Alan Wu
83f9d80c0b
downloader.rb: unlink broken symlink before caching to fix ENOENT
On GitHub CI, the downloader's cache is shared across different jobs.
For some systems, the cached config.guess ends up being a symlink to
/usr/share/autoconf/build-aux/config.guess and containers that don't
have that file end up consuming the cache anyways, leading to ENOENT
when trying to cache the downloaded file.

This error happened on forks:
 - 1538023234
 - 1540818872
2023-07-27 17:09:08 -04:00
nagachika
4dccb145a8 tool/merger.rb: Support commit URLs as revisions 2023-07-23 22:47:09 +09:00
Takashi Kokubun
dd04def10f Try to fix NoMethodError on update-deps 2023-07-21 21:07:04 -07:00
Takashi Kokubun
7cecd15587 Suppress flaky update-deps failures for any win32 files
win32/win32.o was also unstable:
1525276282

At this point, any win32 files seem suspicious. Let's just ignore all
such files.
2023-07-21 20:57:54 -07:00
Takashi Kokubun
b71f79dd17 Add a missing *
Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
2023-07-20 12:52:56 -07:00
Takashi Kokubun
1129488f6f Ignore win32/file.o on update-deps
This job has been so flaky:
1521384009
2023-07-20 12:04:16 -07:00
Jemma Issroff
134d874173
Sync YARP gemspec (#8101)
* Sync YARP gemspec

We were previously not syncing the YARP gemspec over which meant
that the Ruby YARP gem was out of sync.

* Sync YARP node / lex_compat files
2023-07-20 14:51:17 -04:00
Kazuki Yamaguchi
fb12522b00 sync_default_gems.rb: ensure that commit messages end with \n
Commit messages written on GitHub's Web UI apparently use \r\n as a
line separator and do not have a \n at the end of message, unlike those
normally made with the git CLI. This breaks the expectation of the
regexps used later.
2023-07-12 23:40:12 +09:00
Nobuyoshi Nakada
c8d0470bb0
Use File::NULL instead of hard coded null device names 2023-07-10 19:21:47 +09:00
Nobuyoshi Nakada
cceb410087 leaked-globals: check leaked symbols in libruby.so if enable-shared 2023-07-08 11:31:17 +09:00
Nobuyoshi Nakada
28ae4e4628 leaked-globals: ignore Address Sanitizer symbols 2023-07-08 11:31:17 +09:00
Jemma Issroff
9614a61379 Fixed build scripts for YARP 2023-07-05 16:58:55 -04:00
Janosch Müller
08b3fb1152
[Bug #19728] Auto-generate unicode property docs
https://bugs.ruby-lang.org/issues/19728
2023-07-01 23:22:17 +09:00
Aaron Patterson
7ce6bcaf8b Expose rb_hash_resurrect
This is for implementing the `duphash` instruction
2023-06-23 11:46:21 -07:00
Takashi Kokubun
fcf2f5a522 Let yarp use main branch instead 2023-06-21 11:35:36 -07:00