From: Kefu Chai Date: Thu, 23 Mar 2017 11:13:41 +0000 (+0800) Subject: script: ceph-release-notes: use https instead of http X-Git-Tag: v12.0.2~327^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b9783f1047c99562248fe9c15199b6a719f2162a;p=ceph.git script: ceph-release-notes: use https instead of http Signed-off-by: Kefu Chai --- 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)