Difference between revisions of "Code repositories"

From MCEWiki
 
 
(28 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Currently, the MAS repository is on gamow, and only accessible from within physics.
+
The MCE software is available on GitHub in several repositories:
  
There are separate repositories for core MAS (driver + libraries + command line applications) and user applications (squid tuning, file management scripts, idl scripts).
+
:<span style="font-size:large">https://github.com/multi-channel-electronics</span>
  
Core MAS repository is called "mas".
+
The most common things you'll need are:
 +
* the [[MAS]] code here: https://github.com/multi-channel-electronics/mas
 +
** MAS uses the GNU autotools for a bit of configuration work.
 +
* the [[MCE script]]s here: https://github.com/multi-channel-electronics/mce_script
 +
See [[MAS OS setup]] for information on how to build and install these packages.
  
User MAS repository is called "mce_script". This has 3 parts:
+
Also available:
 +
* [[Sync box firmware]]: https://github.com/multi-channel-electronics/sync_box
 +
** both CPLD and Atmel code are available
 +
* [[PCI card firmware]]: https://github.com/multi-channel-electronics/arc_pci
  
{| border=1
+
== What about card firmware? ==
! Folder !! Purpose
 
|-
 
| script  || shell scripts, wrappers for mce_cmd and dsp_cmd
 
|-
 
| idl_pro || idl scripts
 
|-
 
| src    || compilable code projects
 
|}
 
  
The main branch is called "trunk"This means that to check out the main-line scripts folder, use the svn command
+
That's still in a CVS respository somewhere at UBCAsk us for it.
  
svn checkout --username <user> --password <pass> svn://gamow.phas.ubc.ca/mce_script/trunk/script <destination folder>
+
[[Category:MAS]]
 
+
[[Category:MCE Script]]
To checkout the entire mas source tree (trunk + branches)
+
[[Category:Sync Box Firmware]]
svn checkout svn://localhost/mas
 
 
 
 
 
NOTE! To use SVN on foreign (non-UBC) machines, you must use ssh to port-forward (tunnel) the svn connections to gamow, which is protected.  This is done like this:
 
 
 
ssh mhasse@phas.ubc.ca -N -L 3690:gamow.phas.ubc.ca:3690
 
 
 
You can replace "mhasse@phas.ubc.ca" with your username@any machine behind the physics firewall that you have access to.  This command will ask for your password, and then remain open.  As long as this command is running, you can do svn operations using the address "svn://localhost/..." and they will be redirected to gamow.
 

Latest revision as of 19:21, 16 November 2021

The MCE software is available on GitHub in several repositories:

https://github.com/multi-channel-electronics

The most common things you'll need are:

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

Also available:

What about card firmware?

That's still in a CVS respository somewhere at UBC. Ask us for it.