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

84 Коммитов

Автор SHA1 Сообщение Дата
nobu ab8dbd1082 make-snapshot: no loading unexpected libraries
* tool/make-snapshot (package): get rid of loading unbundled and
  unexpected libraries.  [ruby-core:67977] [Bug #10822]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-02-09 07:36:16 +00:00
hsbt 9a39740ef3 * tool/make-snapshot: removed md5 digest with package infomation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-29 11:28:31 +00:00
nobu de89cd4ba8 make-snapshot: remove unused files
* tool/make-snapshot (package): remove working directories and
  unused files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 23:57:53 +00:00
nobu df0dcd4815 make-snapshot: make revision.h by make
* tool/make-snapshot (package): keep VCS management files until
  prerequisites build, so that revision.h can be made by make.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-20 23:57:38 +00:00
nobu 8d5bdaa650 make-snapshot: clear RUBY_PLATFORM
* tool/make-snapshot (package): clear RUBY_PLATFORM of the
  building platform to suppress warnings in rbconfig.rb at
  universal-darwin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-17 06:55:09 +00:00
nobu f93a6aaae1 make-snapshot: extract gems
* tool/make-snapshot (package): extract bundled gems for package.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-17 02:42:31 +00:00
nobu b20b9f67c5 make-snapshot: check the first word of commands
* tool/make-snapshot: commands stored in environment variables may
  contain options, so check only the first word.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-17 00:05:09 +00:00
nobu 218029f06d make-snapshot: add fake values
* tool/make-snapshot (package): add fake values, rubylibprefix and
  ruby_version which are necessary for Gem.default_dir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-15 09:09:14 +00:00
hsbt 6dd302ada9 * tool/make-snapshot: show sha1 digest when making packages.
it's request from https://github.com/ruby/www.ruby-lang.org/issues/921
  [fix GH-794]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-27 01:03:50 +00:00
nobu 730c941728 make-snapshot: fix stable snapshot
* tool/make-snapshot (package): VCS#branch_list expects glob a
  pattern string but not a regexp.  based on the patch by Vit
  Ondruch.  in [ruby-core:67064].  [Bug #10636]
* tool/vcs.rb (VCS::SVN#branch_list): strip newlines.
* tool/vcs.rb (VCS::GIT.get_revisions): retrieve modified time
  from toplevel log too.
* tool/vcs.rb (VCS::GIT#branch_list): yield for each lines.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 17:12:25 +00:00
nobu 38938ccaad extlibs.rb: external libraries
* tool/extlibs.rb: download, extract, and patch external libraries.

* ext/fiddle/extlibs: libffi-3.2.1 and patch for mswin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-23 13:24:33 +00:00
nobu 825680a106 make-snapshot: reuse downloaded files
* tool/make-snapshot (package): reuse already downloaded files if
  existing.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:30:30 +00:00
nobu 238d8586df make-snapshot: use srcdir
* tool/make-snapshot: use srcdir as checked out working directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:28:58 +00:00
nobu fff1128281 vcs.rb: abstract
* tool/vcs.rb: abstract VCS interfaces from make-snapshot.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:02:52 +00:00
nobu e0bcfdd931 make-snapshot: suppress warnings
* tool/make-snapshot: suppress warnings for uninitialized global
  variables.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-15 01:02:32 +00:00
akr 5af1a10d7c * tool/make-snapshot: Don't generate enc/trans/newline.c in tarball.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 17:12:03 +00:00
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