aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* Convert Enumerator to Array for Ruby 1.9.3Takashi Kokubun2019-05-291-1/+1
| | | | | String#lines seems to return Enumerator in Ruby 1.9.3, and it does not respond to #delete_if https://travis-ci.org/ruby/ruby/jobs/538559919
* Make tool/vcs.rb compliant to BASERUBYTakashi Kokubun2019-05-291-1/+2
| | | | | | People seem to consider BASERUBY is either 1.8 or 1.9 now. Since this file may be executed by BASERUBY from file2lastrev.rb, I think we should not rely on Ruby 2.0 in this file for now.
* Clean a garbage [ci skip]Nobuyoshi Nakada2019-05-281-1/+1
|
* Fix building with 1.8 BASERUBYJeremy Evans2019-05-273-5/+6
|
* Escape dots in regexpKazuhiro NISHIYAMA2019-05-241-1/+1
|
* switch UNICODE_BETA to NO (one more try, first try didn't work)Martin Dürst2019-05-241-1/+1
| | | | | | | | | | | Unicode version 12.1.0 was officially released on May 7th, 2019. There were no changes at all from the "real" beta published shortly after the new era name "Reiwa" was announced. So we can switch UNICODE_BETA back to NO. common.mk: switch UNICODE_BETA back to NO tool/downloader.rb: add additional conditions to avoid an error when moving from beta to final
* Make RUBY_REVISION full lengthNobuyoshi Nakada2019-05-222-4/+21
|
* Default to the current branchNobuyoshi Nakada2019-05-222-3/+9
| | | | | * tool/make-snapshot: default to the current branch if no branch but srcdir is given.
* Fix revision nameNobuyoshi Nakada2019-05-221-1/+1
| | | | | * tool/make-snapshot (package): dump to stringize GIT revisions properly.
* Fix revision nameNobuyoshi Nakada2019-05-222-3/+3
| | | | | | | | * tool/make-snapshot (package): use the last revision of the whole tree as the revision name, not a single file. * tool/file2lastrev.rb: ditto. dump without unnecessary subrange and literal quotes, to stringize SVN revisions properly.
* Fixed the method to delegateNobuyoshi Nakada2019-05-221-1/+1
| | | | | * tool/vcs.rb (VCS::GITSVN.revision_name): should delegate to the same method of SVN, not an undefined method.
* leaked-globals: check if un-prefixed symbols leak externallyNobuyoshi Nakada2019-05-161-0/+40
|
* Propagate parser_params to rb_yytnamerrNobuyoshi Nakada2019-05-101-0/+2
|
* 15f45ae4d1 and 56528da3e broke the darwin environment.Hiroshi SHIBATA2019-05-101-2/+0
| | | | | | Revert "Propagate parser_params to rb_yytnamerr" This reverts commit 15f45ae4d12f14714ab3021b60887d8c7bf4b095.
* Revert "Fix for bison 2.3"Hiroshi SHIBATA2019-05-101-1/+1
| | | | This reverts commit 56528da3efb32bb773b22740c24450246b861e58.
* Fix for bison 2.3Nobuyoshi Nakada2019-05-101-1/+1
|
* Propagate parser_params to rb_yytnamerrNobuyoshi Nakada2019-05-101-0/+2
|
* Fallback to an invalid branch name if no branch foundNobuyoshi Nakada2019-05-091-0/+1
|
* Search a branch name at a detached headNobuyoshi Nakada2019-05-091-5/+6
|
* Push the current (topic) branch to the remote upstreamNobuyoshi Nakada2019-05-091-0/+9
|
* Show the commit command if dryrunNobuyoshi Nakada2019-05-091-0/+1
|
* dryrun option is for `push`, not `git`Nobuyoshi Nakada2019-05-091-2/+1
|
* Recent commits of trunk do not have svn revisionKazuhiro NISHIYAMA2019-05-071-1/+1
|
* Nil cannot and should not convert to a stringNAKAMURA Usaku2019-05-031-1/+1
|
* Fix a typoKazuhiro NISHIYAMA2019-05-021-1/+1
|
* No last commit when up-to-dateNobuyoshi Nakada2019-05-011-1/+3
| | | | | | Get the last commit title from the upstream to the head, so that no `last_commit` line will be shown when the branch is up to date with the upstream.
* Change Accept-Encoding from `*` to `identity`Kazuhiro NISHIYAMA2019-04-301-1/+1
| | | | | | When `Accept-Encoding` is `*`, http://www.unicode.org/Public/12.1.0/ucd/ returns gzipped content now. So set `identity`.
* Use redirect keyword arguments instead of ">"NAKAMURA Usaku2019-04-302-2/+2
|
* Use array mode of `system` instead of `shellescape`Nobuyoshi Nakada2019-04-301-2/+3
| | | | `&.` is not available in ruby 2.0.
* String#[] with index to extract matched substring safelyNobuyoshi Nakada2019-04-301-1/+1
|
* Must use IO::NULL instead of platform dependent filenameNAKAMURA Usaku2019-04-301-1/+1
|
* **Must** use IO::NULL for null deviceNAKAMURA Usaku2019-04-301-1/+1
|
* `from` is not nil but `""` on shallow clone [ci skip]Kazuhiro NISHIYAMA2019-04-301-1/+1
|
* Add Reline as a fallback library for Readlineaycabta2019-04-301-0/+7
| | | | | | | | | | | | | * lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible library. * lib/readline.rb: Readline uses a fallback to Reline when ext/readline doesn't exist. * tool/sync_default_gems.rb: add ruby/reline as a default gem. * appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit of Reline, and add "--exclude readline" to "nmake test-all" on Visual Studio builds because of strange behavior. * spec/ruby/library/readline/spec_helper.rb: skip Reline as with RbReadline.
* Use 10 chars as RUBY_REVISION in snapshot tooKazuhiro NISHIYAMA2019-04-291-1/+1
|
* Fully support Git in tool/merger.rbTakashi Kokubun2019-04-291-21/+46
| | | | as both backport source repository and backport destination repository.
* * remove trailing spaces.git2019-04-291-2/+2
|
* tool/merger.rb: Avoid making too-deep indentationTakashi Kokubun2019-04-291-156/+156
| | | | | | | | because it's hard to understand what's going on when indentation depth is too deep. Sorry for polluting git blame, but most of the Merger's lines are updated recently anyway.
* Support `tool/merger.rb removetag` under GitTakashi Kokubun2019-04-291-25/+24
| | | | repository.
* Support `tool/merger.rb tag` under Git repositoryTakashi Kokubun2019-04-291-44/+56
|
* Support `tool/merger.rb up` under Git repositoryTakashi Kokubun2019-04-281-53/+69
| | | | | updating indentation (and slightly changing styles) for areas already supporting Git.
* Fix wrong svn optionsTakashi Kokubun2019-04-281-2/+2
| | | | | | for SVN as a backport source. This was a mistake in de5378233b2ff5434f024ac66285e699794a321d...
* Stop using global variable for reposTakashi Kokubun2019-04-281-5/+6
| | | | to avoid having impact from other places.
* Now tool/merger.rb may use Git [ci skip]Takashi Kokubun2019-04-281-1/+1
|
* Drop SVN-specific method from Merger moduleTakashi Kokubun2019-04-281-7/+4
| | | | to clarify it's not needed for Git support.
* Make Merger.version private to the moduleTakashi Kokubun2019-04-281-30/+32
| | | | because it's not used outside the Module.
* Define merger.rb's methods under Merger namespaceTakashi Kokubun2019-04-281-15/+18
| | | | | | | so that we do not monkey-patch all classes by defining methods on top-level (Object class). Not arranging indentation in it to keep `git blame` for now.
* Support git as redmine-backporter's done destinationTakashi Kokubun2019-04-281-3/+16
|
* Make the range to export as changelog optionalNobuyoshi Nakada2019-04-282-8/+8
| | | | | | | * `from` is defaulted to the beginning of the branch inclusively, otherwise the given revision is excluded as the previous. * `to` is defaulted to the head.
* Added VCS::SVN#branch_beginningNobuyoshi Nakada2019-04-282-2/+11
|