kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject kudu git commit: build: Adjust SHA-1 file suffix to .sha1
Date Mon, 18 Jun 2018 15:15:53 GMT
Repository: kudu
Updated Branches:
  refs/heads/branch-1.7.x 362beeb50 -> 1033eba46


build: Adjust SHA-1 file suffix to .sha1

New guidance from the ASF suggests we name our
SHA-1 checksum files with .sha1.

Change-Id: Idfcfb9ac581f4bd8cf575ffe985187a86133bcc5
Reviewed-on: http://gerrit.cloudera.org:8080/9756
Reviewed-by: Jean-Daniel Cryans <jdcryans@apache.org>
Tested-by: Grant Henke <granthenke@apache.org>
(cherry picked from commit 1bd98c7d4553e291cb57481e51ed68e4d2fe55a2)
Reviewed-on: http://gerrit.cloudera.org:8080/10644
Tested-by: Kudu Jenkins
Reviewed-by: Mike Percy <mpercy@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/1033eba4
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/1033eba4
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/1033eba4

Branch: refs/heads/branch-1.7.x
Commit: 1033eba468ba4ca9ecb98619ddbcbde79641b56d
Parents: 362beeb
Author: Grant Henke <granthenke@apache.org>
Authored: Thu Mar 22 10:44:33 2018 -0500
Committer: Grant Henke <granthenke@apache.org>
Committed: Mon Jun 18 15:12:29 2018 +0000

----------------------------------------------------------------------
 build-support/build_source_release.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/1033eba4/build-support/build_source_release.py
----------------------------------------------------------------------
diff --git a/build-support/build_source_release.py b/build-support/build_source_release.py
index a9482fa..6f36dd5 100755
--- a/build-support/build_source_release.py
+++ b/build-support/build_source_release.py
@@ -131,7 +131,7 @@ def gen_sha_file(tarball_path):
   can be used to verify the checksum.
   """
   digest = checksum_file(hashlib.sha1(), tarball_path)
-  path = tarball_path + ".sha"
+  path = tarball_path + ".sha1"
   with open(path, "w") as f:
     f.write("%s\t%s\n" % (digest, os.path.basename(tarball_path)))
   print(Colors.GREEN + "Generated sha:\t\t" + Colors.RESET + path)


Mime
View raw message