summaryrefslogtreecommitdiff
path: root/tool/test/test_sync_default_gems.rb
AgeCommit message (Collapse)Author
2023-12-15Follow removed conflict filesNobuyoshi Nakada
After editing a conflict, continue without removed files.
2023-11-07Remove files which are newly added but to be ignoredNobuyoshi Nakada
2023-10-04Special treat when the first line ends with a dot [ci skip]Nobuyoshi Nakada
2023-09-20Fix the case of file to be ignored with to be removedNobuyoshi Nakada
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.
2023-09-20Add a successful sync test caseNobuyoshi Nakada
2023-09-18Fix `git cat-file` conditionNobuyoshi Nakada
When multiple files changed in the same directory to be removed, the first file only was removed from changed set.
2023-09-18Refactor test_sync_default_gems.rbNobuyoshi Nakada
2023-08-28sync_default_gems.rb: convert keys of REPOSITORIES to stringsNobuyoshi Nakada
Referencing always after conversion to a symbol, and yielded gem name is always converted to a string.
2023-08-13Prohibit copying to `fixtures` and dot-direcotry just under `test`Nobuyoshi Nakada
Do not add directories which would let chkbuild fires accidentally, to just under `test`. The "fixtures" directory is often used to place test stuffs. Notes: Merged: https://github.com/ruby/ruby/pull/8214
2023-08-06Exclude files added to the toplevelNobuyoshi Nakada
2023-07-29Change `HOME` too when testing sync_default_gems.rbNobuyoshi Nakada
As well as `GIT_CONFIG_GLOBAL`, which is supported since git 2.32.
2023-07-29Revert "Test sync_default_gems.rb only when git 2.32 is available"Nobuyoshi Nakada
This reverts commit b0f44cfa5da53b90817732cb25b4d3a1cddecb89.
2023-07-29Test sync_default_gems.rb only when git 2.32 is availableNobuyoshi Nakada
With older git, as `GIT_CONFIG_GLOBAL` environment variable is not supported, these tests clobber user's configurations.
2023-04-28Support older gitNobuyoshi Nakada
The -b flag is available since 2.28, but Ubuntu 20.04 uses 2.25. Notes: Merged: https://github.com/ruby/ruby/pull/7770
2023-03-28Skip commits only for toolsNobuyoshi Nakada
Get rid of accidents like 67feb782f947046f65951303893713052a19a546. Notes: Merged: https://github.com/ruby/ruby/pull/7601
2022-12-22Fix the case trailer without newlineNobuyoshi Nakada
cf0b413ef8b794ef6e7436f22fd5a998050dada9
2022-11-28Fix the case of multiple trailersNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6820
2022-11-28Add tests for sync_default_gems.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6820