Difference between revisions of "Code repositories"

From MCEWiki
Line 1: Line 1:
[[MAS]] and [[MCE script]] are housed in separate Subversion (SVN) repositories on <tt>e-mode.phas.ubc.ca</tt>, accessible from anywhere on the internet.  The core MAS repository is called '''mas'''.  The MCE script repository is called '''mce_script'''.
+
Various UBC software, such as [[MAS]] and [[MCE script]], are housed in separate Subversion (SVN) repositories on <tt>e-mode.phas.ubc.ca</tt>, accessible from anywhere on the internet.
  
To check out the code you will need a SVN user id (and password).  Read-only access to '''mas/trunk''' and '''mce_script/trunk''' is available through the general-purpose, semi-anonymous account '''mceanon'''.  Contact UBC for password details.
+
To check out the code you will need a SVN user id (and password).  Read-only access is available through the general-purpose, semi-anonymous account '''mceanon'''.  Contact UBC for password details.
  
Per-experiment read-only accounts can also be requested for experiment-specific access to other parts of the repositories (e.g. the per-experiment branches of mce_config). Committing to the repository requires a personal account.  For account information, contact UBC.
+
Per-experiment read-only accounts can also be requested for experiment-specific access to other parts of the repositories (e.g. the per-experiment branches of mce_script). Committing to the repository requires a personal account.  For account information, contact UBC.
  
 
== MAS ==
 
== MAS ==
Line 11: Line 11:
 
MAS uses the GNU autotools for a bit of configuration work. You should checkout MAS into a user source folder somewhere:
 
MAS uses the GNU autotools for a bit of configuration work. You should checkout MAS into a user source folder somewhere:
  
cd src/
 
 
  svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/mas/trunk mas
 
  svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/mas/trunk mas
  
Line 24: Line 23:
 
To check out MCE script:
 
To check out MCE script:
  
cd src/
 
 
  svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/mce_script/trunk mce_script
 
  svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/mce_script/trunk mce_script
  
 
See [[MAS OS setup]] for information on how to build and install MCE Script.
 
See [[MAS OS setup]] for information on how to build and install MCE Script.
  
[[Category:Software]]
+
== Sync Box Firmware ==
 +
 
 +
If you want to hack on the [[Sync Box Firmware]], it, too, is in this repository (both CPLD and Atmel code).
 +
 
 +
To check out the Sync Box Firmware:
 +
 
 +
svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/sync_box/trunk sync_box
 +
 
 +
[[Category:MAS]]
 +
[[Category:MCE Script]]
 +
[[Category:Sync Box Firmware]]

Revision as of 19:09, 31 August 2016

Various UBC software, such as MAS and MCE script, are housed in separate Subversion (SVN) repositories on e-mode.phas.ubc.ca, accessible from anywhere on the internet.

To check out the code you will need a SVN user id (and password). Read-only access is available through the general-purpose, semi-anonymous account mceanon. Contact UBC for password details.

Per-experiment read-only accounts can also be requested for experiment-specific access to other parts of the repositories (e.g. the per-experiment branches of mce_script). Committing to the repository requires a personal account. For account information, contact UBC.

MAS

Everyone should be using mas/trunk these days. (In the past we suggested branching the MAS repository on a per-experiment basis but MAS is now stable enough that this is no longer necessary.) Only mas/trunk is currently maintained for Ubuntu 12.04, 14.04, and 16.04.

MAS uses the GNU autotools for a bit of configuration work. You should checkout MAS into a user source folder somewhere:

svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/mas/trunk mas

See MAS OS setup for information on how to build and install MAS.

MCE Script

Everyone should be using mce_script/trunk these days. (In the past we suggested branching mce_script on a per-experiment basis but MCE Script is now stable enough that this is no longer mecessary.)

We also now suggest people check mce_script in a user source folder somewhere, and install it into /usr/mce/mce_script (or wherever they want the public copy to go) using the supplied Makefile. (In the past checking out mce_script directly into /usr/mce was suggested).

To check out MCE script:

svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/mce_script/trunk mce_script

See MAS OS setup for information on how to build and install MCE Script.

Sync Box Firmware

If you want to hack on the Sync Box Firmware, it, too, is in this repository (both CPLD and Atmel code).

To check out the Sync Box Firmware:

svn checkout --username=mceanon svn://e-mode.phas.ubc.ca/sync_box/trunk sync_box