summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
AgeCommit message (Collapse)Author
2023-01-25Merge the latest stable versions of RubyGems and Bundler to Ruby 3.2.x (#7061)Hiroshi SHIBATA
[Bug #19350] * Merge RubyGems-3.4.2 and Bundler-2.4.2 * Merge RubyGems-3.4.3 and Bundler-2.4.3 * Generate parser-text.rb of racc when sync it * Ignore LICENSE files of libraries vendored in rubygems [ci skip] * Adjust spec of bundler like as `sync_default_gems` [ci skip] * Fixed a typo * Removed vendored LICENSE file. * Update LEGAL sections for pub_grub * Merge RubyGems-3.4.4 and Bundler-2.4.4 * Merge RubyGems-3.4.5 and Bundler-2.4.5 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-22Fix the case trailer without newlineNobuyoshi Nakada
cf0b413ef8b794ef6e7436f22fd5a998050dada9
2022-12-16Removed temporary workaround for syntax_suggest tagsHiroshi SHIBATA
2022-12-14Use versioning sort for released version detectionHiroshi SHIBATA
2022-12-14Pin syntax_suggest-1.0.1 manually because it mixed dead_end tagsHiroshi SHIBATA
2022-12-13Don't leave backup file aroundDavid Rodríguez
I suspect this was for debugging? If not, these days we have source control tools, so this wouldn't seem necessary? Notes: Merged: https://github.com/ruby/ruby/pull/6907
2022-12-08Don't sync jar artifact of CGIHiroshi SHIBATA
2022-11-28sync_default_gems.rb: move default_branch to REPOSITORIESNobuyoshi Nakada
`sync_default_gems_with_commits` also needs the default branch. Notes: Merged: https://github.com/ruby/ruby/pull/6823
2022-11-28sync_default_gems.rb: suppress a duplicated range warningNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6823
2022-11-28sync_default_gems.rb: adjust indent [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6823
2022-11-28sync_default_gems.rb: extend for singleton methodsNobuyoshi Nakada
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
2022-11-25Do not use the same variable for multiple thingsTakashi Kokubun
`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-25Support other GitHub PR/issue syntaxesTakashi Kokubun
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
2022-11-20Fix a broken interpolation #{head}Takashi Kokubun
2022-11-20sync_default_gems.rb: Fix substitution [ci skip]Nobuyoshi Nakada
As there should be no modified files just affter `git cherry-pick` succeeded in `sync_default_gems_with_commits`, reset to the previous revision once to pick up the committed files.
2022-11-04sync_default_gems.rb: fix a typo [ci skip]Nobuyoshi Nakada
2022-11-04sync_default_gems.rb: fix the position to insert the original URLNobuyoshi Nakada
Since the regexp had expected an empty line before `Co-Authored-By:` trailer lines, it failed to match when the body has the trailer only.
2022-11-04sync_default_gems.rb: accept log input from other than STDINNobuyoshi Nakada
2022-10-28sync_default_gems.rb: do not add extra empty lines [ci skip]Nobuyoshi Nakada
2022-10-28sync_default_gems.rb: append orignal commit URLs to subject only logNobuyoshi Nakada
2022-10-25sync_default_gems.rb: Ignore unmergeable files [ci skip]Nobuyoshi Nakada
2022-10-19sync_default_gems.rb: commit all after replaced rdoc-ref [ci skip]Nobuyoshi Nakada
2022-10-18sync_default_gems.rb: fold too long subject [ci skip]Nobuyoshi Nakada
Line with substituted issue references with URLs are often very long. Although Git (and GitHub) recommends folding subject lines less than 50 columns, but many commits ignore this, so fold at 68 columns for now.
2022-10-17ruby/ruby-commit-hook has been renamed [ci skip]Takashi Kokubun
to ruby/git.ruby-lang.org
2022-10-18sync_default_gems.rb: fix links to GitHub issuesNobuyoshi Nakada
- Substitute `GH-xxxx` which does not contain `#` too. - Split each substitutions.
2022-10-12sync_default_gems: Replace the URIs to be redirectedNobuyoshi Nakada
The reference generated by using RDoc without the proper `--page-dir` option (or `.rdoc_options`) file may contain `/doc/`. Since these URIs are redirected by the server now, replace such URIs with the corresponding rdoc-refs too.
2022-10-12sync_default_gems: Add rdoc-ref command to testNobuyoshi Nakada
2022-10-12sync_default_gems: Replace the external URIs to docs with rdoc-refNobuyoshi Nakada
2022-10-12sync_default_gems: Should match with the beginning of the stringsNobuyoshi Nakada
`git status -z` result is NUL-separated, and can contain newline characters.
2022-09-14Replace "Fixes"/"Fixed" in commit logs as well as vcs.rb [ci skip]Nobuyoshi Nakada
Use the same regexp to replace "(#NNNN)" and "GH-NNNN" style references in vcs.rb, too.
2022-09-01Ignore test libraries like assert_ractor from did_you_meanHiroshi SHIBATA
2022-08-29Support main branch for syntax_suggestHiroshi SHIBATA
2022-08-26Sync examples and cli from syntax_suggestHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6287
2022-08-19syntax_suggest moved to under the ruby organization.Hiroshi SHIBATA
2022-08-19Setup SyntaxSuggest as default gemschneems
Adds the `syntax_suggest` syntax error display tool to Ruby through the same mechanism as `error_highlight` and `did_you_mean`. Reference ticket: https://bugs.ruby-lang.org/issues/18159 close #4845 ## What is syntax_suggest? When a syntax error is raised by requiring a file, dead_end will use a combination of indentation and lexing to identify the problem. > Note: Previously this tool was named `dead_end`. ## Known issues - SyntaxSearch's approach of showing syntax errors only works through integration with `require`, `load`, `autoload`, and `require_relative` (since it monkeypatches them to detect syntax errors). It does not work with direct Ruby file invocations https://github.com/zombocom/dead_end/issues/31. - This causes failure in the test suite (test_expected_backtrace_location_when_inheriting_from_basic_object_and_including_kernel) and confusion when inspecting backtraces if there's a different error when trying to require a file such as measuring memory (https://github.com/zombocom/syntax_suggest/issues/124#issuecomment-1006705016). - Discussed fix. We previously talked about opening up `SyntaxError` to be monkeypatched in the same way that other gems hook into `NoMethodError`. This is currently not possible and requires development work. When we last talked about it at RubyKaigi Nobu expressed an ability to make such a change. Notes: Merged: https://github.com/ruby/ruby/pull/5859
2022-08-05Sync new doc in Date (#6215)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-07-29Keep gitignore for libyaml source with psychHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/6200
2022-07-268fa66467de is broken with rubygems/rubygems and flori/json.Hiroshi SHIBATA
Revert "Fix sync_default_gems.rb to use absolute path" This reverts commit 8fa66467de82f787ead9dd901ad06694c79d88dc.
2022-07-25Fix sync_default_gems.rb to use absolute pathPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/6182
2022-07-25For rdoc, copy doc/rdoc to doc/ (#6181)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-04-16Extract `pipe_readlines` method which reads from the pipelineNobuyoshi Nakada
2022-04-16Simplify the condition expression to ignore commitsNobuyoshi Nakada
2022-04-16Do not import any files under rakelibNobuyoshi Nakada
2022-03-10Ignore pre-release for sync target on sync_default_gemsHiroshi SHIBATA
2022-03-08Added release option to sync only released version of the default gemsHiroshi SHIBATA
2022-02-01Sync latest Bundler & RubyGemsDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/5512
2021-12-24sync_default_gems.rb: Expand GH-xxxx style GitHub links [ci skip]Nobuyoshi Nakada
2021-12-24sync_default_gems.rb: GitHub links at word boundary only [ci skip]Nobuyoshi Nakada