Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PSDM uses Subversion (SVN) for the code management and versioning task. Currently, official LCLS code such as PSANA, PYANA, etc. is located in the Software Repository which is enabled to LCLS software development team only. For those users who would like to develop their own code, contribute to the LCLS project, and share their code with other user groups, there is a users' software repository,

...

Create your local release directory and set environment:

Code Block
cd <one-of-your-directories>

newrel ana-current rel-sxrmon<my-local-release-directory-name>
cd rel-sxrmon<my-local-release-directory-name>
sit_setup

Create package sub-directory with a few files:

Code Block
newpkg sxrmon<my-new-package-name>

Use the following command to create your own new package in SVN:

...

 

Code Block
svn commit -m "my message describing changes"

 

Difference Between userrepo and psdmrepo

Within local release directory the difference in creation of the package in userrepo is in additional "-u" option in two commands

Code Block
psvn -u newpkg <my-new-package-name>
addpkg -u <my-new-package-name>

All other commands are the same for userrepo and psdmrepo.

 

Repository Browsing

Repositories content can be viewed using URLs as follows

userrepo

 

psdmrepo

 

pcds

 

pdsrepo