aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* tool/mk_call_iseq_optimized.rb: fix generated commentnormal2017-07-041-1/+1
| | | | | | | | "tool/mkcall_iseq.rb" never existed in our repo. * tool/mk_call_iseq_optimized.rb: fix generated comment git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use lcov visualizer for gcov statisticsmame2017-07-041-0/+41
| | | | | | | | This experimental feature is only for Ruby-core team, not for casual users. Usage: `./configure --enable-gcov && make && make exam && make lcov` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/run-gcov.rb: ignore rubyspec_temp directorymame2017-07-041-0/+2
| | | | | | | | | | rubyspec compiles the extension libraries for capi specs in a temporary directory, and after that, deletes the directory. gcov resurrects the directory to save coverage statistics (.gcda files). However, the source and profiling artifacts (.gcno files) have been deleted. So, we need to ignore the .gcda files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added sync to all of default gems command.hsbt2017-07-031-129/+139
| | | | | | | * Fix command of FileUtils sync operation. test/fileutils is a directory. * When not given gem name option, do sync all of gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added sync tool for default gems from github master.hsbt2017-06-281-0/+178
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: get rid of symlinksnobu2017-06-272-5/+20
| | | | | | | * tool/downloader.rb: do not save downloaded files to cache. [ruby-core:81780] [Bug #13684] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r59084, see r57060nobu2017-06-151-6/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: tweaked packages ordernobu2017-06-151-0/+3
| | | | | | | | | | | * common.mk (dist): tweaked packages order by $(DISTPKGS). .tar.gz comes first for the hash values in downloads page, then popular .zip. * tool/make-snapshot: "all" in -packages means all of the rest package types now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: colorize [ci skip]nobu2017-06-152-21/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: suppress output from 7z [ci skip]nobu2017-06-151-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: prefer default commands over 7z [ci skip]nobu2017-06-151-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/runruby.rb: test with smallest possible machine stacknormal2017-06-081-1/+6
| | | | | | | | | | | | | | | | Lets ensure none of our C functions use too much stack space and fix all excessive stack usage before releasing the next version. Reducing C stack usage should reduce conservative GC scanning time and improve performance. If there are platform-dependent test failures; excessive stack usage should be fixed; rather than increasing minimum values or removing these envs from testing. * tool/runruby.rb: use smallest possible machine stack size [ruby-core:81597] [Feature #13637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: prefer to use a make commandodaira2017-06-071-1/+1
| | | | | | set in the MAKE or make env variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/runruby.rb: exec ruby-runnernobu2017-05-291-3/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add tool to pull latest mspec/spec when commits have been synchronizederegon2017-05-281-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* runruby.rb: no PRELOAD on multiarch [ci skip]nobu2017-05-261-8/+10
| | | | | | | | * tool/runruby.rb: do not set environment to preload on multiarch platforms, otherwise other external commands (e.g., /bin/sh) fail to run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: true symlink on cygwinnobu2017-05-221-8/+10
| | | | | | | | | * tool/downloader.rb (Downloader.link_cache): on Cygwin, make true symlink only, which is provided by the OS. as mingw/mswin ruby can't follow cygwin's pseudo symlink, it will fail on the same source tree. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix r58833nobu2017-05-221-1/+5
| | | | | | | * tool/downloader.rb (Downloader.download): just link to the cache when downloaded to the cache but not the target file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader cachenobu2017-05-212-27/+94
| | | | | | * tool/downloader.rb (Downloader.download): manage download cache. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove verify optionnobu2017-05-211-11/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: utilize dir argumentnobu2017-05-211-2/+1
| | | | | | | * tool/downloader.rb (Downloader::RubyGems.download): utilize `dir` argument of Downloader.download. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add coverage measurement mode by using gcovmame2017-05-201-0/+52
| | | | | | | | This experimental feature is only for Ruby-core team, not for casual users. Usage: `./configure --enable-gcov && make && make exam && make gcov` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Onigmo 6.1.2naruse2017-05-171-1/+1
| | | | | | https://github.com/k-takata/Onigmo/commit/1364ae3488cac0acbf2d61ef3ce2b62fe0c0f528 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* extract prereq.statusnobu2017-05-072-32/+55
| | | | | | | * tool/make-snapshot (package): extract static config values for prereq and override dynamic values at runtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkconfig.rb: remove cross_compilingnobu2017-05-021-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Typousa2017-04-301-1/+1
| | | | | | | * tool/generate-backport-changelog.rb: fixed a typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-refresh: fix for Solarisnobu2017-04-301-2/+2
| | | | | | | * tool/git-refresh: expand for each words. [ruby-dev:50102] [Bug #13522] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-refresh: fix for Solarisnobu2017-04-301-3/+4
| | | | | | | | * tool/git-refresh: unset variable `branch` if it is null, to get rid of substitutions which are not supported old Solaris. [ruby-dev:50102] [Bug #13522] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/git-refresh: fix branch operationsnobu2017-04-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add sha512nobu2017-04-221-2/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/extmk.rb: colorize notes [Feature #13302]nobu2017-04-212-11/+46
| | | | | | | | | | * common.mk (build-ext): pass variables to colorize. * ext/extmk.rb: colorize notes with tool/colorize.rb. * tool/colorize.rb: extract from tool/generic_erb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rervert r58304. Because Rubygems have specialized finder for default gems.hsbt2017-04-191-1/+1
| | | | | | We need to list library entries for default gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: env for commandnobu2017-04-181-15/+17
| | | | | | | * tool/vcs.rb (VCS::SVN::COMMAND, VCS::GIT::COMMAND): customize command paths by environment variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: ignore skipped extsnobu2017-04-161-2/+7
| | | | | | | * tool/rbinstall.rb (default-gems): skip gemspec if corresponding Makefile does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: no file list for default gemsnobu2017-04-141-70/+8
| | | | | | | | * tool/rbinstall.rb (default-gems): no file list is used now. all files should be installed as standard libraries. [ruby-core:80667] [Bug #13428] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-refresh: fix abort by cd failurenobu2017-04-141-1/+1
| | | | | | | | * tool/git-refresh: try `cd -P` in a subshell, because Solaris10 sh dies if it fails, not only the command. [ruby-dev:50074] [Bug #13433] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-refresh: for symlink srcdirnobu2017-04-131-4/+10
| | | | | | * tool/git-refresh: use `cd -P` for symlink srcdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-refresh: fix exprnobu2017-04-131-2/+2
| | | | | | | * tool/git-refresh (dir): surround by slashes to extract base name. [ruby-dev:50070] [Bug #13424] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rbinstall.rb: purge `git ls-files`nobu2017-04-121-5/+17
| | | | | | | | * tool/rbinstall.rb (load_gemspec): purge `git ls-files` generated by bundle. it is not available always everywhere everytime. [ruby-dev:50068] [Bug #13423] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-refresh: for old shnobu2017-04-121-6/+6
| | | | | | | * tool/git-refresh: get rid of matching prefix pattern removal for old sh. [ruby-dev:50069] [Bug #13424] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Install only files explicitly referenced by bundled gems.nobu2017-04-111-4/+6
| | | | | | | | [Bug #13417] [Fix GH-1580] Author: Vít Ondruch <vondruch@redhat.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Spec#files are not used anymore.nobu2017-04-111-1/+0
| | | | | | | [Fix GH-1579] Author: Vít Ondruch <vondruch@redhat.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make .gemspec slimmer.nobu2017-04-101-1/+1
| | | | | | | | | | | | This is the same code that RubyGems are using: https://github.com/rubygems/rubygems/commit/a1a5ab55cb1501cbfeee29131a56cfa2e763174f [ci skip] [Fix GH-1578] Author: Vít Ondruch <vondruch@redhat.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: remove git stuffnobu2017-04-101-1/+1
| | | | | | | * tool/vcs.rb (VCS::GIT#after_export): remove git stuff not to distribute. [ruby-core:80629] [Feature #13415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Classify extlibs toolusa2017-04-071-123/+141
| | | | | | | * tool/extlibs.rb (ExtLibs): classify the tool to make it able to reuse it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-refresh: rewrite optionsnobu2017-03-301-13/+6
| | | | | | | * tool/git-refresh: parse options without git-rev-parse, which is old on travis. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/git-refreshnobu2017-03-301-0/+43
| | | | | | | | * tool/git-refresh: tool to clone or update git working directory. * Makefile.in: use git-refresh. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a tool for backporters.usa2017-03-251-0/+99
| | | | | | | * tool/generate-backport-changelog.rb: Generate ChangeLog entries from svn log. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* export_changelog must specify the branch's urlnaruse2017-03-242-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't download from Unicode.orgnobu2017-03-241-0/+3
| | | | | | | * tool/make-snapshot: use checked out headers for Unicode, to get rid of downloading data files from Unicode.org. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e