Generate [VOTE] email template.
(version: str, rc_num: str, svn_url: str)
| 745 | |
| 746 | |
| 747 | def _generate_vote_email(version: str, rc_num: str, svn_url: str) -> str: |
| 748 | """Generate [VOTE] email template.""" |
| 749 | version_with_incubating = f"{version}-incubating" |
| 750 | tag = f"v{version}-incubating-RC{rc_num}" |
| 751 | |
| 752 | return f"""[VOTE] Release Apache {PROJECT_SHORT_NAME} {version_with_incubating} (RC{rc_num}) |
| 753 | |
| 754 | Hi all, |
| 755 | |
| 756 | This is a call for a vote on releasing Apache {PROJECT_SHORT_NAME} {version_with_incubating}, |
| 757 | release candidate {rc_num}. |
| 758 | |
| 759 | The artifacts for this release candidate can be found at: |
| 760 | {svn_url} |
| 761 | |
| 762 | The Git tag to be voted upon is: |
| 763 | {tag} |
| 764 | |
| 765 | Release artifacts are signed with the release manager's GPG key. The KEYS file is available at: |
| 766 | https://downloads.apache.org/incubator/{PROJECT_SHORT_NAME}/KEYS |
| 767 | |
| 768 | Please download, verify, and test the release candidate. |
| 769 | |
| 770 | For detailed step-by-step instructions on how to verify this release, please see the |
| 771 | "For Voters: Verifying a Release" section in the scripts/README.md file within the |
| 772 | source archive. |
| 773 | |
| 774 | The vote will run for a minimum of 72 hours. |
| 775 | Please vote: |
| 776 | |
| 777 | [ ] +1 Release this package as Apache {PROJECT_SHORT_NAME} {version_with_incubating} |
| 778 | [ ] +0 No opinion |
| 779 | [ ] -1 Do not release this package because... (reason required) |
| 780 | |
| 781 | Checklist for reference: |
| 782 | [ ] Download links are valid |
| 783 | [ ] Checksums and signatures are valid |
| 784 | [ ] LICENSE/NOTICE files exist |
| 785 | [ ] No unexpected binary files in source |
| 786 | [ ] All source files have ASF headers |
| 787 | [ ] Can compile from source |
| 788 | |
| 789 | On behalf of the Apache {PROJECT_SHORT_NAME} PPMC, |
| 790 | [Your Name] |
| 791 | """ |
| 792 | |
| 793 | |
| 794 | # ============================================================================ |