LArSoft

Logo

Software for Liquid Argon time projection chambers

View My GitHub Profile

Github Migration Plan

Prior to migration

Tasks for day of migration

Remove/rename the test instances of the larsoft repos on github (Patrick)

Create new larsoft repos (Patrick)

Run the trailing white-space script on the head of develop and commit the changes to the Redmine repo (Lynn)

Running the white-space script on pull-requests is sufficient. A campaign of pull requests to cleanup whitespace can happen after the migration.

Change the Redmine repos post-commit-hook script to only allow pushes to branches named feature/* (Lynn consulting with MarcM Kyle)

Clone the Redmine repos, truncate the history and push the appropriate tags and branches to github (Patrick)

ssh scisoftbuild01.fnal.gov
cd /scratch/gartung/srcs
mkdir working
cd working
eval $(ssh-agent)
ssh-add
kinit
/scratch/gartung/srcs/updateFBR

Cut mrb v3_05_00 and install it on cvmfs (Lynn)

Run the cms-bot scripts to set up the webhooks and PR labels for the larsoft repos (Patrick)

ssh gartung.fnal.gov
export GITHUBTOKEN=$(cat /web/sites/s/scd-ci.fnal.gov/data/FNALbuild-Github-personal-access-token)
cd cms-bot
./add-externals-gh-labels.py -n -u
./add-externals-gh-labels.py -u
./create-github-hooks -n -u
./create-github-hooks -u

Remove phrases with testing from wiki pages

https://cdcvs.fnal.gov/redmine/projects/larsoft/search?utf8=✓&scope=subprojects&wiki_pages=1&q=testing

Fallbacks

Issues with approval workflow (low risk)

Issues with some other major aspect of migration (low risk)