...
- Change directory to your local sandbox
- Use eco to checkout software from cvs, or do it manually cvs co -d <directory> <module name>name>
- modify software
- if applicable, build your application to verify that the build is successfully.
- test your changes in developmentif possible test your changes in production
- if ready to , commit your changes to CVS, edit making sure to edit the RELEASE_NOTES file to prepare for the tagged NOTES describing the changes made
- Tag your release.
- Use cram push your application to production
Step 3: Importing new software into CVS:
...
Step 8: Backout out a Release
- cd $EPICS_IOCS/<nodename>
- for hard iocs: mv startup.cmd to st.cmd_new and ~mv red:startup.cmd_bck startup.cmd~
- for soft iocs: mv st.cmd to st.cmd_new and mv st.cmd_bck to st.cmd
- Reboot your ioc.
- Send a message to controls-software-release.
- Ask ops permission to back out you release
- Send a message to the MCC E-log
- From lcls-dev2, use CRAM to backout your release. Note: From lcls-dev2, type cram --revert or cram --upgrade for help
- Reboot your ioc from the production network panel.
Step 9: Preliminary checkout in Production
Check for duplicate PV usng dupePVs.bashStep 9: Before Exporting Software to Production System
Check duplicate PV before exporting software to production system
for ALL iocs: use the dupePVs.bash iocname
Examples:
1) get usage
dupePVs.bash -h
2) check all iocs found in $IOC
dupePVs.bash
3) check all eioc's
dupePVs.bash eioc
4) check all iocs with mg in the name
dupePVs.bash mg
5) check all soft magnet IOCs
dupePVs.bash sioc-.*-mg01
Step 10: Exporting Software to Production System
...
You are ready to export your softwthe production host, opi00gtw03software to production.
From lcls-prod02:
- ssh iocegr@lcls-builder or ssh physics@lcls-srv01
- export CVSROOT=:ext:luchini@lcls-prod02:/afs/slac/g/lcls/cvs
...
dev2:
- If your application is CRAMmed:
- cd to TOP of your Application
- cram push
- Otherwise,
- ssh to the production machine shared account, may need to hope to lcls-prod02 first.
For EPICS IOC applications:
- cd $EPICS_IOC_TOP/<subsystem><Application>
- eco
m Lasercvs co -d Laser-R1-0-0 0 -r d Laser-R1-0-0 Lasercd Laser-R1-0-0/configure
Edit RELEASE file and replace path /afs/slac/g/lcls with /user/local/lcls/
...