You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2018/03/22 15:57:47 UTC

[2/2] kudu git commit: build: Adjust SHA-1 file suffix to .sha1

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 <jd...@apache.org>
Tested-by: Grant Henke <gr...@apache.org>


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

Branch: refs/heads/master
Commit: 1bd98c7d4553e291cb57481e51ed68e4d2fe55a2
Parents: b2f690d
Author: Grant Henke <gr...@apache.org>
Authored: Thu Mar 22 10:44:33 2018 -0500
Committer: Grant Henke <gr...@apache.org>
Committed: Thu Mar 22 15:48:07 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/1bd98c7d/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)