Kevin Newton
aea7e91828
Fix sync script for YARP
2023-08-25 18:20:51 -04:00
Kevin Newton
9aba46c666
Sync YARP to c175f712522cc315f45cd2da308768b90f324dd0
2023-08-24 11:56:09 -04: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
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
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
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
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
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
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
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
Jemma Issroff
9614a61379
Fixed build scripts for YARP
2023-07-05 16:58:55 -04:00
Takashi Kokubun
fcf2f5a522
Let yarp use main branch instead
2023-06-21 11:35:36 -07:00
Jemma Issroff
03f1a6c4c5
[Feature #19741 ] Add yarp to tool/sync_default_gems.rb
sync script
...
The default gems sync script now includes YARP, found in the
ruby/yarp repo. This script primarily syncs over the src, test, lib
directories. It also migrates all encoding files to be prefixed
with `yp_` in order to deconflict from existing encoding files.
2023-06-21 11:25:39 -07:00
Hiroshi SHIBATA
551b8a31a9
Update directory layout of rubygems/rubygems
2023-06-15 07:01:06 +09:00
Hiroshi SHIBATA
55e0f8cfe0
Removed sync task for racc
2023-06-08 17:25:38 +09:00
Hiroshi SHIBATA
8866e08207
Removed sync task for ext/readline
2023-05-10 15:03:58 +09:00
Hiroshi SHIBATA
90baadb904
Ignore to sync used_cassettes.txt
2023-05-01 17:38:49 +09:00
Nobuyoshi Nakada
ecd42cfe39
Skip added tool files
...
Get rid of accidents like 966f0d91e2
.
2023-04-29 10:40:39 +09:00
Nobuyoshi Nakada
6b05f125bb
Skip commits only for tools
...
Get rid of accidents like 67feb782f9
.
2023-03-28 17:17:51 +09:00
Nobuyoshi Nakada
98b409cb9c
Set FILTER_BRANCH_SQUELCH_WARNING only in child environment
2023-03-28 17:17:51 +09:00
Hiroshi SHIBATA
900230837b
Fixed a typo
2023-01-10 13:07:36 +09:00
Nobuyoshi Nakada
1cd4db772c
Adjust spec of bundler like as sync_default_gems
[ci skip]
2023-01-08 22:14:39 +09:00
Nobuyoshi Nakada
60ccd1ca81
Ignore LICENSE files of libraries vendored in rubygems [ci skip]
2023-01-08 20:58:12 +09:00
Hiroshi SHIBATA
5ec94ff740
Generate parser-text.rb of racc when sync it
2022-12-26 13:17:33 +09:00
Nobuyoshi Nakada
398aaed2f0
Fix the case trailer without newline
...
cf0b413ef8
2022-12-22 00:34:21 +09:00
Hiroshi SHIBATA
f2690be746
Removed temporary workaround for syntax_suggest tags
2022-12-16 15:48:00 +09:00
Hiroshi SHIBATA
20c34f10d7
Use versioning sort for released version detection
2022-12-14 15:46:19 +09:00
Hiroshi SHIBATA
03927b565b
Pin syntax_suggest-1.0.1 manually because it mixed dead_end tags
2022-12-14 12:57:30 +09:00