Commit graph

196 commits

Author SHA1 Message Date
Nobuyoshi Nakada
df275179bd
Revert "Moved aclocal.m4 to macro directory"
This reverts commit 4a6571dbc1,
because chkbuild does not follow.
2020-04-05 11:53:07 +09:00
Nobuyoshi Nakada
4a6571dbc1 Moved aclocal.m4 to macro directory 2020-04-05 09:26:57 +09:00
Nobuyoshi Nakada
5f18635a80
make-snapshot: fixed mode
"X" must be used in conjunction with "+".
2019-12-23 10:10:23 +09:00
Kazuhiro NISHIYAMA
7abb02771a
Fix typo [ci skip]
pointed out by ruby-trunk-changes
2019-10-08 00:00:24 +09:00
Kazuhiro NISHIYAMA
3374e1450c
Write yaml and json under destdir and print to stdout 2019-10-07 19:33:33 +09:00
Kazuhiro NISHIYAMA
96753e8475
Create info.yml and info.json
- `info.yml` is for ruby/www.ruby-lang.org/_data/releases.yml
- `info.json` is meta data for users of snapshot
2019-10-07 19:05:42 +09:00
Kazuhiro NISHIYAMA
bb86611c9b
Remove -s3 option
It will not use in `ruby/actions`, and `default=tmp` is not correct.
2019-10-07 19:03:06 +09:00
Nobuyoshi Nakada
8f7fca784a
make-snapshot: touch updated files after prepared
Align mtime of files updated by `make prepare-package` to make
packages reproducible.
2019-10-03 19:14:49 +09:00
Nobuyoshi Nakada
8142a9b43d
make-snapshot: suppress make error messages unless failed 2019-10-03 19:12:03 +09:00
Nobuyoshi Nakada
47d143be17
make-snapshot: copy cache files instead of linking
To get rid of setting mode and mtime of the original cache files.
2019-10-03 19:09:16 +09:00
Nobuyoshi Nakada
4ed51b3956
Fixed failure message for clean-cache 2019-10-02 17:03:55 +09:00
NAKAMURA Usaku
a61ae414b6 Fix the order of executing after-update task 2019-10-02 13:00:17 +09:00
NAKAMURA Usaku
5af2c8735a Should fail if system failed 2019-10-02 12:59:59 +09:00
Nobuyoshi Nakada
642dbb962c
make-snapshot: store timestamps in UTC for zip which lacks timezone 2019-09-23 01:25:17 +09:00
Kazuhiro NISHIYAMA
d8221a54f2
Add -mtc=off to 7z not to store NTFS timestamps
https://sevenzip.osdn.jp/chm/cmdline/switches/method.htm
2019-09-23 00:55:48 +09:00
Nobuyoshi Nakada
b0d24e262f
make-snapshot: Added -no7z option
It disables 7z, which seems not to have an option to stop saving
extra file attributes (uid/gid and atime), in order to make zip
packages stable.
2019-09-22 22:26:07 +09:00
Nobuyoshi Nakada
7fe7dec7e5
make-snapshot: Do not save extra file attributes
Extra file attributes (uid/gid and atime) make the packaged zip
file unstable.
2019-09-22 22:18:14 +09:00
Nobuyoshi Nakada
df4a4bd88c
make-snapshot: export ChangeLog from srcdir 2019-09-15 11:22:32 +09:00
Nobuyoshi Nakada
1ad4be13cb
make-snapshot: deprecated -exported option [Bug #16167] 2019-09-15 02:07:00 +09:00
Nobuyoshi Nakada
3ef76ce44a
make-snapshot: -git option is no longer provided [ci skip] 2019-09-08 21:22:37 +09:00
Nobuyoshi Nakada
2d017d6126
make-snapshot: default to the toplevel directory
As this tool has been intended to use in a working directory,
assume that the toplevel directory is under the VCS, and SVN will
no longer be canonical.
2019-09-08 00:48:18 +09:00
Nobuyoshi Nakada
f3bae2c6cf
Touch copied cache files to make tarballs stable 2019-09-08 00:22:25 +09:00
Nobuyoshi Nakada
d783609ac3
Get rid of overwriting revision.h and creating .revision.time 2019-09-07 11:38:39 +09:00
Nobuyoshi Nakada
8a608f1b1f
Removed -git option of make-snapshot
Git is not for direct access to a remote repository.
Most of its operations need a local clone.
2019-09-05 14:39:53 +09:00
Nobuyoshi Nakada
e6c4ea22d6
Touch tar file itself to make gz file hash stable 2019-09-03 12:28:00 +09:00
Nobuyoshi Nakada
b0a7221dcf
Touch the toplevel directory too 2019-09-03 11:58:02 +09:00
Nobuyoshi Nakada
703f0cd3d0
Do not keep tar file by the default 2019-09-03 11:30:40 +09:00
Nobuyoshi Nakada
c181ecc161
Align timestamps to make tarball stable 2019-09-03 11:14:07 +09:00
Nobuyoshi Nakada
1f636e74e6
Set mtime of checked out files to past time
instead of waiting 2 seconds, if possible.
2019-09-02 12:16:21 +09:00
Nobuyoshi Nakada
f82cf05626
Fixed the directory to be removed 2019-09-02 00:42:23 +09:00
Nobuyoshi Nakada
bd785ca077
Restore pwd for each version 2019-09-01 23:24:05 +09:00
Nobuyoshi Nakada
fd4aad6d41
Support packaging different branch/tag 2019-09-01 23:22:50 +09:00
Nobuyoshi Nakada
b578c63f83
Resolve symlinks to cache directory under gems 2019-09-01 23:22:49 +09:00
Nobuyoshi Nakada
96b32aad93
Exclude ripper y.output from packages [ci skip] 2019-08-30 11:26:48 +09:00
Nobuyoshi Nakada
98ccdd744a
Export the last modified revision for tags [ci skip] 2019-08-30 11:23:21 +09:00
Kazuhiro NISHIYAMA
a8b310e14c
7z does not accept gzip's options
e.g. `GZIP=-9`
2019-08-30 00:35:37 +09:00
Nobuyoshi Nakada
c1d0b6adfc
Revert "Treat RUBY_REVISION as an integer on old rubies"
This reverts commit 6454808c52.

It is no longer needed, as `VCS::SVN#get_revisions` now returns
`Integer` as revision numbers, and `short_revision` should deal
with it.
2019-08-28 16:51:49 +09:00
NAKAMURA Usaku
2b55df7315
revision might be an Integer 2019-08-28 15:57:30 +09:00
NAKAMURA Usaku
6454808c52
Treat RUBY_REVISION as an integer on old rubies 2019-08-28 00:19:25 +09:00
Kazuhiro NISHIYAMA
fe83ed47e7
Try to fix make dist error on chkbuild
20190823T213004Z.fail.html.gz
20190824T003006Z.fail.html.gz
2019-08-24 10:20:44 +09:00
Hiroshi SHIBATA
e8ddbc0239
Put colorize to library directory.
Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
2019-07-15 09:40:22 +09:00
Hiroshi SHIBATA
0a711b0edf
Put vcs .rb to under the lib direcotory.
Because it's the common library for tool files.
2019-07-15 09:40:22 +09:00
Takashi Kokubun
0b858425e1
Use GitHub ruby.git for make-snapshot
Previously @hsbt disabled https git clone from git.ruby-lang.org.

Using git.ruby-lang.org for non-commit purposes is discouraged. GitHub
mirror is actually recommended because it's reliable than single-hosted
git.ruby-lang.org, the mirror is almost always well-maintained, and its
latency is very small (usually about 10s).

So we should just use GitHub here.

[Bug #15969]
2019-07-02 10:40:41 +09:00
Nobuyoshi Nakada
7ff2bfed92
Alias "master" and "trunk" 2019-07-01 23:16:47 +09:00
Nobuyoshi Nakada
c7477c3e1f
Moved Makefile.in under template 2019-06-07 09:09:58 +09:00
Nobuyoshi Nakada
200c840b95
Revert "Moved Makefile.in under template"
This reverts commits:
* 6f9d5fafe0
* bb3c89b643

And remove the dependency of Makefile on Makefile.in
transitionally.
2019-06-07 09:03:25 +09:00
Nobuyoshi Nakada
6f9d5fafe0
Moved Makefile.in under template 2019-06-07 08:44:37 +09:00
Nobuyoshi Nakada
fd658ec821
Define RUBY_FULL_REVISION
Only if the short revision differs from the full revision.
2019-05-31 10:55:37 +09:00
Nobuyoshi Nakada
ab0c8cc021
Touch Unicode headers and the timestamp before packaging
Not to download Unicode data files at building from the packages.
2019-05-30 23:23:11 +09:00
Nobuyoshi Nakada
d819d97cf0
Default to the current branch
* tool/make-snapshot: default to the current branch if no branch
  but srcdir is given.
2019-05-22 23:52:51 +09:00