You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kouhei Sutou (JIRA)" <ji...@apache.org> on 2018/10/05 00:56:00 UTC

[jira] [Commented] (ARROW-3438) [Packaging] Escaped bulletpoints in changelog

    [ https://issues.apache.org/jira/browse/ARROW-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16639110#comment-16639110 ] 

Kouhei Sutou commented on ARROW-3438:
-------------------------------------

I used {{dev/release/00-prepare.sh}} that uses {{dev/release/changelog.py}}.

There is a bug in {{changelog.py}}:

{code:diff}
diff --git a/dev/release/changelog.py b/dev/release/changelog.py
old mode 100644
new mode 100755
index 415542fe..9fca8cdf
--- a/dev/release/changelog.py
+++ b/dev/release/changelog.py
@@ -109,7 +109,7 @@ def format_changelog_website(issues, out):
         issue_group = issues_by_category[issue_category]
         issue_group.sort(key=lambda x: x.key)
 
-        out.write('## {0}\n\n'.format(issue_category))
+        out.write('## {0}\n\n'.format(_escape_for_markdown(issue_category)))
         for issue in issue_group:
             name = LINK_TEMPLATE.format(issue.key)
             markdown_summary = _escape_for_markdown(issue.fields.summary)
@@ -146,8 +146,7 @@ def append_changelog(version, changelog_path):
     print('# Apache Arrow {0} ({1})'.format(version, today),
           end='', file=result)
     print('\n', file=result)
-    print(_escape_for_markdown(new_changelog),
-          end='', file=result)
+    print(new_changelog, end='', file=result)
 
     # Prior versions
     print(''.join(old_changelog[19:]), file=result)
{code}

> [Packaging] Escaped bulletpoints in changelog
> ---------------------------------------------
>
>                 Key: ARROW-3438
>                 URL: https://issues.apache.org/jira/browse/ARROW-3438
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Krisztian Szucs
>            Assignee: Krisztian Szucs
>            Priority: Minor
>
> See https://github.com/apache/arrow/blob/7940ffe559810fec82cb2fbb0b13f5809cb5fe85/CHANGELOG.md



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)