[前][次][番号順一覧][スレッド一覧]

ruby-changes:57863

From: Nobuyoshi <ko1@a...>
Date: Sun, 22 Sep 2019 22:36:00 +0900 (JST)
Subject: [ruby-changes:57863] 7fe7dec7e5 (master): make-snapshot: Do not save extra file attributes

https://git.ruby-lang.org/ruby.git/commit/?id=7fe7dec7e5

From 7fe7dec7e5f7cefae986fe6475805198ec4dbada Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 22 Sep 2019 21:56:58 +0900
Subject: make-snapshot: Do not save extra file attributes

Extra file attributes (uid/gid and atime) make the packaged zip
file unstable.

diff --git a/tool/make-snapshot b/tool/make-snapshot
index 28fc724..f5f0ed2 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -49,7 +49,7 @@ PACKAGES = { https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L49
   "bzip" => %w".tar.bz2 bzip2 -c",
   "gzip" => %w".tar.gz  gzip -c",
   "xz"   => %w".tar.xz  xz -c",
-  "zip"  => %w".zip     zip -qr",
+  "zip"  => %w".zip     zip -Xqr",
 }
 DEFAULT_PACKAGES = PACKAGES.keys - ["tar"]
 if system("7z", out: IO::NULL)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]