A script to reduce the friction of manually processing release notes for PyTorch.
First, it opens the issue up in the browser and asks you to categorize it. Then, it processes the commit message and opens the final version in your editor of choice for manual edits. Finally, it saves the information to the output file in markdown format.
$ python process.py <input file> <output file> --editor <code editor name>
$ python process.py commits/jan21.txt jan21.md --editor vim
To add categories, check out the classes
variable in process.py
file.
Tip: If you open the file in github, you can see the "rendered" version of the output file without needing to install markdown.