You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/08/21 23:06:00 UTC

[jira] [Commented] (ARROW-3786) Enable merge_arrow_pr.py script to run in non-English JIRA accounts.

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

Wes McKinney commented on ARROW-3786:
-------------------------------------

[~srowen] do you have any advice from Apache Spark since you use a similar PR merge script? Is it possible to override the user's locale when making REST calls?

> Enable merge_arrow_pr.py script to run in non-English JIRA accounts.
> --------------------------------------------------------------------
>
>                 Key: ARROW-3786
>                 URL: https://issues.apache.org/jira/browse/ARROW-3786
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Developer Tools
>            Reporter: Yosuke Shiro
>            Priority: Minor
>
> I read [https://github.com/apache/arrow/tree/master/dev#arrow-developer-scripts]
>  
> I did the following instruction.
> {code:java}
> dev/merge_arrow_pr.py{code}
> I got the following result.
> {code:java}
> Would you like to update the associated JIRA? (y/n): y
> Enter comma-separated fix version(s) [0.12.0]:
> === JIRA ARROW-3748 ===
> summary         [GLib] Add GArrowCSVReader
> assignee        Kouhei Sutou
> status          オープン
> url             https://issues.apache.org/jira/browse/ARROW-3748
>  
> list index out of range{code}
>  
> It looks like an error on [https://github.com/apache/arrow/blob/master/dev/merge_arrow_pr.py#L181] .
> My JIRA account language is Japanese.
> This script does not seem to work if it is not English.
> {code:java}
> print(self.jira_con.transitions(self.jira_id))
> [{'id': '701', 'name': '課題のクローズ', 'to': {'self': 'https://issues.apache.org/jira/rest/api/2/status/6';, 'description': '課題の検 討が終了し、解決方法が正しいことを表します。クローズした課題は再オープンすることができます。', 'iconUrl': 'https://issues.apache.org/jira/images/icons/statuses/closed.png';, 'name': 'クローズ', 'id': '6', 'statusCategory': {'self': 'https://issues.apache.org/jira/rest/api/2/statuscategory/3';, 'id': 3, 'key': 'done', 'colorName': 'green', 'name': '完了'}}}, {'id': '3', 'name': '課題を再オープンする', 'to': {'self': 'https://issues.apache.org/jira/rest/api/2/status/4';, 'description': '課題が一度解決されたが解決に間違いがあったと見なされ たことを表します。ここから課題を割り当て済みにするか解決済みに設定できます。', 'iconUrl': 'https://issues.apache.org/jira/images/icons/statuses/reopened.png';, 'name': '再オープン', 'id': '4', 'statusCategory': {'self': 'https://issues.apache.org/jira/rest/api/2/statuscategory/2';, 'id': 2, 'key': 'new', 'colorName': 'blue-gray', 'name': 'To Do'}}}]{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)