Commit graph

342 commits

Author SHA1 Message Date
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
David Rodríguez
17559f0420 Don't leave backup file around
I suspect this was for debugging? If not, these days we have source
control tools, so this wouldn't seem necessary?
2022-12-13 07:01:52 +09:00
Hiroshi SHIBATA
2efaa80523
Don't sync jar artifact of CGI 2022-12-08 12:22:02 +09:00
Nobuyoshi Nakada
ee11090b28 sync_default_gems.rb: move default_branch to REPOSITORIES
`sync_default_gems_with_commits` also needs the default branch.
2022-11-28 20:55:09 +09:00
Nobuyoshi Nakada
6559ba3b5c sync_default_gems.rb: suppress a duplicated range warning 2022-11-28 20:55:09 +09:00
Nobuyoshi Nakada
d72f6749cb sync_default_gems.rb: adjust indent [ci skip] 2022-11-28 20:55:09 +09:00
Nobuyoshi Nakada
906a2f067d
sync_default_gems.rb: extend for singleton methods 2022-11-28 17:17:06 +09:00
Nobuyoshi Nakada
93e87c0217 Fix the case of multiple trailers 2022-11-28 16:30:40 +09:00
Nobuyoshi Nakada
5a171ee4c0 Add tests for sync_default_gems.rb 2022-11-28 16:30:40 +09:00
Takashi Kokubun
29bf5495a9 Do not use the same variable for multiple things
`conv` proc is used before and after the `url` variable is updated. So
this script didn't seem to behave correctly for the "Close #xxx" syntax.

Reusing the same variable name for different things seems prone to errors.
2022-11-25 21:45:28 -08:00
Takashi Kokubun
95647378ff Support other GitHub PR/issue syntaxes
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
2022-11-25 21:44:21 -08:00
Takashi Kokubun
1753cf59cc
Fix a broken interpolation #{head} 2022-11-20 21:23:28 -08:00