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
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