Граф коммитов

62 Коммитов

Автор SHA1 Сообщение Дата
NARUSE, Yui f92b7b7b97 Pass revision by hand if the commit message lacks the ticket number 2021-02-02 19:15:45 +09:00
NARUSE, Yui d29cb56bfa Use local repository instead of remote
to improve performance
2021-02-02 19:14:37 +09:00
NARUSE, Yui de15a26e9e tool/redmine-backporter.rb: fix typo 2020-03-13 22:27:54 +09:00
Takashi Kokubun afd3f64f8c
Redmine /projects/ruby-trunk is now redirected
to /projects/ruby-master
2019-12-31 22:06:19 -08:00
Nobuyoshi Nakada db16629008
Fixed misspellings
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
2019-12-20 09:32:42 +09:00
nagachika 17e6536fe0 tool/redmine-backporter.rb: Change redmine git revisions URL path. 2019-06-16 11:59:59 +09:00
nagachika ee7999bb84 tool/redmine-backporter.rb: Add parens to fix condition for svn revision search. 2019-06-16 11:39:12 +09:00
NAKAMURA Usaku dd942cd5b3
Use redirect keyword arguments instead of ">" 2019-04-30 22:24:45 +09:00
NAKAMURA Usaku 1dd94dfba3
Must use IO::NULL instead of platform dependent filename 2019-04-30 21:51:03 +09:00
Takashi Kokubun 4d8ad48f7d
Support git as redmine-backporter's done destination 2019-04-28 20:17:20 +09:00
k0kubun b6fd7b1bb7 tool/redmine-backporter.rb: Git support in backport/rel
close https://github.com/ruby/ruby/pull/2138

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21 14:24:38 +00:00
k0kubun c7db05d216 tool/redmine-backporter.rb: Remove unused methods
They seem to have never been used from the beginning (r45081).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21 13:05:32 +00:00
nagachika ad10418eab update redmine-backporter to catch up Redmine 4.0. [ci skip]
tool/redmine-backporter.rb: change revision resource URL.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-14 11:04:52 +00:00
usa 5bf3db3efb get rid of an encode noncompatible error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-13 12:42:55 +00:00
nobu 36bc8c0b28 tool: removed unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-18 00:38:00 +00:00
nobu 2b7bde7eff redmine-backporter.rb: suppress a warning [ci skip]
* tool/redmine-backporter.rb (StringScanner.readline): use `true`
  to suppress a "literal in condition" warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-18 00:37:59 +00:00
usa b88e0ceb85 * tool/redmine-backporter.rb (show): just report and ignore if a feature ticket
is specified instead of aborting.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-07 02:14:57 +00:00
naruse 0256fa8890 Didn't work if backport field is empty
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-12 18:31:38 +00:00
nagachika 6feb1684f3 fix a constant name typo in redmine-backporter.rb
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-11 15:43:43 +00:00
usa 34ef129bd2 * tool/redmine-backporter.rb (rel): check the exception and show right
message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-27 07:34:32 +00:00
usa 020bd9f487 * tool/redmine-backporter.rb: fixed command alias bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-06 16:05:57 +00:00
usa 95f3abf34a * tool/redmine-backporter.rb (rel): should not raise exceptions even if
the user input is wrong.  only reports the error and continue process.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 14:43:50 +00:00
usa 219f68abfe * tool/redmine-backporter.rb: the fullpath of merger.rb is too long to
copy&paste on Windows.  show shorter name instead on the platform.
  I'm sure that the user of this command on Windows is only me.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-22 06:07:19 +00:00
nagachika 531514bac2 * tool/redmine-backporter.rb: revisions are strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-16 19:20:11 +00:00
nagachika 25c0a2d3ad * tool/redmine-backporter.rb: sort revisions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-15 16:34:22 +00:00
naruse c2b4b9bb47 * tool/redmine-backporter.rb: add given revision to current changests
on associating the revision to the related ticket.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29 16:55:55 +00:00
naruse c782c791b2 * tool/redmine-backporter.rb (backport): show merger.rb's path.
* tool/redmine-backporter.rb (show): show current issue again if no
  ticket number is given.

* tool/redmine-backporter.rb (rel): show error message if current
  bugs.ruby-lang.org doesn't support the API.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-29 09:59:27 +00:00
usa 19f7dd85c4 * tool/redmine-backporter.rb (rel): after the relations is changed,
@changesets is no longer right.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-25 13:38:00 +00:00
usa cef3b0a890 * tool/redmine-backporter.rb (done): fixed a bug that cannot specify the note
without the ticket number.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-13 08:25:34 +00:00
usa 8ea6b7a137 * tool/redmine-backporter.rb: now doesn't required spaces just after
`!`.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-24 07:49:02 +00:00
usa bca791ae60 * tool/redmine-backporter.rb (backport_command_string): pick up only
when the revision exists in trunk.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 17:14:22 +00:00
usa 6aff861d60 * tool/redmine-backporter.rb: now can specify shorten form of commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 15:30:54 +00:00
usa d1d5264c6c * tool/redmine-backporter.rb (Readline.readline): drop untreated control
characters.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 14:42:15 +00:00
usa 41eb94d4b4 * tool/redmine-backporter.rb: use 'b' instead of 's' for showing
Backport options for merger.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 07:58:39 +00:00
usa d57a8fa590 * tool/redmine-backporter.rb: show selected ticket number at prompt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-03 07:55:57 +00:00
naruse a525fbf06f bold closed tickets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-23 09:30:24 +00:00
usa b03c6a74b7 * tool/redmine-backporter.rb: added `!` command.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-27 07:04:38 +00:00
usa 8516d7433f * tool/redmine-backporter.rb: added history feature for platforms which
lack readline.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-27 07:00:50 +00:00
usa aa56ab4ac4 * tool/redmine-backporter.rb (find_svn_log): use double quotes instead
of single quotes because cmd.exe doesn't handle them.

* tool/redmine-backporter.rb (done): the 2nd element of matched data
  is the offset of the end of matched string, not length.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-22 09:05:53 +00:00
nobu 76d0574181 redmine-backporter.rb: garbage lines
* tool/redmine-backporter.rb: remove garbage lines, and should not
  override Kernel#readline.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 05:11:27 +00:00
usa 66c05ce0cc * tool/redmine-backporter.rb: fix bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 04:23:43 +00:00
nobu aa6b7b0701 redmine-backporter.rb: try Readline
* tool/redmine-backporter.rb (readline): try Readline.readline if
  available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 04:09:24 +00:00
nobu 87bb3275aa redmine-backporter.rb: get rid of wrapping
* tool/redmine-backporter.rb (readline): get rid of wrapping at
  the right edge on Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 04:09:13 +00:00
usa 4b1784c669 * tool/redmine-backporter.rb: now can change the page of `ls`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 03:59:03 +00:00
nobu 3b801a8c15 redmine-backporter.rb: fix for Windows
* tool/redmine-backporter.rb (readline): make binmode so that
  single enter works on Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 03:32:10 +00:00
usa 64318f2a71 * tool/redmine-backporter.rb (readline): fallback to normal gets on
Windows because IO.console.getch is not always do as expected.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 03:30:30 +00:00
nobu 506cb40667 redmine-backporter.rb: like Readline.readline
* tool/redmine-backporter.rb (readline): rename and add optional
  argument prompt, like Readline.readline.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 03:14:21 +00:00
nobu 6cb0b95fe3 redmine-backporter.rb: improve mygets
* tool/redmine-backporter.rb (mygets): newline to finish, fix DEL
  code, erase the last character at DEL/BS, and use \C escapes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 03:09:56 +00:00
usa 2076f1e009 * tool/redmine-backporter.rb: update usage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 02:31:50 +00:00
naruse 5a314fbccc * tool/redmine-backporter.rb (mygets): to support Backspace
implement gets by itself.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 02:25:48 +00:00