yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [2/5] yetus git commit: YETUS-71. releasedocmaker shouldn't use all desc when no release notes field
Date Wed, 21 Oct 2015 03:33:09 GMT
YETUS-71. releasedocmaker shouldn't use all desc when no release notes field

Signed-off-by: Allen Wittenauer <aw@apache.org>


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

Branch: refs/heads/YETUS-83
Commit: cfaa40aa520b8e4b2010e7153bc1203ee13b2186
Parents: 999754b
Author: Kengo Seki <sekikn@gmail.com>
Authored: Fri Oct 16 09:00:28 2015 +0900
Committer: Allen Wittenauer <aw@apache.org>
Committed: Tue Oct 20 20:11:54 2015 -0700

----------------------------------------------------------------------
 dev-support/releasedocmaker.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/cfaa40aa/dev-support/releasedocmaker.py
----------------------------------------------------------------------
diff --git a/dev-support/releasedocmaker.py b/dev-support/releasedocmaker.py
index 586d4c2..ae3ce45 100755
--- a/dev-support/releasedocmaker.py
+++ b/dev-support/releasedocmaker.py
@@ -206,8 +206,10 @@ class Jira(object):
             field = self.parent.field_id_map['Release Note']
             if self.fields.has_key(field):
                 self.notes = mstr(self.fields[field])
-            else:
+            elif self.get_incompatible_change() or self.get_important():
                 self.notes = self.get_description()
+            else:
+                self.notes = ""
         return self.notes
 
     def get_priority(self):


Mime
View raw message