...
Info |
---|
If there are sudden unexplained errors in your program, it is possible that one of these libraries was updated. In most cases, all you'll need is a git pull from the relevant repo. LCLS Tools specifically also needs the pip upgrade |
Porting to Production
Once you're happy with whatever program you're working on and think that it's ready (and safe) to run on production, you can connect your GitHub repo
Setup
- ssh into srv01 and activate your own profile
- make a directory with the desired name (this isn't a clone so it doesn't make the directory for you)
- navigate to that directory and run
git init
- run
~/zacarias/utils/linkRepoToGithub/link_repo_to_github.sh -i
and follow the prompts - run
git pull origin main
and all of the files should now be there
Updating
- If you know where in AFS you connected your repo (setup step 4) skip to step 2 otherwise navigate to your production repository and run
git remote -v
to see where origin is- It will look something like
ssh:///[path to remote]
- It will look something like
- ssh into an AFS machine that has internet connectivity
- navigate to the repo found in step 1
- run
git --bare fetch origin main:main
- ssh to lcls-srv01 using your own profile
- navigate back to your production repo and run
git pull origin main
Related Articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...