|
EPICS under Vesta for Dummies |
|
Primer |
The EPICS configuration and database files at X25 are under the
Vesta
software configuration management. Vesta provides (i) version management, (ii) source control,
and (iii) a build and make process.
The Vesta service at X25 was implemented in 2004 by Bill Nolan and are now managed by Matt Cowan. Please see him with questions and for help with Vesta or visit this short Vesta Tutorial site. Vesta maintains an immutable and immortal repository file system from which one can checkout into work directories a copy of selected packages for source development. I.e. in the figure below, the x25 package of major/minor version 2/2 is shown checked out into the /vesta-work space. Note that the repository and the work space are distinct file systems.
In the workspace files are edited, created, and deleted in the usual ways. When changes are ready for testing, they are stored as minor versions in the repository as well as shipped to the appropriate computer (x25-h or 25-v) by invoking the vmake tool. Minor versions are numbered. The starting version 0 is an exact copy of the checked out package, and each vmake creates a new numbered version in the repository, 1 thru near infinity. Once a major development step is completed one can check in this latest versions to become a new major version. These are also numbered, typically 0 thru 10. The complete version number is then major/minor. By running vmake on old versions one can always recreate previous trusted code. Following are five recipes on how to go about changes to the EPICS stuff at X25. |
|
Recipe 1 Who has |
Before editing software, it is best to verify if a package is already checked out
into a working directory. For the X25 EPICS stuff this is done by visiting the
Vesta repository as follows:
|
|
Recipe 2 Checkout |
If vwhohas (see recipe 1) reports that the target package is not yet checked out into the users
/vesta-work directory fetch the latest version from the repository as follows:
|
|
Recipe 3 Change Code |
Checked out software packages (see recipes 1 or 2) are edited in the /vesta-work directories
and then pushed to the application server and the Vesta repository using vmake as follows:
|
|
Recipe 4 Restore Old |
Previous applications can be restored from the Vesta repository. The exact files, dependencies,
libraries, etc that were in use at that previous time will be used to recreate old applications.
|
|
Recipe 5 Checkin |
Occasionally, and following major systems development, stable new code should be checked
into the repository as a new major version. This archiving requires just one additional step,
vcheckin, in a sequence that is otherwise the same as the routine code changing in recipe 3.
|
![]() |
|
| Updated 10 May 2006 |
Security Notice
Webteam
Site Map
Bio
PXRR
NSLS
BNL
|