<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/tool/test/test_sync_default_gems.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Test_SyncDefaultGems: Fail when editor run (#9365)</title>
<updated>2023-12-26T21:43:23+00:00</updated>
<author>
<name>Sorah Fukumori</name>
<email>her@sorah.jp</email>
</author>
<published>2023-12-26T21:43:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fac253677604e5acc6a49b632355616b068d5a15'/>
<id>fac253677604e5acc6a49b632355616b068d5a15</id>
<content type='text'>
When something went wrong and git launches editor, and a editor chosen
was terminal-based, a test run unnoticeably hangs.

As we intend editors not to be ran with --no-edit, GIT_EDITOR should be
defaulted to `false` so let Git command fails when it attempts to start a
editor. This allows catching such unintentional behaviour in test suite.

(Note: Prior to Git v2.32.0, git cherry-pick --no-edit doesn't work for
conflict resolution so currently the test hangs when older Git is in use.
https://github.com/git/git/commit/39edfd5cbc4d168db19ec1bc867d78ec7211ec39
i.e. Ubuntu 20.04, Debian Bullseye doesn't satisfy this prerequisite.)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When something went wrong and git launches editor, and a editor chosen
was terminal-based, a test run unnoticeably hangs.

As we intend editors not to be ran with --no-edit, GIT_EDITOR should be
defaulted to `false` so let Git command fails when it attempts to start a
editor. This allows catching such unintentional behaviour in test suite.

(Note: Prior to Git v2.32.0, git cherry-pick --no-edit doesn't work for
conflict resolution so currently the test hangs when older Git is in use.
https://github.com/git/git/commit/39edfd5cbc4d168db19ec1bc867d78ec7211ec39
i.e. Ubuntu 20.04, Debian Bullseye doesn't satisfy this prerequisite.)</pre>
</div>
</content>
</entry>
<entry>
<title>Follow removed conflict files</title>
<updated>2023-12-15T13:37:38+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-12-15T12:49:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7cbc08b388cfc6d9bd2023c313165bff37ba2c11'/>
<id>7cbc08b388cfc6d9bd2023c313165bff37ba2c11</id>
<content type='text'>
After editing a conflict, continue without removed files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After editing a conflict, continue without removed files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove files which are newly added but to be ignored</title>
<updated>2023-11-07T01:45:02+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-11-07T00:28:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=304194d73e3b74b2493bfae16ce6189046f911f5'/>
<id>304194d73e3b74b2493bfae16ce6189046f911f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Special treat when the first line ends with a dot [ci skip]</title>
<updated>2023-10-04T10:27:34+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-10-04T10:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=94bcae1b2a2840c1a8031ef936870be693425551'/>
<id>94bcae1b2a2840c1a8031ef936870be693425551</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the case of file to be ignored with to be removed</title>
<updated>2023-09-20T04:00:18+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-09-20T01:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3c11cdbcfe5ebcf430b0cdfefb0b92724eebe543'/>
<id>3c11cdbcfe5ebcf430b0cdfefb0b92724eebe543</id>
<content type='text'>
The case of 7fc73ab5f6fbe46655855079954b26dcc14576b3, 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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The case of 7fc73ab5f6fbe46655855079954b26dcc14576b3, 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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a successful sync test case</title>
<updated>2023-09-20T04:00:18+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-09-20T00:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=afaa164a058209e64dc2bedadc1fd932136d8ae5'/>
<id>afaa164a058209e64dc2bedadc1fd932136d8ae5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix `git cat-file` condition</title>
<updated>2023-09-17T17:23:59+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-09-17T17:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=88262875fded2fc578e5bf6957dbf75068238538'/>
<id>88262875fded2fc578e5bf6957dbf75068238538</id>
<content type='text'>
When multiple files changed in the same directory to be removed, the
first file only was removed from changed set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When multiple files changed in the same directory to be removed, the
first file only was removed from changed set.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor test_sync_default_gems.rb</title>
<updated>2023-09-17T17:11:48+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-09-17T17:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8d219a9bd7b484b301185319c940975e1d788b3e'/>
<id>8d219a9bd7b484b301185319c940975e1d788b3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sync_default_gems.rb: convert keys of REPOSITORIES to strings</title>
<updated>2023-08-28T08:52:50+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-08-26T01:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=00439dbdb4909f0c78b37f6ed1e3f88c4cb05d46'/>
<id>00439dbdb4909f0c78b37f6ed1e3f88c4cb05d46</id>
<content type='text'>
Referencing always after conversion to a symbol, and yielded gem name
is always converted to a string.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Referencing always after conversion to a symbol, and yielded gem name
is always converted to a string.
</pre>
</div>
</content>
</entry>
<entry>
<title>Prohibit copying to `fixtures` and dot-direcotry just under `test`</title>
<updated>2023-08-13T06:30:58+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2023-08-13T06:30:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb221a37349806bc202dbea2c088754c674605fc'/>
<id>eb221a37349806bc202dbea2c088754c674605fc</id>
<content type='text'>
Do not add directories which would let chkbuild fires accidentally, to
just under `test`.  The "fixtures" directory is often used to place
test stuffs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not add directories which would let chkbuild fires accidentally, to
just under `test`.  The "fixtures" directory is often used to place
test stuffs.
</pre>
</div>
</content>
</entry>
</feed>
