THIS PROJECT IS OBSOLETE. PLEASE SEE https://github.com/imagej/ImageJ
Polls the ImageJ 1.x notes.html page once a day. When changes are detected:
- the updated notes are committed to ImageJA's 'imagej' branch
- the ImageJA's 'master' branch is updated
- build is deployed to Nexus
Synchronization from IJ1 > IJA is done with the sync-with-imagej.sh
script. Of particular interest is the file manipulation logic. This behavior is both nebulous and automated, so it can be helpful to manually test translation before changes go live.
- Switch to the
dev/testing
branch:git checkout dev/testing
- Clone the ImageJA repo:
git clone https://github.com/imagej/ImageJA.git
- Move to the IJA subdir:
cd ImageJA
- Add the ImageJ1 remote:
git remote add ij1 https://github.com/imagej/imagej1.git
- Fetch the IJ1 repo:
git fetch ij1
- Create the imagej branch:
git checkout -b imagej
- Set tracking:
git branch --set-upstream-to ij1/master && git reset --hard ij1/master
- Return to the ImageJA branch:
git checkout master
At this point you will have a master
branch pointing to ImageJA and an imagej
branch pointing to IJ1. From master
you can run the sync-with-imagej.sh
script in this repo to convert the state of imagej
to master
.
If you want to change the starting point of the master
branch you can git reset --hard tagname
where tagname
is an imagej release, e.g. v1.53e
.
If you want to change the sync point of the imagej
branch you'll have to look through the commits, e.g. for release v1.53e
and reset to that commit.
Remember to port any changes to sync-with-imagej.sh
back to the ij1-builds
master
branch.