How to branch the Annotation package repository

Branching 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.13 Annotations are around 113G.

These instructions use BioC 3.14 as the new devel version and nebbiolo2 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 nebbiolo2

Create new annotation repo on devel master builder (nebbiolo2)

ssh to nebbiolo2 as biocpush user
cd ~/PACKAGES/3.14/data
mkdir annotation

rsync annotations from current release

Because 3.13 used RPCI mablec2 and 3.14 used DFCI nebbiolo2, we could only rsync in one direction because of firewalls. It should work on either machine, in either direction in the future if under the same firewall.

Notes

  • Run with --dry-run first
  • Note the trailing slash / and dot .
# From malbec2 to nebbiolo2 (logged into malbec2):
cd ~/PACKAGES/3.13/data/annotation
rsync --dry-run -ave ssh . biocpush@nebbiolo2:PACKAGES/3.14/data/annotation/

Live Run if all looks correct

rsync -ave ssh . biocpush@nebbiolo2:PACKAGES/3.14/data/annotation/

Set up <master.bioconductor.org>

Log on master as webadmin

ssh [email protected]
sudo su - webadmin
cd /extra/www/bioc/packages/3.14/data/annotation

Products are sent to master from both nebbiolo2 and staging.bioconductor.org. Because of this, the rsync from nebbiolo2 to master is not from the top level; we want to leave the products deposited by staging.bioconductor.org untouched.

Create a new annotation folder

mkdir annotation

Back to nebbiolo2 to run the propagation scripts

  1. Remove any deprecated packages from the 3.13 annotation repo that should not be included in the devel 3.14 repo.

  2. 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.14/propagate-data-annotation-* log file.

  1. 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.

Update bioconductor.org/config.yaml to build landing pages for 3.14

Uncomment ‘data/annotation’:

devel_repos:
- "bioc"
- "data/experiment"
- "data/annotation"