aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* Fixed broken `bundle gem` command.hsbt2017-10-051-1/+1
| | | | | | | | | | | This patch is provided by @gyugyu (Yusuke Yagyu) * Remove README* entry from no_install that there is no README* files except README.md.tt * Rename .travis.yml.tt to travis.yml.tt like gitignore.tt [Bug #13975][ruby-dev:50278][fix GH-1710] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* generic_erb.rb: -i optionnobu2017-10-011-5/+10
| | | | | | * tool/generic_erb.rb: -i option to merge multiple template files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.acnobu2017-09-291-3/+3
| | | | | | | | | | | * configure.ac: renamed configure.in. [Feature #13946] * Makefile.in, common.mk, ext/rbconfig/sizeof/depend: use configure.ac. * README.ja.md, README.md: update document for configure.ac. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* run-lcov.rb: support overwritten tmpdir pathmame2017-09-261-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/run-lcov.rb: Filter tmp files outmame2017-09-261-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/run-lcov.rb: Filter test files outmame2017-09-251-11/+36
| | | | | | And refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed ubygems.rb. rubygems.rb is always loaded now.hsbt2017-09-241-2/+1
| | | | | | | | * tool/sync_default_gems.rb: removed ubygems.rb from sync target. * test/rubygems/test_gem.rb: only enable "-rubygems" option when running under the Ruby 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added sections of pysch library to LEGAL.hsbt2017-09-231-0/+1
| | | | | | | * ext/psych/yaml/LICENSE: Integrate libyaml license to LEGAL and removed this file from repository. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Integrate LICENSE file of rubygems to LEGAL.hsbt2017-09-231-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adapt tools to follow spec/rubyspec => spec/ruby renameeregon2017-09-201-5/+5
| | | | | | | * [Misc #13792] [ruby-core:82287] * Prefer test-spec over test-rubyspec in spec/README. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: after-updatenobu2017-09-171-1/+2
| | | | | | | * tool/make-snapshot (package): fix missing after-update for libffi and so on. [ruby-dev:50244] [Bug #13897] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* run-lcov.rb: wrongly used unique ID as linenomame2017-09-171-2/+2
| | | | | | | The second value of key of branch/method coverage is unique ID, not lineno. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rename bin/ruby as exe/rubynobu2017-09-171-1/+1
| | | | | | | | * common.mk, configure.in: rename the bin directory to run build executable as exe, to get rid of overwriting true files at the installation. [ruby-dev:50250] [Bug #13911] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename ruby-runner as bin/rubynobu2017-09-152-4/+4
| | | | | | | | * Makefile.in, configure.in, tool/runruby.rb: rename ruby-runner executable file as $(RUBY_INSTALL_NAME) under bin, to mimic dirty `#!/usr/bin/env` hack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Measure branch and method coverage for `make test-all`mame2017-09-142-11/+83
| | | | | | | | | | | | | To measure coverage of C code: `./configure --enable-gcov && make && make exam && make lcov` To measure coverage of Ruby code: `./configure && make && make exam COVERAGE=true && make lcov` To measure coverage of both languages at a time: `./configure --enable-gcov && make && make exam COVERAGE=true && make lcov` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed copy option for bundler synchsbt2017-09-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed unterminated backquote for bundler sync task.hsbt2017-09-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merger.rb: separate logsnobu2017-09-101-2/+2
| | | | | | * tool/merger.rb: separate each commit logs by an empty line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* runruby.rb: set envvars for bundlernobu2017-09-091-1/+5
| | | | | | * tool/runruby.rb: set gem and bundler environment variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Support LCOV visualization for both C and Ruby codemame2017-09-091-4/+45
| | | | | | | | | | | `./configure --enable-gcov && make exam && make lcov` will create `lcov-c-out/index.html` for coverage of C code of the interpreter. `make exam COVERAGE=true && make lcov` will create `lcov-rb-out/index.html` for coverage of Ruby stdlib code. Using both `--enable-gcov` and `COVERAGE=true` will create `lcov-out/index.html` for total coverage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge bundler to standard libraries.hsbt2017-09-081-0/+8
| | | | | | | | | | | | | | | | | | rubygems 2.7.x depends bundler-1.15.x. This is preparation for rubygems and bundler migration. * lib/bundler.rb, lib/bundler/*: files of bundler-1.15.4 * spec/bundler/*: rspec examples of bundler-1.15.4. I applied patches. * https://github.com/bundler/bundler/pull/6007 * Exclude not working examples on ruby repository. * Fake ruby interpriter instead of installed ruby. * Makefile.in: Added test task named `test-bundler`. This task is only working macOS/linux yet. I'm going to support Windows environment later. * tool/sync_default_gems.rb: Added sync task for bundler. [Feature #12733][ruby-core:77172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a label for bundled gems.hsbt2017-09-081-3/+3
| | | | | | "bundle gems" is a wrong name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Measure the test coverage without SimpleCovmame2017-09-071-0/+78
| | | | | | | | | | | | | | | | | | | | | | | Now `make test-all COVERAGE=true` measures the test coverage by using `coverage.so` directly, and visualize the result by simplecov-html. There has been some problems in coverage measurement with SimpleCov. (They are not SimpleCov's fault, though.) (1) It is difficult to extract the measured data as a machine-readable format, such as Marshal. I want to visualize the coverage data with other coverage tools, such as LCOV and Cobertura. (I know we can use SimpleCov's formatter mechanism, but I don't want to depend upon SimpleCov so much.) (2) SimpleCov seems to miss some coverage data. For example, `lib/cgi.rb` and `lib/ostruct.rb` are dropped. I don't know why. (3) I have a plan to enhance `coverage.so` with branch coverage. It would be difficult to continue to only use SimpleCov as is. This is the most important reason. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge rdoc-6.0.0.beta1.hsbt2017-08-291-5/+6
| | | | | | | This version fixed strange behavior of ruby code parser. We will list all of impromovement to Changelog when 6.0.0 releasing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: refresh after dcommitnobu2017-08-261-1/+7
| | | | | | * tool/vcs.rb (VCS::GIT#commit): refresh until sync after dcommit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tool/instruction.rb: move logics to templatesnobu2017-08-221-159/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Missed `#` in usageusa2017-08-091-1/+1
| | | | | | | * tool/generate-backport-changelog.rb (usage): missed `#` in usage git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ipaddr is now a default gem with an upstream at: https://github.com/ruby/ipaddrknu2017-08-021-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vcs.rb: commitnobu2017-07-261-0/+13
| | | | | | | * tool/vcs.rb (commit): do commit, reset svn revision to sync git mirror. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added psych entry to package table and fixed sync instructions.hsbt2017-07-141-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* downloader.rb: get rid of symlinks in dist filesnobu2017-07-091-1/+1
| | | | | | | | * tool/downloader.rb: download to the target file directly if CACHE_SAVE=no, to get rid of symlinks in dist files. [ruby-core:81887] [Bug #13709] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: generate ChangeLog iff not existnobu2017-07-091-7/+9
| | | | | | | * tool/make-snapshot (package): ChangeLog had existed in pre-2.4 revisions, but not doc/ChangeLog-YYYY. fix for 2..3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: touch-unicode-files for 2.4nobu2017-07-091-2/+5
| | | | | | | | * tool/make-snapshot (package): fallback touch-unicode-files for 2.4, which has been introduced to reduce downloads on CI. [ruby-core:81972] [Bug #13734] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/redmine-backporter.rb (show): just report and ignore if a feature ticketusa2017-07-071-0/+5
| | | | | | | is specified instead of aborting. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 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