Commit graph

415 commits

Author SHA1 Message Date
Kevin Newton
d57bc870ac [PRISM] Remove snapshot testing from Prism sync 2024-09-16 08:44:19 -04:00
git
2afde63eef * remove trailing spaces. [ci skip] 2024-08-31 05:22:36 +00:00
Hiroshi SHIBATA
f304afd26d
Added check method with released version of rubygems.org 2024-08-31 14:22:17 +09:00
Hiroshi SHIBATA
b59cbcf183
Clean up empty directory 2024-08-05 15:11:11 +09:00
Hiroshi SHIBATA
7a0e6f1d12
Follow-up resolv and win32 integration
https://github.com/ruby/resolv/pull/54
2024-07-16 12:12:40 +09:00
Hiroshi SHIBATA
01eb5c0f18
Skip to copy .so/.bundle files generated by rake-compiler 2024-07-01 11:07:49 +09:00
Hiroshi SHIBATA
3eda59e975
Sync strscan HEAD again.
https://github.com/ruby/strscan/pull/99 split document with multi-byte
chars.
2024-06-04 12:40:08 +09:00
Hiroshi SHIBATA
d50404d6fe
Revert "Sync strscan document files to under the doc directory"
This reverts commit 5611e249e1.

Followed up with 78bfde5d9f
2024-06-03 14:20:23 +09:00
Hiroshi SHIBATA
5611e249e1
Sync strscan document files to under the doc directory 2024-05-30 12:34:18 +09:00
Nobuyoshi Nakada
db5686a8ba
Read as binary regardless locale 2024-03-28 02:27:08 +09:00
Nobuyoshi Nakada
4e864d0a82
Architecture-dependent files must not pollute libdir [ci skip]
Copying compiled binaries to libdir is a really evil practice.
2024-02-20 13:14:09 +09:00
Hiroshi SHIBATA
cdf39ed673
Don't sync prism.{so,bundle,dll} from ruby/prism 2024-02-20 09:56:05 +09:00
Hiroshi SHIBATA
a170f1859b
No longer needed to sync syslog 2024-01-24 10:44:18 +09:00
Hiroshi SHIBATA
754e4e0c9c Stop sync csv repo 2024-01-22 18:23:05 +09:00
Hiroshi SHIBATA
f869f2ecf1 Stop sync nkf repo 2024-01-22 14:17:52 +09:00
Hiroshi SHIBATA
c44d15c639
Stop sync drb repo 2024-01-22 12:35:04 +09:00
Hiroshi SHIBATA
fa5094e183 Stop sync rinda repo 2024-01-19 20:02:19 +09:00
Hiroshi SHIBATA
36095ed3db Removed sync task for resolv-replace 2024-01-19 17:44:58 +09:00
Hiroshi SHIBATA
11ec59c92b Removed sync task for abbrev 2024-01-19 16:27:45 +09:00
Hiroshi SHIBATA
d3898e9752
Removed sync task for observer 2024-01-19 15:56:55 +09:00
Hiroshi SHIBATA
4dde4d1437 Stop sync commits from bigdecimal repo 2024-01-18 07:44:13 +09:00
Hiroshi SHIBATA
42aa24a24c No longer needed to sync base64 2024-01-17 08:28:31 +09:00
Hiroshi SHIBATA
3f5016178c We don't need to sync getoptlong 2024-01-16 17:07:10 +09:00
Hiroshi SHIBATA
c5d54e1db1
We don't need to sync mutex_m 2024-01-16 16:29:16 +09:00
KJ Tsanaktsidis
3d24254b55 Make sync script work correctly with Windows-style newlines
I'm almost certain nobody is actually running this script on Windows,
but the tests for it do run during `nmake check`, and they fail at least
on my git configuration.

The $ anchor doesn't match \r\n with git's -E regex matching, so we need
to add \r? to gobble the carriage-return up too if needed.
2023-12-27 14:11:59 +11:00
Nobuyoshi Nakada
7cbc08b388 Follow removed conflict files
After editing a conflict, continue without removed files.
2023-12-15 22:37:38 +09:00
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
Takashi Kokubun
fd7decbf04 Allow syncing tool/bundler 2023-12-12 11:19:02 -08:00
Hiroshi SHIBATA
440ea778f2
VERSION file of JSON is removed from upstream 2023-12-05 14:27:19 +09:00
Nobuyoshi Nakada
304194d73e Remove files which are newly added but to be ignored 2023-11-07 10:45:02 +09:00
Kevin Newton
a7a70bce82
rm prism type templates 2023-10-30 12:27:03 -04:00
Kevin Newton
3ed317a441
Remove JavaScript templates 2023-10-26 09:50:40 -04:00
Nobuyoshi Nakada
94bcae1b2a
Special treat when the first line ends with a dot [ci skip] 2023-10-04 19:27:34 +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
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
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
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
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
Nobuyoshi Nakada
74f4d2683e
sync_default_gems.rb: Remove Java templates 2023-08-30 22:18:10 +09:00