From b9783f1047c99562248fe9c15199b6a719f2162a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 23 Mar 2017 19:13:41 +0800 Subject: [PATCH] script: ceph-release-notes: use https instead of http Signed-off-by: Kefu Chai --- src/script/ceph-release-notes | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/script/ceph-release-notes b/src/script/ceph-release-notes index d1b67a6acc4f..7c4977821434 100755 --- a/src/script/ceph-release-notes +++ b/src/script/ceph-release-notes @@ -143,14 +143,14 @@ def make_release_notes(gh, repo, ref, plaintext, verbose, strict, use_tags): author = commit.parents[-1].author.name if strict and not issues: - print ("ERROR: http://github.com/ceph/ceph/pull/" + str(number) + " has no associated issue") + print ("ERROR: https://github.com/ceph/ceph/pull/" + str(number) + " has no associated issue") continue if strict: title_re = '^(?:hammer|infernalis|jewel|kraken):\s+(cephx|cli|common|mon|msgr|osd|log|librbd|rbd|fs|mds|objecter|rgw|build/ops|tests|tools|cmake|doc|crush|librados)(:.*)' match = re.match(title_re, title) if not match: - print ("ERROR: http://github.com/ceph/ceph/pull/" + str(number) + " title " + title.encode("utf-8") + " does not match " + title_re) + print ("ERROR: https://github.com/ceph/ceph/pull/" + str(number) + " title " + title.encode("utf-8") + " does not match " + title_re) else: title = match.group(1) + match.group(2) if use_tags: @@ -184,7 +184,7 @@ def make_release_notes(gh, repo, ref, plaintext, verbose, strict, use_tags): if plaintext: print ("* {title} ({issues}{author})".format(title=title.encode("utf-8"), issues=issues, author=author.encode("utf-8"))) else: - print ("* {title} ({issues}`pr#{pr} `_, {author})".format(title=title.encode("utf-8"), issues=issues, author=author.encode("utf-8"), pr=pr)) + print ("* {title} ({issues}`pr#{pr} `_, {author})".format(title=title.encode("utf-8"), issues=issues, author=author.encode("utf-8"), pr=pr)) if message: print (message) -- 2.47.3