Når alle features og bugfixes til et release er lavet, gøres følgende.
Opdater oversættelse (husk at redigerer configfil og enable oauth module)
$ bin/translation.php pull modules/janus/dictionaries/janus.translation.json
Lav ny branch med versionsnummer
$ svn copy https://janus-ssp.googlecode.com/svn/trunk/ https://janus-ssp.googlecode.com/svn/branches/v.x.x -m "Created v. x.x branch"
Skift til branch
$ svn switch https://janus-ssp.googlecode.com/svn/branches/v.x.x
Opdater og commit CHANGES (skal gøres både på branch og trunk)
$ svn log --stop-on-copy -r HEAD:{LATEST_TAG} https://janus-ssp.googlecode.com/svn/branches/v.X.X/
$ svn commit CHANGES -m "Updated CHANGES"
Update UPGRADE to accomodate the changes needed to be done in order to upgrade from latest version
$ svn commit UPGRADE -m "Updated UPGRADE"
Merge CHAGES and UPGRADE to trunk
$ svn switch https://janus-ssp.googlecode.com/svn/trunk
$ svn merge -r {BRANCH_REV}:HEAD https://janus-ssp.googlecode.com/svn/branches/v.x.x/CHANGES
$ svn merge -r {BRANCH_REV}:HEAD https://janus-ssp.googlecode.com/svn/branches/v.x.x/UPGRADE
$ svn commit CHANGES UPGRADE -m "Merged CHANGES and UPGRADE to trunk"
Update definition.json to reflect the new version.
$ svn switch https://janus-ssp.googlecode.com/svn/branches/v.x.x
$ svn commit definition.json -m "Updated definition.json"
$ svn switch https://janus-ssp.googlecode.com/svn/trunk
$ svn merge -r {BRANCH_REV}:HEAD https://janus-ssp.googlecode.com/svn/branches/v.x.x/definition.json
$ svn commit definition.json -m "Merged definition.json to trunk"
Tag releaset
$ svn copy https://janus-ssp.googlecode.com/svn/branches/v.x.x https://janus-ssp.googlecode.com/svn/tags/v.x.x.x -m "Tagged v. x.x.x"
Export taget til JANUS-versions diret
$ svn export http://janus-ssp.googlecode.com/svn/tags/v.x.x.x/ v.x.x.x
Pak dette dir sammen og kopier til lokal maskine
$ tar cvzf JANUS-v.x.x.x.tar.gz v.x.x.x/*
Upload til Google Code
$ scp jach@test.wayf.dk:/home/jach/JANUS-versions/JANUS-v.x.x.x.tar.gz .
Upload
Fjern gammelt download
Lav nyhed på JANUS siden, samt på google code
All commands are to be executed from the root of the SSP installation.
Translation config
$config = array (
'application' => 'JANUS',
'baseurl' => 'https://translation.rnd.feide.no/simplesaml',
'key' => 'xxx',
'secret' => 'xxx',
);
Upload new definition file
$ bin/translation.php push modules/janus/dictionaries/janus.definition.json
Download definition file
$ bin/translation.php pulldef modules/janus/dictionaries/janus.definition.json
Download translation file
$ bin/translation.php pull modules/janus/dictionaries/janus.translation.json