Branch-annotation-repo-HOWTO.Rmd
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.21 Annotations are around 89G. 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.22 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.
In this case the current release will be on nebbiolo1
Notes
--dry-run
first/
and dot .
# From nebbiolo1 to nebbiolo2 (logged into nebbiolo1):
cd ~/PACKAGES/3.21/data/annotation
rsync --dry-run -ave ssh . biocpush@nebbiolo2:PACKAGES/3.22/data/annotation/
Live Run if all looks correct
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.4
Remove 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:
Navigate to the new devel repo
ssh ubuntu@master.biocondcutor.org
sudo su - webadmin
cd /extra/www/bioc/packages/3.22/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.
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:
Remove any deprecated packages from the 3.21 annotation repo that should not be included in the devel 3.22 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.22/propagate-data-annotation-* log file.