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

124 Коммитов

Автор SHA1 Сообщение Дата
nobu fe948e8550 make-snapshot: exporting ChangLog with git
* tool/make-snapshot (package): export ChangLog file under the
  exported directory.  Git can work only under a git repository.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-26 06:00:10 +00:00
nobu 34dc3b983b make-snapshot: remove -j option from GNUMAKEFLAGS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-02-26 06:00:09 +00:00
hsbt 2bcdd83e3f Fixed conflicted variables. v is already used another condition.
[Misc #14050][ruby-core:83553]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-25 06:58:24 +00:00
hsbt 6faa0e12b0 [EXPERIMENTAL] Added test-bundled-gems task.
`test-bundled-gems` invoke test suite of bundled gems with
  build environment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 09:50:36 +00:00
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