MCPcopy Create free account
hub / github.com/apache/burr / _generate_vote_email

Function _generate_vote_email

scripts/apache_release.py:747–791  ·  view source on GitHub ↗

Generate [VOTE] email template.

(version: str, rc_num: str, svn_url: str)

Source from the content-addressed store, hash-verified

745
746
747def _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
754Hi all,
755
756This is a call for a vote on releasing Apache {PROJECT_SHORT_NAME} {version_with_incubating},
757release candidate {rc_num}.
758
759The artifacts for this release candidate can be found at:
760{svn_url}
761
762The Git tag to be voted upon is:
763{tag}
764
765Release artifacts are signed with the release manager's GPG key. The KEYS file is available at:
766https://downloads.apache.org/incubator/{PROJECT_SHORT_NAME}/KEYS
767
768Please download, verify, and test the release candidate.
769
770For 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
772source archive.
773
774The vote will run for a minimum of 72 hours.
775Please 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
781Checklist 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
789On behalf of the Apache {PROJECT_SHORT_NAME} PPMC,
790[Your Name]
791"""
792
793
794# ============================================================================

Callers 1

cmd_allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected