How to branch the Annotation package repository
Bioconductor Maintainer
November 30, 2026
Source:vignettes/Branch-annotation-repo-HOWTO.Rmd
Branch-annotation-repo-HOWTO.RmdBranching Annotation
The document describes how to branch the annotation repository for a new release. This can be done the day of the release or several days after.
Before branching, Check and make sure there is enough room on master for the annotations. If there isn’t enough room follow the guidelines for moving old Bioconductor releases into S3 As of release 3.22 Annotations are around 90G. See also inst/script/tempS3 for commands to migrate packages to S3. See also playbook for moving release to OSN: https://github.com/bioconductor/archive-sync. The live backup for legacy releases is OSN but we continue to backup both as we switch to S3 if OSN goes down.
These instructions use BioC 3.23 as the new devel version and nebbiolo1 as the devel master builder.
As of 3.14, the linux builders have moved to DFCI in Boston. Personal accounts and the jump account should be set up for access.
Set up nebbiolo1
rsync annotations from current release
In this case the current release will be on nebbiolo2
Notes
- Run with
--dry-runfirst - Note the trailing slash
/and dot.
# From nebbiolo2 to nebbiolo1 (logged into nebbiolo2):
cd ~/PACKAGES/3.22/data/annotation
rsync --dry-run -ave ssh . biocpush@nebbiolo1:PACKAGES/3.23/data/annotation/Live Run if all looks correct
Remove symlinks for old R versions for windows and mac on new devel
There may be symlinks in the windows and macosx folders. These will only be present when the new version of BioC uses a new version of R which happens every other version of BioC. If they are present, they will look something like this:
~/PACKAGES/3.7/data/annotation/bin/windows/contrib/3.5 -> 3.4
~/PACKAGES/3.7/data/annotation/bin/macosx/contrib/3.5 -> 3.4Remove the symlinks and rename the folder with content to the version of R being used by devel e.g.,
The PACKAGES and PACKAGES.gz files are empty. They are needed for install.packages() even though we don’t have binaries for annotations.
A rerun of the rsync command should only show changes in
the files we just edited:
Set up <master.bioconductor.org>
Log on master as webadmin
Navigate to the new devel repo
ssh ubuntu@master.biocondcutor.org
sudo su - webadmin
cd /extra/www/bioc/packages/3.23/data/annotationProducts are sent to master from both nebbiolo1 and staging.bioconductor.org. Because of this, the rsync from nebbiolo1 to master is not from the top level; we want to leave the products deposited by staging.bioconductor.org untouched.
Remove symlink and create empty annotation folder
There will likely be a simlink at
pointing to the current release annotation repo. In recent years, the symlinks have appeared underneath an already created annotation repostiory. The point is to start with a non-linked empty annotation folder. Remove annotation and recreate:
Back to nebbiolo1 to run the propagation scripts
Remove any deprecated packages from the 3.22 annotation repo that should not be included in the devel 3.23 repo.
Update and run cronjob by hand (should be commented out).
Symlink must be gone on master before running this!!
Run the crontab entry by hand. Monitor ~/cron.log/3.23/propagate-data-annotation-* log file.
- Test BiocManager::install() to see if it finds the new repo. Try installing a package that should be found and try installing a removed package that should fail.