Changes between Version 2 and Version 3 of SourceCode
- Timestamp:
- Jan 24, 2017, 5:54:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SourceCode
v2 v3 1 1 = Getting ChimeraX source code = 2 2 3 To get the ChimeraX source code from the git repository use 3 ChimeraX uses [https://git-scm.com/ git] for its revision control system. 4 4 5 {{{git clone ssh://plato.cgl.ucsf.edu/usr/local/projects/chimerax/git/chimerax}}} 5 == Configuring git == 6 6 7 The nightly build scripts are in a separate repository: 7 Git associates a user name and email address with all check-ins. The defaults are based on your USERNAME and your computer’s hostname. The email address is usually wrong. To explicitly set those values: 8 {{{ 9 git config --global user.name "Your Name" 10 git config --global user.email you@example.com 11 }}} 12 If you have multiple email addresses (or names) and multiple git repositories you are working on, you can set the values on a per-repository. 8 13 9 {{{git clone ssh://plato.cgl.ucsf.edu/usr/local/projects/chimerax/git/build_tools}}} 14 == Obtaining ChimeraX Source Code == 15 16 To get the ChimeraX source code from the git repository use: 17 {{{ 18 git clone --depth 1 --single-branch --branch develop plato.cgl.ucsf.edu:/usr/local/projects/chimerax/git/chimerax.git 19 }}} 20 For the full revision history, omit the {{{--depth 1}}} argument (and download many more Megabytes). 21 22 == Nightly Builds == 23 24 The nightly build scripts are in a separate repository because they contain private information (//e.g.//, code signing keys) and should not be shared with outside developers. If there is something, you'd like to make public, then it should be in the ChimeraX repository. 25 26 {{{ 27 git clone ssh://plato.cgl.ucsf.edu/usr/local/projects/chimerax/git/build_tools 28 }}}