yetus-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Yadava (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YETUS-430) Refactor releasedocmaker.py in separate modules
Date Tue, 02 Aug 2016 08:19:20 GMT

     [ https://issues.apache.org/jira/browse/YETUS-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ajay Yadava updated YETUS-430:
------------------------------
    Attachment: YETUS-430.01.patch

h5. Changes in -01.patch
- Removed _ prefix from parameters
- Renamed mstr to to_unicode
- Rebased the patch

h5. Testing done
Tested manually using the following command
{code}
python release-doc-maker/releasedocmaker.py -i --project=falcon --projecttitle="Apache Falcon"
-u --version 0.9 --version 0.10 -r -O /tmp/falcon-docs  --retries=5  --sortorder=desc --sorttype=issueid
{code}

> Refactor releasedocmaker.py in separate modules
> -----------------------------------------------
>
>                 Key: YETUS-430
>                 URL: https://issues.apache.org/jira/browse/YETUS-430
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Release Doc Maker
>            Reporter: Ajay Yadava
>            Assignee: Ajay Yadava
>         Attachments: YETUS-430.00.patch, YETUS-430.01.patch
>
>
> releasedocmaker.py has reached 993 lines in length. We have set the upper limit on number
of lines in a file to 1000 in .pylintrc.  New additions to the core functionality will make
it trip that line, so I propose to extract utility functions in a separate module. I hope
it will improve readability of the script as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message