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

220 Коммитов

Автор SHA1 Сообщение Дата
nobu eb0146e2db make-snapshot: after-update
* 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
2017-09-17 06:50:31 +00:00
nobu 90d65afc92 make-snapshot: generate ChangeLog iff not exist
* 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
2017-07-09 04:20:48 +00:00
nobu d0677cdb2c make-snapshot: touch-unicode-files for 2.4
* 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
2017-07-09 04:17:49 +00:00
nobu 5522d79803 downloader.rb: get rid of symlinks
* 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
2017-06-27 17:10:56 +00:00
nobu bd8412b74f Revert r59084, see r57060
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-15 11:51:39 +00:00
nobu 9504610b25 common.mk: tweaked packages order
* 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
2017-06-15 03:12:32 +00:00
nobu d25ed18c3d make-snapshot: colorize [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-15 02:39:06 +00:00
nobu 95797e13d4 make-snapshot: suppress output from 7z [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-15 02:33:57 +00:00
nobu 10840d3abb make-snapshot: prefer default commands over 7z [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-06-15 02:33:56 +00:00
odaira 96b75bb1ce * tool/make-snapshot: prefer to use a make command
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
2017-06-07 22:25:23 +00:00
nobu 987508ce56 extract prereq.status
* tool/make-snapshot (package): extract static config values for
  prereq and override dynamic values at runtime.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-05-07 13:06:34 +00:00
naruse 8d1dacb229 export_changelog must specify the branch's url
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-24 14:05:50 +00:00
nobu cf94bb9a08 Don't download from Unicode.org
* tool/make-snapshot: use checked out headers for Unicode, to get
  rid of downloading data files from Unicode.org.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-03-24 03:42:28 +00:00
nobu 8270a49331 make-snapshot: fix circular dependency
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-13 03:55:13 +00:00
naruse 8f21d921dc fix command
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-12 13:37:27 +00:00
naruse 325c836294 Use 7z if exist
7z can compress with higher ratio than gzip/zip.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-12 13:20:00 +00:00
nobu a60a7e8112 make-snapshot: repository options
* tool/make-snapshot: add -svn and -git options to direct the
  repository to export.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-10 03:50:47 +00:00
nobu d0f02c7fd1 make-snapshot: program name
* tool/make-snapshot (package): abort with the basename of this
  script.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-10 03:50:46 +00:00
nobu 2fa7cd751e vcs.rb: exclude beginning revision
* tool/make-snapshot: pass the last revision in the last ChangeLog
  file without increment.

* tool/vcs.rb (export_changelog): exclude the beginning revision
  of the range uniformly. svn log includes it, but git log not.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07 03:25:28 +00:00
nobu 4201000a7c vcs.rb: unnecessary arguments
* tool/make-snapshot: $srcdir is optional.

* tool/vcs.rb (export_changelog): remove unnecessary arguments.
  VCS should know srcdir and url.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07 02:54:28 +00:00
nobu e18f3e85a8 make-snapshot: sort globbed results
* tool/make-snapshot (package): globbed results order is
  undefined.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-07 01:23:04 +00:00
naruse f7f00b89e6 * tool/vcs.rb (export_changelog): generate ChangeLog file from
vcs's log. [Feature #12283]

* tool/make-snapshot (package): overwrite ChangeLog by generated
  ChangeLog.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 12:57:45 +00:00
nobu b6fbbf332d make-snapshot: remove $GZIP
* tool/make-snapshot: remove deprecated environment variable GZIP
  to its command line arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-17 01:13:00 +00:00
nobu b24c4908e9 make-snapshot: UNICODE_VERSION
* tool/make-snapshot (package): propagate UNICODE_VERSION to make
  snapshot from the parent make.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 13:02:33 +00:00
nobu 7b664abad1 common.mk: separate unicode headers
* common.mk (UNICODE_HDR_DIR): separate unicode header files from
  unicode data files.  [ruby-core:76879] [Bug #12677]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 12:04:34 +00:00
nobu e7effb1e8d make-snapshot: save unicode headers
* tool/make-snapshot (package): save generated header files from
  unicode data.  [ruby-core:76879] [Bug #12677]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-16 02:02:33 +00:00
nobu 5de227d638 make-snapshot: fix VPATH regexp [ci skip]
* tool/make-snapshot (package): replace nmake style VPATH in
  common.mk by regexp same as one for uncommon.mk, not to replace
  too much, BEGIN and END in awk and ruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-07-14 06:46:53 +00:00
nobu 90c36180dc make-snapshot: remove Unicode data
* make-snapshot: remove Unicode data files, which are not
  necessary once all source have been generated.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19 05:41:11 +00:00
nobu fe20002cb5 make-snapshot: download first
* common.mk (update-download): split to download only, excluding
  VCS.

* make-snapshot: download config, Unicode data, gem, and external
  library files first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19 05:05:47 +00:00
nobu bc8a7f9ab7 revert r53459, r53427, r53314
Revert "* tool/make-snapshot: fix for the changes of version.h in r53314."
Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of"
Revert "program version from API version"

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09 00:19:16 +00:00
shugo 1645833e03 * tool/make-snapshot: fix for the changes of version.h in r53314.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08 03:35:06 +00:00
nobu 8d43213467 make-snapshot: override rest variables
* tool/make-snapshot (package): override variables which are not
  substituted by the command line.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 07:44:58 +00:00
nobu cfa98ab2eb make-snapshot: RUBY_VERSION
* tool/make-snapshot (package): override RUBY_VERSION to proceed
  with different version ruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-25 07:07:23 +00:00
nobu 1e528da90c make-snapshot: CONFIGURE
* tool/make-snapshot (package): add default CONFIGURE name to
  follow r50039.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-22 00:53:17 +00:00
nobu ddc3997c58 make-snapshot: substitute configuration variables
* tool/make-snapshot (package): substitute configuration variables
  in Makefile.in instead of passing by the command line, and make
  temporary Makefile instead of a pipe.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-22 00:51:31 +00:00
nobu 9833ae93cf make-snapshot: follow previous commits
* tool/make-snapshot (package): set @ruby_version@ and
  BOOTSTRAPRUBY.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-03-07 11:54:58 +00:00
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
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