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

218 Коммитов

Автор SHA1 Сообщение Дата
akr 3ca77ee9f8 * tool/make-snapshot: Specify PWD macro for make.
PWD environment variable may not exist.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 00:54:33 +00:00
nobu df4c772724 make-snapshot: no wait unless needed
* tool/make-snapshot (package): no wait when using already
  exported source without modification, assuming exported 2
  seconds (the lowest timestamp resolution) ago or more.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-11 09:10:03 +00:00
nobu 1b7bb04e1c make-snapshot: HAVE_BASERUBY
* tool/make-snapshot: set HAVE_BASERUBY to download Unicode data
  files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-06 10:53:17 +00:00
nobu 0b9aac597f make-snapshot: fix gems update
* tool/make-snapshot (package): call system and IO.popen with
  arguments array, add macros NULLCMD and RUNRUBY to update gems,
  and not subsitute string interpolations which are used in
  update-gems.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-24 08:16:52 +00:00
nobu 5643b42881 make-snapshot: download by after-update
* tool/make-snapshot (package): download config files, bundled
  gems, and Unicode data by after-update.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-21 03:33:18 +00:00
nobu 3bbea8ed37 tool/downloader.rb: split particular sites
* tool/downloader.rb (Downloader): split particular sites from the
  main class.

* tool/downloader.rb (Downloader.download): show messages if
  verbose mode.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-28 02:54:59 +00:00
nobu 0b5227b8bd downloader.rb: shorthands for usual URI
* tool/downloader.rb (Downloader.uri_to_download): add shorthands
  for commonly used URI.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-23 11:56:30 +00:00
nobu 8322ca8a21 * tool/make-snapshot (usage): X.Y means the head of a branch now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 06:05:01 +00:00
nobu cf08cf97fa * tool/make-snapshot (package): no teeny means a branch since 2.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-03 05:47:31 +00:00
hone 94a6e6f6e1 set top level folder to same as archname of tarball
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-26 00:46:30 +00:00
hsbt 27d345dff4 * tool/make-snapshot: download bundle gems when package making.
[Feature #9852][ruby-core:62676]
* gems/bundled_gems: listed bundled gems for Ruby 2.2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:45:41 +00:00
hsbt 204a83f5f3 * tool/downloader.rb: make Downloader class to general download utility.
It can be used without config.guess and configu.sub.
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-24 01:26:21 +00:00
hsbt 7a05e0ae9f * tool/config_files.rb: rename class ConfigFiles to Downloader.
* tool/get-config_files: ditto.
* tool/make-snapshot: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-23 09:49:42 +00:00
nobu 9fd859b860 make-snapshot: -digests option
* tool/make-snapshot (package): add -digests option to select
  digest algorithms to be shown.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 15:47:36 +00:00
nobu bebbbc393a make-snapshot: -package option
* tool/make-snapshot (package): add -package option to select
  packages to be made.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 15:47:33 +00:00
nobu 26db9bb27c make-snapshot: unused variables
* tool/make-snapshot (package): remove variables no longer used.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 15:47:31 +00:00
nobu f67864636d make-snapshot: SHA512
* tool/make-snapshot (package): add SHA512.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 10:09:43 +00:00
nobu 944ff17f8a make-snapshot: support xz
* tool/make-snapshot (package): support xz.  no longer runs with
  1.8 or earlier.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-13 10:09:41 +00:00
eban 5b59832c6a * tool/make-snapshot: needs CXXFLAGS. [ruby-core:59393][Bug #9320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-30 07:14:43 +00:00
usa 213d2aa629 * tool/make-snapshot: support new version scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-25 15:46:02 +00:00
usa 0abe1fee13 * tool/make-snapshot: replace RUBY_PATCHLEVEL_STR in version.h to
show users that this ruby is a preview/rc version.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-20 20:46:21 +00:00
hsbt a62d6e64bf * tool/make-snapshot: Fix order of priority for option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-08-09 05:05:15 +00:00
akr 2e44efd4d9 * tool/make-snapshot: Exit with EXIT_FAILURE when it fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-04 11:40:11 +00:00
nobu bbe047d4c7 download config files
* common.mk (update-config_files): rule to download config files.
* tool/config.guess, tool/config.sub: remove and download from the
  upstream.
* tool/get-config_files: download config files from GNU.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-14 04:01:54 +00:00
naruse 22415d4ff9 * tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using
literal "autoconf".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-26 15:51:13 +00:00
nobu 16f6500cb2 make-snapshot: fix typo
* tool/make-snapshot (package): fix typo, liburyb, in fake
  config.status.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08 02:09:32 +00:00
nobu cc9a5a4089 make-snapshot: File.join
* tool/make-snapshot (package): use File.join to get rid of continuous
  slashes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08 02:09:30 +00:00
nobu b3cd19971b make-snapshot: rubyarchdir
* tool/make-snapshot (package): fake rubyarchdir too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-08 02:09:27 +00:00
naruse 9f69bef99b * tool/make-snapshot: add --disable-rubygem to both MINIRUBY and RUBY.
On making miniprelude.c, it seems use MINIRUBY. this fixes #7541
  but rubygems also needs to be fixed for older rubies.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 16:18:01 +00:00
naruse 10c014b06d * tool/make-snapshot (BASERUBY): add --disable-gem to avoid load gems.
[Bug #7541] [ruby-core:50736]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-11 06:13:43 +00:00
nobu 82b1bfe417 make-snapshot: PATH_SEPARATOR
* tool/make-snapshot (package): now PATH_SEPARATOR is needed for
  id2token.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-01 14:22:11 +00:00
naruse b2bbfb3e18 * tool/make-snapshot: fix wrong regexp for releasing preview.
patched by mame.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01 18:22:31 +00:00
nobu 7931bbf1b3 tool/make-snapshot MKDIR_P
* tool/make-snapshot (package): MKDIR_P is needed as direct macro to
  build enc/unicode/name2ctype.h.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-14 15:14:05 +00:00
nobu a73d6eb0e4 tool/make-snapshot MKDIR_P
* tool/make-snapshot (package): MKDIR_P is needed to build
  enc/unicode/name2ctype.h.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-06-14 15:07:13 +00:00
nobu 9052a8cd94 * tool/make-snapshot (package): EXEEXT is now used in mkmf.rb.
[ruby-core:43685]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-27 03:11:51 +00:00
nobu be42c35424 * tool/make-snapshot (package): suppress constant overwritting warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-03-27 03:11:48 +00:00
nobu 1fa5a50cd0 * tool/make-snapshot (usage): mention versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 13:50:43 +00:00
nobu b7bc826b9e * tool/make-snapshot (usage): add usage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 13:45:02 +00:00
nobu c40c2839d6 * tool/make-snapshot (package): accept revision as BRANCH@REV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 13:34:40 +00:00
nobu 2ca764948c * tool/make-snapshot (package): take a breath for HP-UX make
[ruby-core:28938].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:42:24 +00:00
nobu d0cd67ef68 * tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:38:22 +00:00
nobu 058b9db421 * tool/make-snapshot (package): $: no longer contains ".", in trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:36:57 +00:00
nobu 39dfe91909 * tool/make-snapshot (package): creates .revision.time and passes
CHDIR to create prerequisite files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-17 12:42:56 +00:00
usa 2f7f34f107 * tool/make-snapshot (prereq): remove enc.mk from tarball because
BSD make checks $(srcdir)/enc.mk and try to run $(builddir)/enc.mk.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-30 05:32:43 +00:00
nobu afba32494c * tool/make-snapshot (package): includes all rules and expand
configured values from the environment to create *.inc, sets RM
  for ripper.c, and needs chdir if absolute path is given with
  -exported option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-16 09:42:33 +00:00
nobu aeec60621a * tool/make-snapshot (package): enc.mk in snapshot is dummy and should
not deal with objects.  [ruby-core:20422]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08 15:54:05 +00:00
nobu 82a0e61e6e * tool/make-snapshot (package): added RM and CP. [ruby-dev:37288]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-06 09:33:20 +00:00
nobu b2a9e7c85a * tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 16:24:32 +00:00
yugui 2e376a1b96 * tool/make-snapshot.rb: merged from ruby_1_9_1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-28 08:21:57 +00:00
nobu b39833e1d7 * tool/make-snapshot: use String#bytesize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-28 07:13:39 +00:00
nobu a2ae773503 * common.mk (dist): nothing is need to run BASERUBY.
* tool/make-snapshot: new option -archname.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 09:40:04 +00:00
yugui 42307bf41f * common.mk (dist): tool/make-snapshot is executable.
* tool/make-snapshot (package): supported release numbers 1.9.0-x.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-25 17:47:57 +00:00
nobu eaa1bcab35 * tool/make-snapshot: fix for clean up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-13 04:09:15 +00:00
nobu 7caecdbe38 * tool/make-snapshot: try to find exported directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-13 01:45:35 +00:00
nobu 12096f588f * tool/make-snapshot: fix for enc.mk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-12 10:11:11 +00:00
nobu 7ae9072fdf * tool/make-snapshot: ported to ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 06:31:18 +00:00
nobu 50d48fcfc8 * tool/make-snapshot: fixed digets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-20 23:39:45 +00:00
shyouhei a889f3405f * tool/make-snapshot: do not use sha256sum; use BASERUBY instead
* common.mk (dist): use tool/make-snapshot instead


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-20 16:02:21 +00:00
nobu feb400081b * tool/make-snapshot: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-20 03:19:38 +00:00
nobu 0a3b487504 * tool/make-snapshot: supported multiple snapshots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19 12:35:35 +00:00
nobu e31eeedb94 * tool/make-snapshot: prefixed r makes $revision always true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-01 08:45:04 +00:00
matz 22dc58bf97 * tool/make-snapshot: make prereq uses MINIRUBY.
* tool/make-snapshot: allow packaging like 1.9.0-1 by second
  command-line argument.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-01 05:13:28 +00:00
nobu f64fc63cec * tool/make-snapshot: add version number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 12:44:52 +00:00
nobu a99c3a6e9d * tool/make-snapshot: argument check, and cleanup exported directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 11:24:50 +00:00
eban 7847c1b860 * tool/make-snapshot: more portable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 11:14:38 +00:00
nobu b2258b6482 * tool/make-snapshot (revision): sed does not support +.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 11:03:28 +00:00
eban efd4bbde49 * tool/make-snapshot: must create configure and lex.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24 18:24:15 +00:00
nobu aefc34a041 * common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.
* configure.in (STRINGIZE): stringizing macro.

* include/ruby/defines.h (STRINGIZE): fallback.

* tool/make-snapshot: new file.

* version.c (ruby_description, ruby_copyright): string constants for
  -v option.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22 06:14:50 +00:00