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

Allen Wittenauer commented on HADOOP-11723:
-------------------------------------------

bq. It looks like relnotes.py and changes.py share some common code, could we 
break it out into a little library?

Given that both are based on the original relnotes.py from eons ago, that 
shouldn't be too surprising. I think I'm just going to merge them into one.  No 
reason to make two calls to JIRA to pull the same info.

bq. optparse is deprecated in favor of argparse, could we switch over?

It requires the new-ish Python 2.7, which actually predates the majority of 
this code. (Thus highlighting why I advocate against using python in general; 
the language is still forming.  Plus, no switch/case statement? Barbarians all.)

bq. Related, in main() where the printing happens, this could be done with a 
foreach very concisely, something like:

The headers are different which would mean I'd end up with probably 2x the 
amount of code vs. the unrolled version.

> automate and markdownify changelog and release notes
> ----------------------------------------------------
>
>                 Key: HADOOP-11723
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11723
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>         Attachments: HADOOP-11723-00.patch
>
>
> Let's update our release process.



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

Reply via email to