-
Notifications
You must be signed in to change notification settings - Fork 96
Upgrade from 2.2 to 2.3
In order to upgrade from Codebrag 2.2 to 2.3 you need to:
- Download and unpack new package
- Copy
data
andrepos
directores and yourcodebrag.conf
file - Run upgrade script
Ping us at [email protected] if you encounter any issues with the upgrade process. We will do our best to help you.
Note: Commands bellow assume you are on Linux.
Download the new package, unpack (keep the old installation):
wget http://codebrag.com/latest/codebrag.zip
unzip codebrag.zip
That should create directory codebrag-2.3
.
Stop the old Codebrag:
cd <old codebrag>
./codebrag.sh stop
and copy contents of data and repos directories and your codebrag.conf file to new Codebrag location:
cp -r <old codebrag>/data <old codebrag>/repos codebrag-2.3
cp <old codebrag>/codebrag.conf codebrag-2.3
repos directory should now contain clone of your repository. Please, do not clone additional repositories yet.
Watched branches
Since version 2.3 Codebrag lets you configure watched branches, i.e. the branches for which you want to receive notifications. After running the migration script, each user will be automatically watching the branches they have selected at the moment in each repository. If a user has not selected any branch, they will be automatically watching the master branch.
The watched branches can be changed later on, please refer to the installation instructions for details.
Run upgrade script from new Codebrag:
cd ../codebrag-2.3
./upgrade_22_23.sh
Finally, start Codebrag with:
./codebrag.sh start
That's it!
We hope you and your team will enjoy doing code reviews with Codebrag!