HANDE: Difference between revisions

From Thom Group Wiki
Jump to navigation Jump to search
(Document some tasks related to HANDE)
 
No edit summary
Line 8: Line 8:
<pre>
<pre>
git remote add github git@github.com:hande-qmc/hande
git remote add github git@github.com:hande-qmc/hande
git fetch github
git checkout -tb github-master github/master
git checkout -tb github-master github/master
git config remote.github.push github-master:master
git config remote.github.push github-master:master


git merge github/master --strategy=ours
git merge github/master --strategy=ours
git tag v1.2
git tag v1.3
git co -B github-master
git co -B github-master
git push
git push

Revision as of 11:08, 10 April 2018

Information about HANDE releases and suchlike.


Github releases

Releases are pushed to github approx. every 6 months. Merge the public branch into the private master to keep a single history:

git remote add github git@github.com:hande-qmc/hande
git fetch github
git checkout -tb github-master github/master
git config remote.github.push github-master:master

git merge github/master --strategy=ours
git tag v1.3
git co -B github-master
git push

(Remember to appropriately update the version information in environment_report.F90, and test benchmarks should also be regenerated prior to the release.)

In between releases, bug-fix commits from the private (development) repository are applied to the public branch (if the underlying bug is present in the public release):

git rebase --preserve-merges --onto github-master HEAD^ HEAD
git co -B github-master
git push


Buildbot

The tests are run nightly by buildbot. To update the configuration, edit

hande_master@zeeman.cmth.ph.ic.ac.uk:hande/master.cfg

Remember to restart the buildbot afterwards:

buildbot restart


Other relevant accounts are the account the slaves connect to by ssh: hande@zeeman, and the account the CUC3 buildslave runs on: jss43@hypatia. This latter may need the buildslave restarted each time hypatia is rebooted:

buildslave start


Website

The website uses rst and Nikola. The source on github. To update, edit the rst files (currently there is only a main page: to create others simply add more files to the pages/ folder), commit the changes and run

nikola github_deploy