R utilities and documentation for Bioconductor release tasks.
ReleaseLaunch supports the Bioconductor core team during a release. It hosts the release checklist and step-by-step how-tos, and provides R functions that propagate a release to package repositories on GitHub, e.g., creating the RELEASE_X_Y branch from the Bioconductor git server and pushing it to the Bioconductor organization.
Installation
ReleaseLaunch is not distributed through Bioconductor. Install it from GitHub with:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("Bioconductor/ReleaseLaunch")Functions
| Task | Functions |
|---|---|
| Release version from the Bioconductor config |
bioc_version_yaml(), bioc_release_yaml()
|
Create RELEASE_X_Y branches on GitHub |
add_gh_release_branches(), add_gh_release_branch()
|
| Find repositories that need the release branch |
packages_without_release_branch(), packages_with_release_branch()
|
| List packages and GitHub repositories |
get_bioc_software_manifest(), get_org_packages(), get_org_github_repos(), get_user_github_repos()
|
| Clone or update local repositories |
sync_repos(), sync_repo(), update_local_repos(), update_local_repo()
|
Configure origin / upstream remotes |
set_bioc_remotes(), add_bioc_remote()
|
| Compile NEWS for the release announcement |
getPackagesNEWS(), printNEWS(), extractNEWS()
|
Usage
Functions that write to GitHub need a Personal Access Token (PAT) with access to the organization; see section F4 of the version bump and branch how-to. Store it with:
gitcreds::gitcreds_set()Add the release branch to all Bioconductor organization repositories that are Bioconductor packages and lack it (repositories are cloned into the current working directory):
library(ReleaseLaunch)
add_gh_release_branches(release = bioc_release_yaml(), org = "Bioconductor")or to a single package:
add_gh_release_branch(
package_name = "BiocParallel", release = bioc_release_yaml()
)Clone, or update, local copies of packages with GitHub as origin (when the repository exists there) and the Bioconductor git server as upstream:
sync_repos(c("S4Vectors", "IRanges"), dest_dir = "~/bioc", org = "Bioconductor")Contributing
Report issues at https://github.com/Bioconductor/ReleaseLaunch/issues.
